From df4fac62be44dda12f38147ab257986777f7ed74 Mon Sep 17 00:00:00 2001 From: David Winters Date: Fri, 31 Jul 2020 07:49:22 -0400 Subject: [PATCH] Random mech toy Unless I'm the blindest human on earth, there isn't one of these. So I made it. --- code/game/objects/items/toys.dm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index e06c9dbc00..7873f78a60 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -425,6 +425,15 @@ return ..() +/obj/random/mech_toy + name = "Random Mech Toy" + desc = "This is a random mech toy." + icon = 'icons/obj/toy.dmi' + icon_state = "ripleytoy" + +/obj/random/mech_toy/item_to_spawn() + return pick(typesof(/obj/item/toy/prize)) + /obj/item/toy/prize/ripley name = "toy ripley" desc = "Mini-Mecha action figure! Collect them all! 1/11."