Skip to content

Commit

Permalink
Insulated technomancer helmet's icon can be swapped with a wrench (#8547
Browse files Browse the repository at this point in the history
)

* Update armor.dm

* requested changes

* reverse one requested change

---------

Co-authored-by: Wrill <86113712+WrillWasTaken@users.noreply.github.com>
  • Loading branch information
VmpOS2NHSkhkejA9 and Wrill authored Jan 31, 2025
1 parent 744ba2f commit 28c82de
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions code/modules/clothing/head/armor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
/obj/item/clothing/head/armor/helmet/technomancer
name = "insulated technomancer helmet"
desc = "A piece of armor used in hostile work conditions to protect the head. Comes with a built-in flashlight."
description_info = "The appearance of the visor can be changed with a wrench."
body_parts_covered = HEAD|EARS|EYES|FACE
item_flags = THICKMATERIAL
flags_inv = BLOCKHEADHAIR|HIDEEARS|HIDEEYES|HIDEFACE
Expand All @@ -104,6 +105,18 @@
. = ..()
icon_state = pick(list("technohelmet_visor", "technohelmet_googles"))

/obj/item/clothing/head/armor/helmet/technomancer/attackby(obj/item/W, mob/user)
if(QUALITY_BOLT_TURNING in W.tool_qualities)
if(icon_state == "technohelmet_visor")
icon_state = "technohelmet_googles"
to_chat(usr, "You reconfigure the [src]'s visor to look like a pair of goggles.")
return
else
icon_state = "technohelmet_visor"
to_chat(usr, "You reconfigure the [src]'s goggles to look like a visor.")
return
. = ..()

/obj/item/clothing/head/armor/helmet/technomancer_old
name = "reinforced technomancer helmet"
desc = "Technomancer League's ballistic helmet. Comes with a built-in flashlight. The welder-proof visor hinders aim."
Expand Down

0 comments on commit 28c82de

Please sign in to comment.