vgstation13
vgstation13 copied to clipboard
Big moody light update
[content][sprites]
What this does
Adds moody lights to the following:
-
Vents, scrubbers, pipe meters,do not display nice as floor stuff with things over it, so just heaters and freezers - Canisters
- SMES
- Virology incubators, centrifuges and disease analysers
- The nuke
- Light tubes and bulbs
- Microwaves
- Crates and lockers (also does a lot of duplicate code and sprite cutdown as a lot of stuff was converted to overlays in the process of adding this)
(note: vents, scrubbers and meters are not actually moody lighted as seen above, these pictures were taken before their removal, but can still be re-enabled in the code by uncommenting the relevant lines)
Closes #36992. Refactors the proc for adding moody lights so that it doesn't need to pass an icon file, instead checks one defined on the atom. Icon state has also now been made optional, with a choice to use one defined as a var on an atom or pass a custom one (defaults to the atom icon state if neither are provided)
Why it's good
lets people find more things in the dark, most importantly THE NUKE
How it was tested
viewing the items in game and interacting with them, including emagging crates and lockers
Changelog
:cl:
- rscadd: Heaters, freezers, canisters, SMES units, the other virology machines, the nuke, light tubes, light bulbs, microwaves, crates and lockers now have moody lighting!