diff --git a/modular_chomp/code/modules/casino/spawnergrenade.dm b/modular_chomp/code/modules/casino/spawnergrenade.dm index 67c73d95ec..40d3c5176d 100644 --- a/modular_chomp/code/modules/casino/spawnergrenade.dm +++ b/modular_chomp/code/modules/casino/spawnergrenade.dm @@ -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)"