From 640ddb76cdae362d1d51388600aadfc80870c82c Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 9 Nov 2021 13:13:32 +0000 Subject: [PATCH] [MIRROR] Removes the rad shielding from the Atmos hardsuit and fixes the allowed list on the Mining one. [MDB IGNORE] (#9342) * Fix Atmos/Mining hardsuits (#62663) * Removes the rad shielding from the Atmos hardsuit and fixes the allowed list on the Mining one. Co-authored-by: GuillaumePrata <55374212+GuillaumePrata@users.noreply.github.com> --- code/game/machinery/suit_storage_unit.dm | 2 +- code/modules/clothing/spacesuits/hardsuit.dm | 25 +++++++++++++++---- .../jobs/job_types/atmospheric_technician.dm | 2 +- 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/code/game/machinery/suit_storage_unit.dm b/code/game/machinery/suit_storage_unit.dm index 0ba59198aaa..a5d7e5f0f90 100644 --- a/code/game/machinery/suit_storage_unit.dm +++ b/code/game/machinery/suit_storage_unit.dm @@ -75,7 +75,7 @@ mask_type = /obj/item/clothing/mask/breath /obj/machinery/suit_storage_unit/atmos - suit_type = /obj/item/clothing/suit/space/hardsuit/engine/atmos + suit_type = /obj/item/clothing/suit/space/hardsuit/atmos mask_type = /obj/item/clothing/mask/gas/atmos storage_type = /obj/item/watertank/atmos diff --git a/code/modules/clothing/spacesuits/hardsuit.dm b/code/modules/clothing/spacesuits/hardsuit.dm index 21cc8ac80c5..7b56a9e6a73 100644 --- a/code/modules/clothing/spacesuits/hardsuit.dm +++ b/code/modules/clothing/spacesuits/hardsuit.dm @@ -207,7 +207,7 @@ qdel(GetComponent(/datum/component/geiger_sound)) //Atmospherics -/obj/item/clothing/head/helmet/space/hardsuit/engine/atmos +/obj/item/clothing/head/helmet/space/hardsuit/atmos name = "atmospherics hardsuit helmet" desc = "A modified engineering hardsuit for work in a hazardous, low pressure environment. The radiation shielding plates were removed to allow for improved thermal protection instead." icon_state = "hardsuit0-atmospherics" @@ -217,7 +217,7 @@ heat_protection = HEAD //Uncomment to enable firesuit protection max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT -/obj/item/clothing/suit/space/hardsuit/engine/atmos +/obj/item/clothing/suit/space/hardsuit/atmos name = "atmospherics hardsuit" desc = "A modified engineering hardsuit for work in a hazardous, low pressure environment. The radiation shielding plates were removed to allow for improved thermal protection instead." icon_state = "hardsuit-atmospherics" @@ -225,8 +225,15 @@ armor = list(MELEE = 30, BULLET = 5, LASER = 10, ENERGY = 20, BOMB = 10, BIO = 100, FIRE = 100, ACID = 75, WOUND = 10) heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS //Uncomment to enable firesuit protection max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT - helmettype = /obj/item/clothing/head/helmet/space/hardsuit/engine/atmos + helmettype = /obj/item/clothing/head/helmet/space/hardsuit/atmos +/obj/item/clothing/suit/space/hardsuit/atmos/equipped(mob/user, slot) + . = ..() + AddComponent(/datum/component/geiger_sound) + +/obj/item/clothing/suit/space/hardsuit/atmos/dropped() + . = ..() + qdel(GetComponent(/datum/component/geiger_sound)) //Chief Engineer's hardsuit /obj/item/clothing/head/helmet/space/hardsuit/engine/elite @@ -263,7 +270,6 @@ heat_protection = HEAD armor = list(MELEE = 30, BULLET = 5, LASER = 10, ENERGY = 20, BOMB = 50, BIO = 100, FIRE = 50, ACID = 75, WOUND = 15) light_range = 7 - allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/resonator, /obj/item/mining_scanner, /obj/item/t_scanner/adv_mining_scanner, /obj/item/gun/energy/kinetic_accelerator) /obj/item/clothing/head/helmet/space/hardsuit/mining/Initialize(mapload) . = ..() @@ -294,7 +300,16 @@ max_heat_protection_temperature = FIRE_SUIT_MAX_TEMP_PROTECT resistance_flags = FIRE_PROOF armor = list(MELEE = 30, BULLET = 5, LASER = 10, ENERGY = 20, BOMB = 50, BIO = 100, FIRE = 50, ACID = 75, WOUND = 15) - allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/storage/bag/ore, /obj/item/pickaxe) + allowed = list( + /obj/item/flashlight, + /obj/item/gun/energy/kinetic_accelerator, + /obj/item/mining_scanner, + /obj/item/pickaxe, + /obj/item/resonator, + /obj/item/t_scanner/adv_mining_scanner, + /obj/item/tank/internals, + ) + helmettype = /obj/item/clothing/head/helmet/space/hardsuit/mining heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS diff --git a/code/modules/jobs/job_types/atmospheric_technician.dm b/code/modules/jobs/job_types/atmospheric_technician.dm index f69e0178a0c..6d541fce0dd 100644 --- a/code/modules/jobs/job_types/atmospheric_technician.dm +++ b/code/modules/jobs/job_types/atmospheric_technician.dm @@ -61,7 +61,7 @@ /datum/outfit/job/atmos/rig name = "Atmospheric Technician (Hardsuit)" - suit = /obj/item/clothing/suit/space/hardsuit/engine/atmos + suit = /obj/item/clothing/suit/space/hardsuit/atmos suit_store = /obj/item/tank/internals/oxygen mask = /obj/item/clothing/mask/gas/atmos internals_slot = ITEM_SLOT_SUITSTORE