diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index 621668c9c56..10533366a0e 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -594,6 +594,19 @@ /obj/random/plushie/item_to_spawn() return pick(subtypesof(/obj/item/toy/plushie) - typesof(/obj/item/toy/plushie/fluff) - typesof(/obj/item/toy/plushie/carpplushie)) //exclude the base type. +/obj/random/plushie/explosive + var/explosive_chance = 1 // 1% to spawn a blahbomb! + +/obj/random/plushie/explosive/spawn_item() + var/obj/item/toy/plushie/plushie = ..() + if(!prob(explosive_chance)) + return plushie + var/obj/item/I = new /obj/item/grenade/syndieminibomb + plushie.has_stuffing = FALSE + plushie.grenade = I + I.forceMove(plushie) + return plushie + /obj/item/toy/plushie/corgi name = "corgi plushie" icon_state = "corgi" diff --git a/code/modules/supply/supply_packs/pack_miscellaneous.dm b/code/modules/supply/supply_packs/pack_miscellaneous.dm index d9590384b52..84eebc27664 100644 --- a/code/modules/supply/supply_packs/pack_miscellaneous.dm +++ b/code/modules/supply/supply_packs/pack_miscellaneous.dm @@ -261,6 +261,7 @@ /obj/item/clothing/glasses/sunglasses) cost = 450 containername = "sunglasses crate" + /datum/supply_packs/misc/randomised var/num_contained = 3 //number of items picked to be contained in a randomised crate contains = list(/obj/item/clothing/head/collectable/chef, @@ -292,6 +293,11 @@ manifest += "Contains any [num_contained] of:" ..() +/datum/supply_packs/misc/randomised/plushie + name = "Collectable Plushies Crate" + cost = 1000 + containername = "collectable plushies crate! Brought to you by Bass.inc!" + contains = list(/obj/random/plushie, /obj/random/plushie, /obj/random/plushie/explosive) /datum/supply_packs/misc/foamforce name = "Foam Force Crate"