This commit is contained in:
tacoguy7765093
2025-12-07 09:35:15 -06:00
committed by GitHub
parent 8fce7287d6
commit c468e37280

View File

@@ -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!"
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
// 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
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)"