-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terror spider spawn refactor #957
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Есть ряд предложений
Co-authored-by: Mikhail Dzianishchyts <[email protected]>
Co-authored-by: Mikhail Dzianishchyts <[email protected]>
Co-authored-by: Mikhail Dzianishchyts <[email protected]>
Co-authored-by: Mikhail Dzianishchyts <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Нужно выкатить на тестмердж
#define TERROR_GREEN /mob/living/simple_animal/hostile/poison/terror_spider/green | ||
#define TERROR_WHITE /mob/living/simple_animal/hostile/poison/terror_spider/prince | ||
#define TERROR_PRINCESS /mob/living/simple_animal/hostile/poison/terror_spider/queen/princess | ||
#define TERROR_PRINCE /mob/living/simple_animal/hostile/poison/terror_spider/prince | ||
#define TERROR_QUEEN /mob/living/simple_animal/hostile/poison/terror_spider/queen | ||
|
||
/datum/event/spider_terror | ||
announceWhen = 240 | ||
var/population_factor = 0.7 // higher - more spawnpoints | ||
spawncount = 0 // amount of spawned spiders | ||
var/spawnpoints = TS_POINTS_GREEN // weight points | ||
/// lists for matching spiders and their weights | ||
var/list/spider_types = list("TERROR_GREEN" = TERROR_GREEN, "TERROR_WHITE" = TERROR_WHITE, "TERROR_PRINCESS" = TERROR_PRINCESS, "TERROR_PRINCE" = TERROR_PRINCE, "TERROR_QUEEN" = TERROR_QUEEN) | ||
var/list/spider_costs = list("TERROR_GREEN" = TS_POINTS_GREEN, "TERROR_WHITE" = TS_POINTS_WHITE, "TERROR_PRINCESS" = TS_POINTS_PRINCESS, "TERROR_PRINCE" = TS_POINTS_PRINCE, "TERROR_QUEEN" = TS_POINTS_QUEEN) | ||
var/list/spider_counts = list("TERROR_GREEN" = 0, "TERROR_WHITE" = 0, "TERROR_PRINCESS" = 0, "TERROR_PRINCE" = 0, "TERROR_QUEEN" = 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Убери дефайны и сделай список, каждое значение - с новой строки.
Долго оно в ТМе? |
Месяц точно |
Что этот PR делает
Новая логика для спавна пауков террора. Теперь можно более гибко настраивать численность пауков при спавне.
Почему это хорошо для игры
Легче подкрутить баланс
Изображения изменений
Тестирование
Пауки спавнятся. Для более точных тестов нужен онлайн.
Changelog
🆑
experiment: Новый алгоритм спавна пауков террора
/:cl: