From b550f0399c0227314ea4d2e1f77c0bb0718934d5 Mon Sep 17 00:00:00 2001 From: Killian <49700375+VarkaSelyn@users.noreply.github.com> Date: Wed, 24 Feb 2021 22:59:46 +0000 Subject: [PATCH] enverbulate! --- code/modules/clothing/spacesuits/void/ert.dm | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/code/modules/clothing/spacesuits/void/ert.dm b/code/modules/clothing/spacesuits/void/ert.dm index 023bec9388f..4825e96ddf3 100644 --- a/code/modules/clothing/spacesuits/void/ert.dm +++ b/code/modules/clothing/spacesuits/void/ert.dm @@ -131,7 +131,29 @@ siemens_coefficient = 0.5 icon = 'icons/obj/clothing/hats_vr.dmi' enables_planes = list(VIS_CH_ID,VIS_CH_HEALTH_VR,VIS_AUGMENTED) + var/away_planes = null plane_slots = list(slot_head) + var/hud_active = 1 + var/activation_sound = 'sound/items/nif_click.ogg' + +/obj/item/clothing/head/helmet/space/void/responseteam/verb/toggle() + set category = "Object" + set name = "Toggle Mark 7 Suit HUD" + set src in usr + + if(usr.canmove && !usr.stat && !usr.restrained()) + if(src.hud_active) + away_planes = enables_planes + enables_planes = null + to_chat(usr, "You disable the inbuilt heads-up display.") + hud_active = 0 + else + enables_planes = away_planes + away_planes = null + to_chat(usr, "You enable the inbuilt heads-up display.") + hud_active = 1 + usr << activation_sound + usr.recalculate_vis() /obj/item/clothing/head/helmet/space/void/responseteam/command name = "Mark VII-C Emergency Response Team Commander Helmet"