2 #include "../../../server/t_items.qh"
4 #define WITH(it) this.m_##it;
5 #define CONFIGURE(...) MAP(WITH, __VA_ARGS__)
6 #define DEFINE(id, ...) \
7 REGISTER_ITEM(id, Ammo, LAMBDA( \
10 , itemflags = FL_POWERUP \
11 , respawntime = GET(g_pickup_respawntime_powerup) \
12 , respawntimejitter = GET(g_pickup_respawntimejitter_powerup) \
14 UNWORDS(__VA_ARGS__) \
19 , model = "models/items/g_strength.md3"
20 , sound = "misc/powerup.wav"
21 , name = "Strength Powerup"
24 , itemid = IT_STRENGTH
29 , model = "models/items/g_invincible.md3"
30 , sound = "misc/powerup_shield.wav"
34 , itemid = IT_INVINCIBLE