This commit is contained in:
Mieszko Jędrzejczak
2016-03-23 22:42:30 +01:00
parent 333522ede3
commit 3b514ddacb
@@ -7,11 +7,10 @@
/obj/item/weapon/grenade/confetti/prime()
var/turf/T = get_turf(src)
playsound(T, 'sound/effects/confetti_partywhistle.ogg', 100, 1)
for(var/i=1, i<=20, i++) //20 confettis. Yes.
for(var/i in 1 to 20) //20 confettis. Yes.
var/atom/movable/x = new spawner_type
x.loc = T
for(var/j = 1, j <= rand(1, 4), j++)
for(var/j in 1 to rand(1, 4))
step(x, pick(NORTH,SOUTH,EAST,WEST))
qdel(src)
return