mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Foggy Breath Effects (#18241)
* chilly
* frosty
* Now with crawling and buckling!
had to do some jank because meat spikes dont change a perfectly good variable that other angle changing code uses, so insert snowflake code for the meat spike. :C
* Fixes warning
what the hell is a protected variable anyways
* amogus
* Revert "amogus"
This reverts commit ebaa99c77b.
* megafauna PR deconflict
* removes jank
* needless variable def
This commit is contained in:
@@ -137,3 +137,19 @@
|
||||
. = ..()
|
||||
icon_state = "snap3"
|
||||
render_target = "*snap[id]"
|
||||
|
||||
/obj/effect/frosty_breath
|
||||
icon = 'icons/effects/effects.dmi'
|
||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||
layer = ABOVE_MOB_LAYER
|
||||
anchored = TRUE
|
||||
|
||||
/obj/effect/frosty_breath/Initialize(mapload, mob/living/carbon/C)
|
||||
. = ..()
|
||||
dir = C.dir
|
||||
if(C.buckled)
|
||||
pixel_y = (C.buckled.buckle_offset + 10)
|
||||
if(dir == NORTH)
|
||||
layer = BELOW_MOB_LAYER
|
||||
flick("breath_[C.lying_prev]", src)
|
||||
QDEL_IN(src, 2 SECONDS)
|
||||
|
||||
Reference in New Issue
Block a user