From 9e21a4feda5fb91cdfbc577f405333e178e807be Mon Sep 17 00:00:00 2001 From: BongaTheProto <93835010+BongaTheProto@users.noreply.github.com> Date: Thu, 23 Feb 2023 23:35:06 -0500 Subject: [PATCH] deluxe plushie box --- .../code/game/objects/items/miscellaneous.dm | 13 +++++++++++++ .../modules/client/loadout/donator/first_tier.dm | 4 ++++ 2 files changed, 17 insertions(+) diff --git a/modular_splurt/code/game/objects/items/miscellaneous.dm b/modular_splurt/code/game/objects/items/miscellaneous.dm index e01b30ceea..5571c7bfc4 100644 --- a/modular_splurt/code/game/objects/items/miscellaneous.dm +++ b/modular_splurt/code/game/objects/items/miscellaneous.dm @@ -253,3 +253,16 @@ // Set flavor text name = "broken hand mirror" desc = "You won\'t get much use out of it." + +/obj/item/choice_beacon/box/plushie/deluxe + name = "Deluxe choice box (plushie)" + desc = "Using the power of quantum entanglement, this box contains five times every plush, until the moment it is opened!" + var/uses = 5 + +/obj/item/choice_beacon/box/plushie/deluxe/spawn_option(choice, mob/living/M) + //I don't wanna recode two different procs just for it to do the same as doing this + if(uses > 1) + var/obj/item/choice_beacon/box/plushie/deluxe/replace = new + replace.uses = uses - 1 + M.put_in_hands(replace) + . = ..() diff --git a/modular_splurt/code/modules/client/loadout/donator/first_tier.dm b/modular_splurt/code/modules/client/loadout/donator/first_tier.dm index 6e030717e5..1cf505125a 100644 --- a/modular_splurt/code/modules/client/loadout/donator/first_tier.dm +++ b/modular_splurt/code/modules/client/loadout/donator/first_tier.dm @@ -51,3 +51,7 @@ path = /obj/item/reagent_containers/hypospray/medipen/bellygrowth ckeywhitelist = list() donator_group_id = DONATOR_GROUP_TIER_1 + +/datum/gear/backpack/plushbox/deluxe + name = "Deluxe Plushie Choice Box" + path = /obj/item/choice_beacon/box/plushie/deluxe