Buffs: rename registry globals
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / buffs / all.inc
1 REGISTER_BUFF(AMMO) {
2     this.m_prettyName = _("Ammo");
3     this.m_name = "ammo";
4     this.m_skin = 3;
5     this.m_color = '0.76 1 0.1';
6 }
7 BUFF_SPAWNFUNCS(ammo, BUFF_AMMO)
8 BUFF_SPAWNFUNC_Q3TA_COMPAT(ammoregen, BUFF_AMMO)
9
10 REGISTER_BUFF(RESISTANCE) {
11     this.m_prettyName = _("Resistance");
12     this.m_name = "resistance";
13     this.m_skin = 0;
14     this.m_color = '0.36 1 0.07';
15 }
16 BUFF_SPAWNFUNCS(resistance, BUFF_RESISTANCE)
17 BUFF_SPAWNFUNC_Q3TA_COMPAT(resistance, BUFF_RESISTANCE)
18
19 REGISTER_BUFF(SPEED) {
20     this.m_prettyName = _("Speed");
21     this.m_name = "speed";
22     this.m_skin = 9;
23     this.m_color = '0.1 1 0.84';
24 }
25 BUFF_SPAWNFUNCS(speed, BUFF_SPEED)
26 BUFF_SPAWNFUNC_Q3TA_COMPAT(haste, BUFF_SPEED)
27 BUFF_SPAWNFUNC_Q3TA_COMPAT(scout, BUFF_SPEED)
28
29 REGISTER_BUFF(MEDIC) {
30     this.m_prettyName = _("Medic");
31     this.m_name = "medic";
32     this.m_skin = 1;
33     this.m_color = '1 0.12 0';
34 }
35 BUFF_SPAWNFUNCS(medic, BUFF_MEDIC)
36 BUFF_SPAWNFUNC_Q3TA_COMPAT(doubler, BUFF_MEDIC)
37 BUFF_SPAWNFUNC_Q3TA_COMPAT(medic, BUFF_MEDIC)
38
39 REGISTER_BUFF(BASH) {
40     this.m_prettyName = _("Bash");
41     this.m_name = "bash";
42     this.m_skin = 5;
43     this.m_color = '1 0.39 0';
44 }
45 BUFF_SPAWNFUNCS(bash, BUFF_BASH)
46
47 REGISTER_BUFF(VAMPIRE) {
48     this.m_prettyName = _("Vampire");
49     this.m_name = "vampire";
50     this.m_skin = 2;
51     this.m_color = '1 0 0.24';
52 }
53 BUFF_SPAWNFUNCS(vampire, BUFF_VAMPIRE)
54
55 REGISTER_BUFF(DISABILITY) {
56     this.m_prettyName = _("Disability");
57     this.m_name = "disability";
58     this.m_skin = 7;
59     this.m_color = '0.94 0.3 1';
60 }
61 BUFF_SPAWNFUNCS(disability, BUFF_DISABILITY)
62
63 REGISTER_BUFF(VENGEANCE) {
64     this.m_prettyName = _("Vengeance");
65     this.m_name = "vengeance";
66     this.m_skin = 15;
67     this.m_color = '1 0.23 0.61';
68 }
69 BUFF_SPAWNFUNCS(vengeance, BUFF_VENGEANCE)
70
71 REGISTER_BUFF(JUMP) {
72     this.m_prettyName = _("Jump");
73     this.m_name = "jump";
74     this.m_skin = 10;
75     this.m_color = '0.24 0.78 1';
76 }
77 BUFF_SPAWNFUNCS(jump, BUFF_JUMP)
78
79 REGISTER_BUFF(FLIGHT) {
80     this.m_prettyName = _("Flight");
81     this.m_name = "flight";
82     this.m_skin = 11;
83     this.m_color = '0.33 0.56 1';
84 }
85 BUFF_SPAWNFUNCS(flight, BUFF_FLIGHT)
86
87 REGISTER_BUFF(INVISIBLE) {
88     this.m_prettyName = _("Invisible");
89     this.m_name = "invisible";
90     this.m_skin = 12;
91     this.m_color = '0.5 0.5 1';
92 }
93 BUFF_SPAWNFUNCS(invisible, BUFF_INVISIBLE)
94 BUFF_SPAWNFUNC_Q3TA_COMPAT(invis, BUFF_INVISIBLE)
95
96 REGISTER_BUFF(INFERNO) {
97     this.m_prettyName = _("Inferno");
98     this.m_name = "inferno";
99     this.m_skin = 16;
100     this.m_color = '1 0.62 0';
101 }
102 BUFF_SPAWNFUNCS(inferno, BUFF_INFERNO)
103
104 REGISTER_BUFF(SWAPPER) {
105     this.m_prettyName = _("Swapper");
106     this.m_name = "swapper";
107     this.m_skin = 17;
108     this.m_color = '0.63 0.36 1';
109 }
110 BUFF_SPAWNFUNCS(swapper, BUFF_SWAPPER)
111
112 REGISTER_BUFF(MAGNET) {
113     this.m_prettyName = _("Magnet");
114     this.m_name = "magnet";
115     this.m_skin = 18;
116     this.m_color = '1 0.95 0.18';
117 }
118 BUFF_SPAWNFUNCS(magnet, BUFF_MAGNET)