mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 12:43:13 +00:00
deconf (#12074)
This commit is contained in:
@@ -1,29 +1,7 @@
|
|||||||
/obj/item/grenade/spawnergrenade/casino
|
/obj/item/grenade/spawnergrenade/casino/goose
|
||||||
|
|
||||||
desc = "It is set to detonate in 5 seconds. It will release a goose that has been won from the golden goose casino!"
|
desc = "It is set to detonate in 5 seconds. It will release a goose that has been won from the golden goose casino!"
|
||||||
name = "Casino Creature Container (Goose)"
|
name = "Casino Creature Container (Goose)"
|
||||||
icon = 'icons/obj/grenade_ch.dmi'
|
|
||||||
icon_state = "casino"
|
|
||||||
item_state = "casino"
|
|
||||||
origin_tech = list(TECH_MATERIAL = 2, TECH_MAGNET = 2)
|
|
||||||
spawner_type = /mob/living/simple_mob/animal/space/goose/domesticated
|
spawner_type = /mob/living/simple_mob/animal/space/goose/domesticated
|
||||||
|
|
||||||
|
|
||||||
// Detonate now just handles the two loops that query for people in lockers and people who can see it.
|
|
||||||
/obj/item/grenade/spawnergrenade/casino/detonate()
|
|
||||||
|
|
||||||
if(spawner_type && deliveryamt)
|
|
||||||
var/turf/T = get_turf(src)
|
|
||||||
playsound(T, 'sound/effects/phasein.ogg', 100, 1)
|
|
||||||
|
|
||||||
for(var/i=1, i<=deliveryamt, i++)
|
|
||||||
var/atom/movable/x = new spawner_type(T)
|
|
||||||
if(prob(50))
|
|
||||||
for(var/j = 1, j <= rand(1, 3), j++)
|
|
||||||
step(x, pick(NORTH,SOUTH,EAST,WEST))
|
|
||||||
qdel(src)
|
|
||||||
return
|
|
||||||
|
|
||||||
/obj/item/grenade/spawnergrenade/casino/goat
|
/obj/item/grenade/spawnergrenade/casino/goat
|
||||||
desc = "It is set to detonate in 5 seconds. It will release a goat that has been won from the golden goose casino!"
|
desc = "It is set to detonate in 5 seconds. It will release a goat that has been won from the golden goose casino!"
|
||||||
name = "Casino Creature Container (Goat)"
|
name = "Casino Creature Container (Goat)"
|
||||||
|
|||||||
Reference in New Issue
Block a user