mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
515 Compatibility (#19636)
* 515 compat * double spaces * Callback documentation, aa review * spacing * NAMEOF_STATIC * big beta
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
med_hud_set_health()
|
||||
med_hud_set_status()
|
||||
if(!gibbed && !QDELETED(src))
|
||||
addtimer(CALLBACK(src, .proc/med_hud_set_status), DEFIB_TIME_LIMIT + 1)
|
||||
addtimer(CALLBACK(src, PROC_REF(med_hud_set_status)), DEFIB_TIME_LIMIT + 1)
|
||||
|
||||
GLOB.alive_mob_list -= src
|
||||
GLOB.dead_mob_list += src
|
||||
@@ -100,10 +100,10 @@
|
||||
visible_message("<span class='danger'><b>[src]</b> starts convulsing violently!</span>", "You feel as if your body is tearing itself apart!")
|
||||
Weaken(30 SECONDS)
|
||||
do_jitter_animation(1000, -1) // jitter until they are gibbed
|
||||
addtimer(CALLBACK(src, .proc/gib), rand(2 SECONDS, 10 SECONDS))
|
||||
addtimer(CALLBACK(src, PROC_REF(gib)), rand(2 SECONDS, 10 SECONDS))
|
||||
|
||||
/mob/living/carbon/proc/inflate_gib() // Plays an animation that makes mobs appear to inflate before finally gibbing
|
||||
addtimer(CALLBACK(src, .proc/gib, null, null, TRUE, TRUE), 25)
|
||||
addtimer(CALLBACK(src, PROC_REF(gib), null, null, TRUE, TRUE), 25)
|
||||
var/matrix/M = matrix()
|
||||
M.Scale(1.8, 1.2)
|
||||
animate(src, time = 40, transform = M, easing = SINE_EASING)
|
||||
|
||||
Reference in New Issue
Block a user