From 9fbdec2a6ec8841275149b72268c8b0dc8e45838 Mon Sep 17 00:00:00 2001 From: The Sharkening <95130227+StrangeWeirdKitten@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:21:29 -0700 Subject: [PATCH] Locks the research paper only to the hermit (#2711) ## About The Pull Request Removes the research paper from everywhere and locks it only to the hermit. ## Why It's Good For The Game This item was only specifically meant to go to the hermit. I defended it at first, but people are correct that prisoners shouldn't be building entire robotic factories and I think the age of easy alien tools in science should probally pass. ## Proof Of Testing ![image](https://github.com/user-attachments/assets/319c0c93-6144-41e9-a6dc-965e6f6c392b) ![image](https://github.com/user-attachments/assets/e785f8f1-cb86-412a-b9d4-c368a8bb8c9b) ## Changelog :cl: balance: The research paper crafting recipe has been locked to the hermit. /:cl: --------- Co-authored-by: Waterpig <49160555+Majkl-J@users.noreply.github.com> --- .../IceRuins/bubberstation/icemoon_persistence.dmm | 1 - .../LavaRuins/bubberstation/lavaland_persistence.dmm | 1 - .../modules/simple_research/research_document.dm | 1 + .../code/modules/mob_spawn/ghost_roles/mining_roles.dm | 10 ++++++++++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/_maps/RandomRuins/IceRuins/bubberstation/icemoon_persistence.dmm b/_maps/RandomRuins/IceRuins/bubberstation/icemoon_persistence.dmm index 0a49f10ddcf..8a9d8a94e94 100644 --- a/_maps/RandomRuins/IceRuins/bubberstation/icemoon_persistence.dmm +++ b/_maps/RandomRuins/IceRuins/bubberstation/icemoon_persistence.dmm @@ -7022,7 +7022,6 @@ /obj/machinery/cell_charger_multi, /obj/machinery/light/directional/west, /obj/machinery/firealarm/directional/west, -/obj/item/research_paper, /obj/item/experi_scanner, /obj/structure/sign/poster/official/science/directional/south, /turf/open/floor/iron/smooth, diff --git a/_maps/RandomRuins/LavaRuins/bubberstation/lavaland_persistence.dmm b/_maps/RandomRuins/LavaRuins/bubberstation/lavaland_persistence.dmm index ef6d735a830..8506aae224e 100644 --- a/_maps/RandomRuins/LavaRuins/bubberstation/lavaland_persistence.dmm +++ b/_maps/RandomRuins/LavaRuins/bubberstation/lavaland_persistence.dmm @@ -15741,7 +15741,6 @@ /obj/machinery/cell_charger_multi, /obj/machinery/light/directional/west, /obj/machinery/firealarm/directional/west, -/obj/item/research_paper, /obj/item/experi_scanner, /obj/structure/sign/poster/official/science/directional/south, /turf/open/floor/iron/smooth, diff --git a/modular_skyrat/modules/simple_research/research_document.dm b/modular_skyrat/modules/simple_research/research_document.dm index ab37b2055dc..bf3b14e2a74 100644 --- a/modular_skyrat/modules/simple_research/research_document.dm +++ b/modular_skyrat/modules/simple_research/research_document.dm @@ -6,6 +6,7 @@ /obj/item/stack/sheet/cloth = 4, ) category = CAT_TOOLS + crafting_flags = CRAFT_MUST_BE_LEARNED /obj/item/research_paper name = "research paper" diff --git a/modular_zubbers/code/modules/mob_spawn/ghost_roles/mining_roles.dm b/modular_zubbers/code/modules/mob_spawn/ghost_roles/mining_roles.dm index 9415ae91276..cefe2a84e51 100644 --- a/modular_zubbers/code/modules/mob_spawn/ghost_roles/mining_roles.dm +++ b/modular_zubbers/code/modules/mob_spawn/ghost_roles/mining_roles.dm @@ -20,3 +20,13 @@ gloves = /obj/item/clothing/gloves/fingerless head = /obj/item/clothing/head/soft/purple l_pocket = /obj/item/modular_computer/pda + +/datum/outfit/hermit + backpack_contents = list(/obj/item/research_paper = 1) + +/datum/outfit/hermit/post_equip(mob/living/carbon/human/hermit, visualsOnly) + . = ..() + if(visualsOnly) + return + hermit.mind?.teach_crafting_recipe(/datum/crafting_recipe/research_paper) + to_chat(hermit, span_notice("You learn the recipe for the research paper, giving you the ability to craft everything from nothing."))