From 995c2c134cd4ce76e70855829621be2c372b94ec Mon Sep 17 00:00:00 2001 From: KorPhaeron Date: Sun, 7 May 2017 10:24:52 -0400 Subject: [PATCH 1/2] Omnitongue --- .../mining/lavaland/necropolis_chests.dm | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/code/modules/mining/lavaland/necropolis_chests.dm b/code/modules/mining/lavaland/necropolis_chests.dm index 6b1179a5851..02cf7aa6eaa 100644 --- a/code/modules/mining/lavaland/necropolis_chests.dm +++ b/code/modules/mining/lavaland/necropolis_chests.dm @@ -33,7 +33,7 @@ if(9) new /obj/item/organ/brain/alien(src) if(10) - new /obj/item/organ/heart/cursed(src) + new /obj/item/grant_omnitongue(src) if(11) new /obj/item/ship_in_a_bottle(src) if(12) @@ -343,6 +343,24 @@ add_fingerprint(usr) + + +//Book of Babel + +/obj/item/grant_omnitongue + name = "Book of Babel" + desc = "An ancient tome written in countless tongues." + icon = 'icons/obj/library.dmi' + icon_state = "book1" + w_class = 2 + +/obj/item/grant_omnitongue/attack_self(mob/user) + to_chat(user, "You flip through the pages of the book, quickly and conviently learning every language in existence. Somewhat less convienently, the aging book crumbles to dust in the process. Whoops.") + user.grant_all_languages(omnitongue=TRUE) + new /obj/effect/decal/cleanable/ash(get_turf(user)) + qdel(src) + + //Boat /obj/vehicle/lavaboat From 790792eccab197cba84d65942708ddf7d63a381f Mon Sep 17 00:00:00 2001 From: Remie Richards Date: Wed, 10 May 2017 12:59:09 +0100 Subject: [PATCH 2/2] Repathed book, grammar fixes, cursed heart swapped for wizard version that heals --- code/modules/mining/lavaland/necropolis_chests.dm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/code/modules/mining/lavaland/necropolis_chests.dm b/code/modules/mining/lavaland/necropolis_chests.dm index 02cf7aa6eaa..4999f796c57 100644 --- a/code/modules/mining/lavaland/necropolis_chests.dm +++ b/code/modules/mining/lavaland/necropolis_chests.dm @@ -10,7 +10,7 @@ desc = "It's watching you suspiciously." /obj/structure/closet/crate/necropolis/tendril/PopulateContents() - var/loot = rand(1,25) + var/loot = rand(1,26) switch(loot) if(1) new /obj/item/device/shared_storage/red(src) @@ -33,7 +33,7 @@ if(9) new /obj/item/organ/brain/alien(src) if(10) - new /obj/item/grant_omnitongue(src) + new /obj/item/organ/heart/cursed/wizard(src) if(11) new /obj/item/ship_in_a_bottle(src) if(12) @@ -65,6 +65,8 @@ new /obj/item/clothing/suit/space/hardsuit/ert/paranormal/inquisitor(src) if(25) new /obj/item/weapon/spellbook/oneuse/summonitem(src) + if(26) + new /obj/item/book_of_babel(src) @@ -347,15 +349,15 @@ //Book of Babel -/obj/item/grant_omnitongue +/obj/item/book_of_babel name = "Book of Babel" desc = "An ancient tome written in countless tongues." icon = 'icons/obj/library.dmi' icon_state = "book1" w_class = 2 -/obj/item/grant_omnitongue/attack_self(mob/user) - to_chat(user, "You flip through the pages of the book, quickly and conviently learning every language in existence. Somewhat less convienently, the aging book crumbles to dust in the process. Whoops.") +/obj/item/book_of_babel/attack_self(mob/user) + to_chat(user, "You flip through the pages of the book, quickly and conveniently learning every language in existence. Somewhat less conveniently, the aging book crumbles to dust in the process. Whoops.") user.grant_all_languages(omnitongue=TRUE) new /obj/effect/decal/cleanable/ash(get_turf(user)) qdel(src)