3 #include "../../../server/t_items.qh"
6 #define WITH(it) this.m_##it;
7 #define CONFIGURE(...) MAP(WITH, __VA_ARGS__)
8 #define DEFINE(id, ...) \
9 REGISTER_ITEM(id, Ammo, LAMBDA( \
11 , respawntime = GET(g_pickup_respawntime_ammo) \
12 , respawntimejitter = GET(g_pickup_respawntimejitter_ammo) \
14 UNWORDS(__VA_ARGS__) \
19 , model = "models/items/a_bullets.mdl"
29 , model = "models/items/a_cells.md3"
39 , model = "models/items/a_cells.md3"
49 , model = "models/items/a_rockets.md3"
59 , model = "models/items/a_shells.md3"