mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
- Added rand() to the NTSL list of functions.
- Re-added intercoms for the pods and an intercom in the shuttle's public area. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5680 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -94,6 +94,10 @@
|
||||
/proc/delay(var/time)
|
||||
sleep(time)
|
||||
|
||||
// Clone of rand()
|
||||
/proc/rand_chance(var/low = 0, var/high)
|
||||
return rand(low, high)
|
||||
|
||||
// Clone of prob()
|
||||
/proc/prob_chance(var/chance)
|
||||
return prob(chance)
|
||||
@@ -135,7 +139,7 @@
|
||||
return uppertext(string)
|
||||
|
||||
/proc/time()
|
||||
return world.realtime
|
||||
return world.timeofday
|
||||
|
||||
/proc/timestamp(var/format = "hh:mm:ss") // Get the game time in text
|
||||
return time2text(world.time + 432000, format)
|
||||
|
||||
Reference in New Issue
Block a user