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