Heretic Themed Toys (#56203)

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Mothblocks <35135081+Jared-Fogle@users.noreply.github.com>
This commit is contained in:
eeSPee
2021-01-25 00:10:43 -08:00
committed by GitHub
parent f21427bb02
commit adebb20af9
2 changed files with 43 additions and 0 deletions
+41
View File
@@ -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)