2 #include "../../../server/t_items.qh"
4 #define REGISTER_ARMOR(id, model, sound, resp, name, itemid, botvalue) \
5 REGISTER_ITEM(id, Armor, LAMBDA({ \
6 this.m_model = model; \
7 this.m_sound = sound; \
8 this.m_respawntime = resp; \
9 this.m_respawntimejitter = resp; \
11 this.m_itemid = itemid; \
12 this.m_botvalue = botvalue; \
15 REGISTER_ARMOR(ArmorSmall
16 , "models/items/item_armor_small.md3"
21 , BOT_PICKUP_RATING_LOW
24 REGISTER_ARMOR(ArmorMedium
25 , "models/items/item_armor_medium.md3"
30 , BOT_PICKUP_RATING_MID
33 REGISTER_ARMOR(ArmorBig
34 , "models/items/item_armor_big.md3"
35 , "misc/armor17_5.wav"
39 , 20000 // FIXME: higher than BOT_PICKUP_RATING_HIGH?
42 REGISTER_ARMOR(ArmorLarge
43 , "models/items/item_armor_large.md3"
48 , BOT_PICKUP_RATING_HIGH