2 #include "../../../server/t_items.qh"
3 #include "../../../server/constants.qh"
9 REGISTER_ITEM(Jetpack, Powerup) {
10 this.m_model = "models/items/g_jetpack.md3";
11 this.m_name = "Jet pack";
13 this.m_botvalue = BOT_PICKUP_RATING_LOW;
14 this.m_itemid = IT_JETPACK;
15 this.m_pickupevalfunc = commodity_pickupevalfunc;
19 REGISTER_ITEM(JetpackFuel, Ammo) {
20 this.m_model = "models/items/g_fuel.md3";
22 this.m_ammoPic = "ammo_fuel";
24 this.m_botvalue = BOT_PICKUP_RATING_LOW;
25 this.m_itemid = IT_FUEL;
29 REGISTER_ITEM(JetpackRegen, Pickup) {
30 this.m_model = "models/items/g_fuelregen.md3";
31 this.m_name = "Fuel regenerator";
33 this.m_botvalue = BOT_PICKUP_RATING_LOW;
34 this.m_itemflags = FL_POWERUP;
35 this.m_itemid = IT_FUEL_REGEN;
36 this.m_pickupevalfunc = commodity_pickupevalfunc;
37 this.m_respawntime = GET(g_pickup_respawntime_powerup);
38 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_powerup);