Adds stasis beds
This commit is contained in:
@@ -484,3 +484,5 @@ GLOBAL_LIST_EMPTY(species_datums)
|
||||
|
||||
//check if the person is dead, not sure where to put this
|
||||
#define IS_DEAD_OR_INCAP(source) (source.incapacitated() || source.stat)
|
||||
|
||||
#define IS_IN_STASIS(mob) (mob.has_status_effect(/datum/status_effect/grouped/stasis))
|
||||
|
||||
@@ -75,10 +75,8 @@ GLOBAL_VAR_INIT(rollovercheck_last_timeofday, 0)
|
||||
/proc/daysSince(realtimev)
|
||||
return round((world.realtime - realtimev) / (24 HOURS))
|
||||
|
||||
/proc/worldtime2text()
|
||||
return gameTimestamp("hh:mm:ss", world.time)
|
||||
/proc/worldtime2text(wtime = world.timeofday)
|
||||
return gameTimestamp("hh:mm:ss", wtime)
|
||||
|
||||
/proc/gameTimestamp(format = "hh:mm:ss", wtime=null)
|
||||
if(!wtime)
|
||||
wtime = world.time
|
||||
/proc/gameTimestamp(format = "hh:mm:ss", wtime=world.time)
|
||||
return time2text(wtime - GLOB.timezoneOffset, format)
|
||||
|
||||
Reference in New Issue
Block a user