mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 09:34:52 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user