]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/mutators/mutator/status_effects/status_effect/burning.qh
Experimental status effects system: general backend for buffs and debuffs networked...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mutators / mutator / status_effects / status_effect / burning.qh
1 #pragma once
2
3 #include <common/mutators/mutator/status_effects/all.qh>
4
5 #ifdef SVQC
6 void Fire_ApplyDamage(entity e);
7 #endif
8 #ifdef GAMEQC
9 SOUND(Burning_Remove, "desertfactory/steam_burst");
10 #endif
11 CLASS(Burning, StatusEffects)
12     ATTRIB(Burning, netname, string, "burning");
13     ATTRIB(Burning, m_name, string, _("Burning"));
14     ATTRIB(Burning, m_icon, string, "buff_inferno");
15     ATTRIB(Burning, m_color, vector, '1 0.62 0');
16     ATTRIB(Burning, m_hidden, bool, true);
17     ATTRIB(Burning, m_lifetime, float, 10);
18 #ifdef GAMEQC
19     ATTRIB(Burning, m_sound_rm, Sound, SND_Burning_Remove);
20 #endif
21 ENDCLASS(Burning)
22 REGISTER_STATUSEFFECT(Burning, NEW(Burning));