diff --git a/code/game/machinery/computer/arcade.dm b/code/game/machinery/computer/arcade.dm index ff6ff5587e7..cedd1dc830b 100644 --- a/code/game/machinery/computer/arcade.dm +++ b/code/game/machinery/computer/arcade.dm @@ -54,6 +54,8 @@ GLOBAL_LIST_INIT(arcade_prize_pool, list( /obj/item/storage/belt/military/snack = 2, /obj/item/toy/brokenradio = 2, /obj/item/toy/braintoy = 2, + /obj/item/toy/eldritch_book = 2, + /obj/item/storage/box/heretic_box = 1, /obj/item/clothing/glasses/trickblindfold = 2)) /obj/machinery/computer/arcade diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index 290de857cf4..8d8f400284f 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -1495,3 +1495,44 @@ if(cooldown <= world.time) cooldown = (world.time + 10) addtimer(CALLBACK(GLOBAL_PROC, .proc/playsound, src, 'sound/effects/blobattack.ogg', 50, FALSE), 0.5 SECONDS) + + +/* + * Eldritch Toys + */ + +/obj/item/toy/eldritch_book + name = "Codex Cicatrix" + desc = "A toy book that closely resembles the Codex Cicatrix. Covered in fake polyester human flesh and has a huge goggly eye attached to the cover. The runes are gibberish and cannot be used to summon demons... Hopefully?" + icon = 'icons/obj/eldritch.dmi' + icon_state = "book" + w_class = WEIGHT_CLASS_SMALL + attack_verb_continuous = list("sacrifices", "transmutes", "graspes", "curses") + attack_verb_simple = list("sacrifice", "transmute", "grasp", "curse") + /// Helps determine the icon state of this item when it's used on self. + var/book_open = FALSE + +/obj/item/toy/eldritch_book/attack_self(mob/user) + book_open = !book_open + update_icon() + +/obj/item/toy/eldritch_book/update_icon_state() + icon_state = book_open ? "book_open" : "book" + +/* + * Fake tear + */ + +/obj/item/toy/reality_pierce + name = "Pierced reality" + desc = "Hah. You thought it was the real deal!" + icon = 'icons/effects/eldritch.dmi' + icon_state = "pierced_illusion" + +/obj/item/storage/box/heretic_box + name = "box of pierced realities" + desc = "A box containing toys resembling pierced realities." + +/obj/item/storage/box/heretic_box/PopulateContents() + for(var/i in 1 to rand(1,4)) + new /obj/item/toy/reality_pierce(src)