]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/mutators/mutator/status_effects/status_effect/burning.qh
8935d49a2c631780f359094a606e56a56208783c
[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 #if 0
14     // NOTE: status effect name and icon disabled as they are not displayed
15     // re-enable if status effects are given a visual element
16     ATTRIB(Burning, m_name, string, _("Burning"));
17     ATTRIB(Burning, m_icon, string, "buff_inferno");
18 #endif
19     ATTRIB(Burning, m_color, vector, '1 0.62 0');
20     ATTRIB(Burning, m_hidden, bool, true);
21     ATTRIB(Burning, m_lifetime, float, 10);
22 #ifdef GAMEQC
23     ATTRIB(Burning, m_sound_rm, Sound, SND_Burning_Remove);
24 #endif
25 ENDCLASS(Burning)
26 REGISTER_STATUSEFFECT(Burning, NEW(Burning));