]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/mutators/mutator/powerups/powerups.qh
Merge branch 'terencehill/bot_ai' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mutators / mutator / powerups / powerups.qh
1 #pragma once
2
3 #include <common/items/item/pickup.qh>
4 CLASS(Powerup, Pickup)
5 #ifdef SVQC
6     ATTRIB(Powerup, m_mins, vector, '-16 -16 0');
7     ATTRIB(Powerup, m_maxs, vector, '16 16 80');
8     ATTRIB(Powerup, m_botvalue, int, 11000);
9     ATTRIB(Powerup, m_itemflags, int, FL_POWERUP);
10     ATTRIB(Powerup, m_respawntime, float(), GET(g_pickup_respawntime_powerup));
11     ATTRIB(Powerup, m_respawntimejitter, float(), GET(g_pickup_respawntimejitter_powerup));
12 #endif
13 ENDCLASS(Powerup)
14
15 #include <common/mutators/mutator/status_effects/all.qh>
16 CLASS(Powerups, StatusEffects)
17 #ifdef GAMEQC
18     ATTRIB(Powerups, m_sound_rm, Sound, SND_POWEROFF);
19 #endif
20 ENDCLASS(Powerups)