Skip to content

Changes how zombie spawn types are calculated#18525

Merged
TiviPlus merged 4 commits intotgstation:masterfrom
Lumipharon:zombie_spawn_rework
Dec 14, 2025
Merged

Changes how zombie spawn types are calculated#18525
TiviPlus merged 4 commits intotgstation:masterfrom
Lumipharon:zombie_spawn_rework

Conversation

@Lumipharon
Copy link
Contributor

@Lumipharon Lumipharon commented Dec 9, 2025

About The Pull Request

Changes how spawners work to support nested lists to better manage scenarios where you want a fixed probability of a group of options, while still making it easy to tweak the probabilities inside said group.
i.e. common/uncommon/rare spawns etc.

Zombies now have a 95% common spawn chance, and a 5% for special spawns.

Why It's Good For The Game

Easier to manage code.

Changelog

🆑
code: Spawners support lists of lists for spawntypes
/:cl:

@github-actions github-actions bot added the Code Improvement Changes for adhering to code standards and codebase maintainability. label Dec 9, 2025
@mudzbe
Copy link
Contributor

mudzbe commented Dec 9, 2025

9% to 2% seems a bit much

@TiviPlus TiviPlus merged commit 383f8ba into tgstation:master Dec 14, 2025
43 checks passed
github-actions bot added a commit that referenced this pull request Dec 14, 2025
@Lumipharon Lumipharon deleted the zombie_spawn_rework branch January 13, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code Improvement Changes for adhering to code standards and codebase maintainability.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants