2 #include "../../../server/t_items.qh"
4 #define REGISTER_HEALTH(id, model, sound, resp, name, itemid, botvalue) \
5 REGISTER_ITEM(id, Health, 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_HEALTH(HealthSmall
16 , "models/items/g_h1.md3"
17 , "misc/minihealth.wav"
21 , BOT_PICKUP_RATING_LOW
24 REGISTER_HEALTH(HealthMedium
25 , "models/items/g_h25.md3"
26 , "misc/mediumhealth.wav"
30 , BOT_PICKUP_RATING_MID
33 REGISTER_HEALTH(HealthLarge
34 , "models/items/g_h50.md3"
35 , "misc/mediumhealth.wav"
39 , BOT_PICKUP_RATING_MID
42 REGISTER_HEALTH(HealthMega
43 , "models/items/g_h100.md3"
44 , "misc/megahealth.wav"
48 , BOT_PICKUP_RATING_HIGH