Files
Bubberstation/code/controllers/subsystem
Jacquerel a99c163d7b Mice and Regal Rats won't spawn in the icebox solar panels (#73388)
## About The Pull Request

Fixes #73238

This adds a temperature check to the turf locator in the mice migration
event.
Also it refactors the check a bit because its loop seemed... odd? If
there was some reason the old version was more efficient let me know but
I can't see a purpose to do it that way around.
Also then the same numbers were being used in 3 separate files so I
moved it into a define.
_Finally_ I removed a redundant element from the cockroach while I was
looking at the files.

There was a moment when I started looking at this where I thought "I
should add a generic helper proc which is given a turf and a mob and can
tell you if it would die if it spawned on that turf".
Then I looked at lungs and immediately decided that was going to be a
massive amount of work for this trivial bug fix... maybe one day.

## Why It's Good For The Game

This was sparing mappers from the punishment whoever added this feature
surely intended for them to suffer.
Also it's just a bit sad to notify ghosts to join a ghost role which
will die instantly 😢

## Changelog

🆑
fix: Mice and Regal Rats will no longer spawn in icebox's solar panels
and die of cold.
/🆑
2023-02-14 21:36:56 -07:00
..
2022-11-15 03:50:11 +00:00
2023-01-26 00:25:16 -08:00
2022-11-15 03:50:11 +00:00
2022-11-15 03:50:11 +00:00
2022-06-24 20:10:16 -05:00
2022-07-24 16:18:59 +01:00
2022-11-20 23:18:30 -08:00
2022-10-18 02:12:31 +00:00
2022-11-15 03:50:11 +00:00
2022-11-15 03:50:11 +00:00
2022-11-15 03:50:11 +00:00
2022-11-15 03:50:11 +00:00