Shadeanim

This commit is contained in:
Guti
2025-10-07 21:55:16 +02:00
parent 84e705eef7
commit 8497cef0cc
2 changed files with 6 additions and 2 deletions
@@ -137,7 +137,7 @@
update_icon()
//Cosmetics mostly
var/obj/effect/temp_visual/shadekin/phase_in/phaseanim = new /obj/effect/temp_visual/shadekin/phase_in(src.loc)
var/obj/effect/temp_visual/shadekin/phase_in/phaseanim = new SK.phase_in_anim(src.loc)
phaseanim.pixel_y = (src.size_multiplier - 1) * 16 // Pixel shift for the animation placement
phaseanim.adjust_scale(src.size_multiplier, src.size_multiplier)
phaseanim.dir = dir
@@ -241,7 +241,7 @@
for(var/obj/belly/B as anything in vore_organs)
B.escapable = FALSE
var/obj/effect/temp_visual/shadekin/phase_out/phaseanim = new /obj/effect/temp_visual/shadekin/phase_out(src.loc)
var/obj/effect/temp_visual/shadekin/phase_out/phaseanim = new SK.phase_out_anim(src.loc)
phaseanim.pixel_y = (src.size_multiplier - 1) * 16 // Pixel shift for the animation placement
phaseanim.adjust_scale(src.size_multiplier, src.size_multiplier)
phaseanim.dir = dir
@@ -70,6 +70,10 @@
var/eye_color = BLUE_EYES
///For downstream. Enables some extra verbs. Causes things to drop in hand when you phase.
var/extended_kin = FALSE
///Phase in animation
var/obj/effect/temp_visual/phase_in_anim = /obj/effect/temp_visual/shadekin/phase_in
///Phase out animation
var/obj/effect/temp_visual/phase_out_anim = /obj/effect/temp_visual/shadekin/phase_out
/datum/component/shadekin/phase_only
shadekin_abilities = list(/datum/power/shadekin/phase_shift)