1 #include "../../common/items/item.qh"
3 float instagib_respawntime_ammo = 45;
4 float instagib_respawntimejitter_ammo = 0;
5 GETTER(float, instagib_respawntime_ammo)
6 GETTER(float, instagib_respawntimejitter_ammo)
8 REGISTER_ITEM(VaporizerCells, Ammo) {
9 this.m_model = "a_cells.md3";
10 this.m_sound = "misc/itempickup.wav";
11 this.m_name = "Vaporizer Ammo";
12 this.m_icon = "ammo_supercells";
14 this.m_botvalue = 100;
15 this.m_itemid = IT_CELLS;
16 this.m_respawntime = GET(instagib_respawntime_ammo);
17 this.m_respawntimejitter = GET(instagib_respawntimejitter_ammo);
21 REGISTER_ITEM(ExtraLife, Powerup) {
22 this.m_model = "g_h100.md3";
23 this.m_sound = "misc/megahealth.wav";
24 this.m_name = "Extra life";
25 this.m_icon = "item_mega_health";
26 this.m_color = '1 0 0';
27 this.m_waypoint = _("Extra life");
28 this.m_waypointblink = 2;
29 this.m_itemid = IT_NAILS;
32 REGISTER_ITEM(Invisibility, Powerup) {
33 this.m_model = "g_strength.md3";
34 this.m_sound = "misc/powerup.wav";
35 this.m_name = "Invisibility";
36 this.m_icon = "strength";
37 this.m_color = '0 0 1';
38 this.m_waypoint = _("Invisibility");
39 this.m_waypointblink = 2;
40 this.m_itemid = IT_STRENGTH;
43 REGISTER_ITEM(Speed, Powerup) {
44 this.m_model = "g_invincible.md3";
45 this.m_sound = "misc/powerup_shield.wav";
46 this.m_name = "Speed";
47 this.m_icon = "shield";
48 this.m_color = '1 0 1';
49 this.m_waypoint = _("Speed");
50 this.m_waypointblink = 2;
51 this.m_itemid = IT_INVINCIBLE;