2 #include "../../../server/t_items.qh"
4 #define WITH(it) this.m_##it;
5 #define CONFIGURE(...) MAP(WITH, __VA_ARGS__)
6 #define DEFINE(id, ...) REGISTER_ITEM(id, Armor, MAP(IDENTITY, __VA_ARGS__))
10 , model = "models/items/item_armor_small.md3"
11 , sound = "misc/armor1.wav"
13 , itemid = IT_ARMOR_SHARD
16 , botvalue = BOT_PICKUP_RATING_LOW
17 , respawntime = SPAWNTIME_SHORT
18 , respawntimejitter = SPAWNTIME_SHORT
24 , model = "models/items/item_armor_medium.md3"
25 , sound = "misc/armor10.wav"
30 , botvalue = BOT_PICKUP_RATING_MID
31 , respawntime = SPAWNTIME_MEDIUM
32 , respawntimejitter = SPAWNTIME_MEDIUM
38 , model = "models/items/item_armor_big.md3"
39 , sound = "misc/armor17_5.wav"
44 , botvalue = 20000 // FIXME: higher than BOT_PICKUP_RATING_HIGH?
45 , respawntime = SPAWNTIME_LONG
46 , respawntimejitter = SPAWNTIME_LONG
52 , model = "models/items/item_armor_large.md3"
53 , sound = "misc/armor25.wav"
58 , botvalue = BOT_PICKUP_RATING_HIGH
59 , respawntime = SPAWNTIME_LONG
60 , respawntimejitter = SPAWNTIME_LONG