2 #include "../../../server/t_items.qh"
3 #include "../../../server/constants.qh"
6 #define WITH(it) this.m_##it;
7 #define CONFIGURE(...) MAP(WITH, __VA_ARGS__)
8 #define DEFINE(id, ...) REGISTER_ITEM(id, Pickup, MAP(IDENTITY, __VA_ARGS__))
12 , model = "models/items/g_jetpack.md3"
16 , botvalue = BOT_PICKUP_RATING_LOW
17 , itemflags = FL_POWERUP
19 , pickupevalfunc = commodity_pickupevalfunc
20 , respawntime = GET(g_pickup_respawntime_powerup)
21 , respawntimejitter = GET(g_pickup_respawntimejitter_powerup)
27 , model = "models/items/g_fuel.md3"
31 , botvalue = BOT_PICKUP_RATING_LOW
33 , pickupevalfunc = commodity_pickupevalfunc
34 , respawntime = GET(g_pickup_respawntime_ammo)
35 , respawntimejitter = GET(g_pickup_respawntimejitter_ammo)
41 , model = "models/items/g_fuelregen.md3"
42 , name = "Fuel regenerator"
45 , botvalue = BOT_PICKUP_RATING_LOW
46 , itemflags = FL_POWERUP
47 , itemid = IT_FUEL_REGEN
48 , pickupevalfunc = commodity_pickupevalfunc
49 , respawntime = GET(g_pickup_respawntime_powerup)
50 , respawntimejitter = GET(g_pickup_respawntimejitter_powerup)