2 #include "../../../server/t_items.qh"
3 #include "../../../server/constants.qh"
10 MODEL(Jetpack_ITEM, Item_Model("g_jetpack.md3"));
13 REGISTER_ITEM(Jetpack, Powerup) {
15 this.m_model = MDL_Jetpack_ITEM;
17 this.m_name = "Jet pack";
18 this.m_icon = "jetpack";
19 this.m_color = '0.5 0.5 0.5';
20 this.m_waypoint = _("Jet Pack");
21 this.m_waypointblink = 2;
23 this.m_botvalue = BOT_PICKUP_RATING_LOW;
24 this.m_itemid = IT_JETPACK;
25 this.m_pickupevalfunc = commodity_pickupevalfunc;
30 MODEL(JetpackFuel_ITEM, Item_Model("g_fuel.md3"));
33 REGISTER_ITEM(JetpackFuel, Ammo) {
35 this.m_model = MDL_JetpackFuel_ITEM;
38 this.m_icon = "ammo_fuel";
40 this.m_botvalue = BOT_PICKUP_RATING_LOW;
41 this.m_itemid = IT_FUEL;
46 MODEL(JetpackRegen_ITEM, Item_Model("g_fuelregen.md3"));
49 REGISTER_ITEM(JetpackRegen, Pickup) {
51 this.m_model = MDL_JetpackRegen_ITEM;
53 this.m_name = "Fuel regenerator";
54 this.m_icon = "fuelregen";
55 this.m_color = '1 0.5 0';
56 this.m_waypoint = _("Fuel regen");
57 this.m_waypointblink = 2;
59 this.m_botvalue = BOT_PICKUP_RATING_LOW;
60 this.m_itemflags = FL_POWERUP;
61 this.m_itemid = IT_FUEL_REGEN;
62 this.m_pickupevalfunc = commodity_pickupevalfunc;
63 this.m_respawntime = GET(g_pickup_respawntime_powerup);
64 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_powerup);