From d38e48f74c5df31c84b9b0f122c359f1c407058d Mon Sep 17 00:00:00 2001 From: Fox-McCloud Date: Mon, 23 Nov 2015 21:23:14 -0500 Subject: [PATCH] oops --- code/game/objects/items/toys.dm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index 59ba53d935c..0c9dec073ab 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -527,8 +527,9 @@ desc = "This is a random prize" icon = 'icons/obj/toy.dmi' icon_state = "ripleytoy" - item_to_spawn() - return pick(subtypesof(/obj/item/toy/prize)) //exclude the base type. + +/obj/random/prize/item_to_spawn() + return pick(subtypesof(/obj/item/toy/prize)) //exclude the base type. /obj/item/toy/prize/ripley name = "toy ripley" @@ -1109,8 +1110,9 @@ obj/item/toy/cards/deck/syndicate/black desc = "This is a random plushie" icon = 'icons/obj/toy.dmi' icon_state = "carpplushie" - item_to_spawn() - return pick(typesof(/obj/item/toy/carpplushie)) //can pick any carp plushie, even the original. + +/obj/random/carp_plushie/item_to_spawn() + return pick(typesof(/obj/item/toy/carpplushie)) //can pick any carp plushie, even the original. /obj/item/toy/carpplushie/ice icon_state = "icecarp" @@ -1169,8 +1171,9 @@ obj/item/toy/cards/deck/syndicate/black desc = "This is a random plushie" icon = 'icons/obj/toy.dmi' icon_state = "redfox" - item_to_spawn() - return pick(subtypesof(/obj/item/toy/plushie)) //exclude the base type. + +/obj/random/plushie/item_to_spawn() + return pick(subtypesof(/obj/item/toy/plushie)) //exclude the base type. /obj/item/toy/plushie/corgi name = "corgi plushie"