Skip to content

Spider edits - Queen upper limit

Rob Nelson requested to merge pull/13711/spider_queen_limit into Bleeding-Edge

Created by: Skullyton

Fixes #8578 (closed)

After a bit of research, I found that it wasn't spider nurses evolving into queens, but spiderlings evolving straight into queens.

The way it was done was making a global list of all spider types, said global list was only accessed in one file that wasn't where it was even declared, and had no way to filter it out (So, you'd have spiderlings become salk the spiderling, or some strange subtype of spider hunter that spawned dead)

So, I changed it from a global to a local associated with spiderlings, and added the basic giant spider types it should evolve into, which gave me a greater degree of control over what spawns.

With that, I added a global list of all spider queens in existence, added to when a spider queen spawns, removed from when a spider queen is destroyed. This list is then used in the life() of spider nurses who will evolve into a queen should the number of queens fall under the define of 5 natural spider queens at maximum.

🆑

  • rscadd: Adds static upper limit for active spider queens

Merge request reports