From bdeae038782fcc638bd34a043f7edf6f913fc0e2 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 18 Apr 2024 02:59:29 +0200 Subject: [PATCH] [MIRROR] Makes radiaton and bomb good helmets have the FOV effect...... its not my fault (#27259) * Makes radiaton and bomb good helmets have the FOV effect...... its not my fault (#82366) ## About The Pull Request Fixes Radiation hood having normal vision Closes #80917 ![image](https://github.com/tgstation/tgstation/assets/84478872/81e43edb-7b66-4403-b06d-fa4d256ebc48) ## Why It's Good For The Game It isnt but it must be done in order to remove github issues ## Changelog :cl: fix: Fixes Radiation Hood not having FOV blockage /:cl: * Makes radiaton and bomb good helmets have the FOV effect...... its not my fault --------- Co-authored-by: Hoolny <84478872+SethLafuente@users.noreply.github.com> --- code/modules/clothing/suits/utility.dm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/modules/clothing/suits/utility.dm b/code/modules/clothing/suits/utility.dm index bbd880f5466..fa283281447 100644 --- a/code/modules/clothing/suits/utility.dm +++ b/code/modules/clothing/suits/utility.dm @@ -99,6 +99,11 @@ flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH | PEPPERPROOF resistance_flags = NONE +/obj/item/clothing/head/utility/bomb_hood/Initialize(mapload) + . = ..() + if(flags_inv & HIDEFACE) + AddComponent(/datum/component/clothing_fov_visor, FOV_90_DEGREES) + /datum/armor/utility_bomb_hood melee = 20 laser = 20 @@ -169,6 +174,11 @@ flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH | PEPPERPROOF resistance_flags = NONE +/obj/item/clothing/head/utility/radiation/Initialize(mapload) + . = ..() + if(flags_inv & HIDEFACE) + AddComponent(/datum/component/clothing_fov_visor, FOV_90_DEGREES) + /datum/armor/utility_radiation bio = 60 fire = 30