From a501a6dc7f03f5b5e2135bb34411747dd55f0292 Mon Sep 17 00:00:00 2001 From: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com> Date: Fri, 9 Sep 2022 19:45:32 +0200 Subject: [PATCH] Xenoarcheologist Hard Hat and Mining Overalls (#14772) --- .../client/preference_setup/loadout/loadout_accessories.dm | 4 ++-- .../client/preference_setup/loadout/loadout_head.dm | 2 +- code/modules/research/xenoarchaeology/misc.dm | 7 ++++--- html/changelogs/hard_hatting.yml | 7 +++++++ 4 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 html/changelogs/hard_hatting.yml diff --git a/code/modules/client/preference_setup/loadout/loadout_accessories.dm b/code/modules/client/preference_setup/loadout/loadout_accessories.dm index da06e59ad87..b569bb03602 100644 --- a/code/modules/client/preference_setup/loadout/loadout_accessories.dm +++ b/code/modules/client/preference_setup/loadout/loadout_accessories.dm @@ -152,7 +152,7 @@ /datum/gear/accessory/black_pouches display_name = "drop pouches, security" path = /obj/item/clothing/accessory/storage/pouches/black - allowed_roles = list("Security Officer","Head of Security", "Warden", "Security Cadet", "Investigator") + allowed_roles = list("Security Officer", "Head of Security", "Warden", "Security Cadet", "Investigator") /datum/gear/accessory/white_pouches display_name = "drop pouches, medical" @@ -168,7 +168,7 @@ /datum/gear/accessory/overalls_mining display_name = "overalls, mining" path = /obj/item/clothing/accessory/storage/overalls/mining - allowed_roles = list("Shaft Miner") + allowed_roles = list("Shaft Miner, Xenoarchaeologist") cost = 2 /datum/gear/accessory/overalls_engineer diff --git a/code/modules/client/preference_setup/loadout/loadout_head.dm b/code/modules/client/preference_setup/loadout/loadout_head.dm index 866dc8c931d..37871658fb4 100644 --- a/code/modules/client/preference_setup/loadout/loadout_head.dm +++ b/code/modules/client/preference_setup/loadout/loadout_head.dm @@ -132,7 +132,7 @@ /datum/gear/head/hardhat display_name = "hard hat selection" path = /obj/item/clothing/head/hardhat - allowed_roles = list("Engineer", "Atmospheric Technician", "Chief Engineer", "Engineering Apprentice", "Operations Manager", "Hangar Technician", "Shaft Miner") + allowed_roles = list("Engineer", "Atmospheric Technician", "Chief Engineer", "Engineering Apprentice", "Operations Manager", "Hangar Technician", "Shaft Miner", "Xenoarchaeologist") /datum/gear/head/hardhat/New() ..() diff --git a/code/modules/research/xenoarchaeology/misc.dm b/code/modules/research/xenoarchaeology/misc.dm index 9d5bfbfc6c0..ebdf6ccf0ca 100644 --- a/code/modules/research/xenoarchaeology/misc.dm +++ b/code/modules/research/xenoarchaeology/misc.dm @@ -60,8 +60,8 @@ //---- Lockers and closets /obj/structure/closet/secure_closet/xenoarchaeologist - name = "xenoarchaeologist locker" - req_access = list(access_tox_storage) + name = "xenoarchaeologist's locker" + req_access = list(access_xenoarch) icon_state = "science" /obj/structure/closet/secure_closet/xenoarchaeologist/fill() @@ -73,9 +73,10 @@ new /obj/item/storage/belt/archaeology(src) new /obj/item/storage/box/excavation(src) new /obj/item/taperoll/science(src) + new /obj/item/clothing/head/hardhat(src) /obj/structure/closet/excavation - name = "excavation tools" + name = "xenoarchaeology excavation tools" icon_state = "eng" icon_door = "eng_tool" diff --git a/html/changelogs/hard_hatting.yml b/html/changelogs/hard_hatting.yml new file mode 100644 index 00000000000..87c5560c930 --- /dev/null +++ b/html/changelogs/hard_hatting.yml @@ -0,0 +1,7 @@ +author: SleepyGemmy + +delete-after: True + +changes: + - rscadd: "Lets xenoarchaelogists pick hardhats and the mining overalls in the loadout. Adds a regular yellow hardhat to their lockers." + - bugfix: "Fixes access on the xenoarcheologists locker not using their dedicated access." \ No newline at end of file