mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-20 22:56:43 +01:00
- moves stuff to more sane places so modules folder isn't so messy - adds a world system that is the start of being able to data-define world locations and having the game act differently based on which location a map is in there's no ability to separate 'pre-load map' (and a way for persistence to inject this so we can have moving maps yet) but we can add it in later since things are decently abstracted.
16 lines
431 B
Plaintext
16 lines
431 B
Plaintext
/datum/unit_test/space_suffocation
|
|
var/startOxyloss
|
|
var/endOxyloss
|
|
var/mob/living/carbon/human/H
|
|
|
|
/datum/unit_test/space_suffocation/Run()
|
|
var/turf/space/T = locate()
|
|
|
|
H = allocate(/mob/living/carbon/human, T)
|
|
startOxyloss = H.getOxyLoss()
|
|
sleep(10 SECONDS)
|
|
endOxyloss = H.getOxyLoss()
|
|
|
|
if(startOxyloss >= endOxyloss)
|
|
Fail("Human mob is not taking oxygen damage in space. (Before: [startOxyloss]; after: [endOxyloss])")
|