1 #include "../../common/items/item.qh"
3 #define WITH(it) this.m_##it;
4 #define CONFIGURE(...) MAP(WITH, __VA_ARGS__)
6 float instagib_respawntime_ammo = 45;
7 float instagib_respawntimejitter_ammo = 0;
8 GETTER(float, instagib_respawntime_ammo)
9 GETTER(float, instagib_respawntimejitter_ammo)
11 REGISTER_ITEM(VaporizerCells, Ammo) {
12 this.m_model = "a_cells.md3";
13 this.m_sound = "misc/itempickup.wav";
14 this.m_name = "Vaporizer Ammo";
15 this.m_icon = "ammo_supercells";
17 this.m_botvalue = 100;
18 this.m_itemid = IT_CELLS;
19 this.m_respawntime = GET(instagib_respawntime_ammo);
20 this.m_respawntimejitter = GET(instagib_respawntimejitter_ammo);
24 REGISTER_ITEM(ExtraLife, Powerup) {
25 this.m_model = "g_h100.md3";
26 this.m_sound = "misc/megahealth.wav";
27 this.m_name = "Extralife";
28 this.m_icon = "item_mega_health";
30 this.m_itemid = IT_NAILS;
31 this.m_botvalue = BOT_PICKUP_RATING_HIGH;