Refactor another spawn (#1394)
This commit is contained in:
committed by
kevinz000
parent
0455bf5f9a
commit
bf4973e580
@@ -151,18 +151,14 @@
|
||||
honk()
|
||||
|
||||
/turf/open/floor/mineral/bananium/proc/honk()
|
||||
if(!spam_flag)
|
||||
spam_flag = 1
|
||||
if(spam_flag < world.time)
|
||||
playsound(src, 'sound/items/bikehorn.ogg', 50, 1)
|
||||
spawn(20)
|
||||
spam_flag = 0
|
||||
spam_flag = world.time + 20
|
||||
|
||||
/turf/open/floor/mineral/bananium/proc/squeek()
|
||||
if(!spam_flag)
|
||||
spam_flag = 1
|
||||
if(spam_flag < world.time)
|
||||
playsound(src, "clownstep", 50, 1)
|
||||
spawn(10)
|
||||
spam_flag = 0
|
||||
spam_flag = world.time + 10
|
||||
|
||||
/turf/open/floor/mineral/bananium/airless
|
||||
initial_gas_mix = "TEMP=2.7"
|
||||
|
||||
Reference in New Issue
Block a user