mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-25 05:36:47 +01:00
8 lines
358 B
Plaintext
8 lines
358 B
Plaintext
GLOBAL_DATUM_INIT(combat_indicator, /mutable_appearance, mutable_appearance('modular_sand/icons/mob/combat_indicator.dmi', "combat", FLY_LAYER, appearance_flags = APPEARANCE_UI_IGNORE_ALPHA | KEEP_APART))
|
|
|
|
/mob/living/proc/set_combat_indicator(state)
|
|
if(state && stat != DEAD)
|
|
add_overlay(GLOB.combat_indicator)
|
|
else
|
|
cut_overlay(GLOB.combat_indicator)
|