3 #include "../../../server/t_items.qh"
6 #define WITH(it) this.m_##it;
7 #define CONFIGURE(...) MAP(WITH, __VA_ARGS__)
8 #define DEFINE(id, ...) REGISTER_ITEM(id, Armor, MAP(IDENTITY, __VA_ARGS__))
12 , model = "models/items/item_armor_small.md3"
13 , sound = "misc/armor1.wav"
17 , botvalue = BOT_PICKUP_RATING_LOW
18 , itemid = IT_ARMOR_SHARD
19 , respawntime = GET(g_pickup_respawntime_short)
20 , respawntimejitter = GET(g_pickup_respawntimejitter_short)
26 , model = "models/items/item_armor_medium.md3"
27 , sound = "misc/armor10.wav"
31 , botvalue = BOT_PICKUP_RATING_MID
33 , respawntime = GET(g_pickup_respawntime_medium)
34 , respawntimejitter = GET(g_pickup_respawntimejitter_medium)
40 , model = "models/items/item_armor_big.md3"
41 , sound = "misc/armor17_5.wav"
45 , botvalue = 20000 // FIXME: higher than BOT_PICKUP_RATING_HIGH?
47 , respawntime = GET(g_pickup_respawntime_long)
48 , respawntimejitter = GET(g_pickup_respawntimejitter_long)
54 , model = "models/items/item_armor_large.md3"
55 , sound = "misc/armor25.wav"
59 , botvalue = BOT_PICKUP_RATING_HIGH
61 , respawntime = GET(g_pickup_respawntime_long)
62 , respawntimejitter = GET(g_pickup_respawntimejitter_long)