mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-28 10:01:58 +00:00
`/turf`, `/turf/open`, `/turf/open/space`, `/obj` should now no longer have an `init[]` proc in byond. This mostly abuses the fact that `for (var/thing in null)` works exactly the same as `for (var/thing in emptylist)` `atmos_adjacent_turfs` is lazy init'ed and set back to null when empty. `GetAtmosAdjacentTurfs()` will always return a list for code that doesn't want to care. `atmos_overlay_types`, and `proximity_checkers` lazy init and reset back to null when empty. `armor` is now init'ed in `/obj`'s `New()` if it's blank. This could also be set to some lazy init system if somebody is feeling masochistic enough. `/obj`s that both don't call parent in `New()` and don't set their own armor will have a null armor list. This might cause bugs so this change may get removed if that becomes an issue. Minor slightly unrelated change that made doing this change easier, `add_overlay()` now *technically* works properly if given a list