Proof of concept/proposal: Add offset capability for monitor headwear, demonstrated by berets (#30555)

* Add offset capability for monitor headwear, offset berets

* test

* Update code in line with warriorstar-orion's element method

* Apply suggestions from code review

Incorporate warriorstar-orion's updates

Co-authored-by: warriorstar-orion <orion@snowfrost.garden>
Signed-off-by: Alan <alfalfascout@users.noreply.github.com>

* Autodoc properly

Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
Signed-off-by: Alan <alfalfascout@users.noreply.github.com>

---------

Signed-off-by: Alan <alfalfascout@users.noreply.github.com>
Co-authored-by: warriorstar-orion <orion@snowfrost.garden>
Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
This commit is contained in:
Alan
2025-10-04 13:18:59 -04:00
committed by GitHub
parent 6344721e90
commit 99ff0ad3de
6 changed files with 74 additions and 2 deletions
@@ -105,9 +105,9 @@ Please contact me on #coderbus IRC. ~Carn x
/mob/living/carbon/human/proc/apply_overlay(cache_index)
. = overlays_standing[cache_index]
SEND_SIGNAL(src, COMSIG_CARBON_APPLY_OVERLAY, cache_index, .)
if(.)
add_overlay(.)
SEND_SIGNAL(src, COMSIG_CARBON_APPLY_OVERLAY, cache_index, .)
/mob/living/carbon/human/proc/remove_overlay(cache_index)
var/I = overlays_standing[cache_index]