mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user