more TG prefs (#18038)

* makes it a TG pref

* Update emote_vr.dm

* shadekin removal fix

fixes bug  where shadekin elements did not disappear upon removal of the component

also makes retreat round persistant

* nutrition toggles

* gives it a subsection

* Update ShadekinConfig.tsx

* shadekin ability stuff

no memory leaks

* Update ShadekinConfig.tsx
This commit is contained in:
Cameron Lennox
2025-07-25 06:04:47 -04:00
committed by GitHub
parent 5dd2e62ac1
commit c0aeb5afa3
13 changed files with 167 additions and 51 deletions
+3 -3
View File
@@ -20,7 +20,7 @@
var/adjective = "hardens"
var/list/tail_lower_dirs = list(SOUTH, EAST, WEST)
var/image/tail_image
var/tail_alt = TAIL_UPPER_LAYER
var/tail_layering = TAIL_UPPER_LAYER
var/can_revert = TRUE
var/was_rayed = FALSE
@@ -62,7 +62,7 @@
tail_lower_dirs.Cut()
else if(H.tail_style)
tail_lower_dirs = H.tail_style.lower_layer_dirs.Copy()
tail_alt = H.tail_alt ? TAIL_UPPER_LAYER_HIGH : TAIL_UPPER_LAYER
tail_layering = H.tail_layering ? TAIL_UPPER_LAYER_HIGH : TAIL_UPPER_LAYER
max_integrity = H.getMaxHealth() + 100
obj_integrity = H.health + 100
@@ -282,7 +282,7 @@
. = ..()
if(. && tail_image)
cut_overlay(tail_image)
tail_image.layer = BODY_LAYER + ((dir in tail_lower_dirs) ? TAIL_LOWER_LAYER : tail_alt)
tail_image.layer = BODY_LAYER + ((dir in tail_lower_dirs) ? TAIL_LOWER_LAYER : tail_layering)
add_overlay(tail_image)
/obj/structure/gargoyle/hitby(atom/movable/AM as mob|obj,var/speed = THROWFORCE_SPEED_DIVISOR)