Files
Polaris/code/game/turfs/unsimulated.dm
MistakeNot4892 b22a0568a3 Sideports a couple of init unit tests from Neb. (#7893)
* Sideports a couple of init unit tests from Neb.

* Trying to unfuck initialize logic.

* Removing del()s.

* Adjusting return values to Initialize().

* Moving some dangerous object logic from obj onto the two types that use it.

* Rolling back some init changes and commenting out initialized atom unit test.

* this comment formatting is a minor war crime

* Removed sleep() from signaler circuit Initialize().

* Additional Init fixes post-rebase.

* Uncomments subsystem test since that's passing.
2021-02-21 12:03:34 -09:00

19 lines
572 B
Plaintext

/turf/unsimulated
name = "command"
oxygen = MOLES_O2STANDARD
nitrogen = MOLES_N2STANDARD
var/skip_init = TRUE // Don't call down the chain, apparently for performance when loading maps at runtime.
/turf/unsimulated/Initialize(mapload)
if(skip_init)
initialized = TRUE
return INITIALIZE_HINT_NORMAL
. = ..()
// Better nip this just in case.
/turf/unsimulated/rcd_values(mob/living/user, obj/item/weapon/rcd/the_rcd, passed_mode)
return FALSE
/turf/unsimulated/rcd_act(mob/living/user, obj/item/weapon/rcd/the_rcd, passed_mode)
return FALSE