]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/item/health.qc
effectinfo: regenerate effectinfo.txt
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / health.qc
1 #include "health.qh"
2 #ifdef SVQC
3     #include "../../../server/t_items.qh"
4 #endif
5
6 REGISTER_ITEM(HealthSmall, Health) {
7     this.m_model                =   "g_h1.md3";
8     this.m_sound                =   "misc/minihealth.wav";
9     this.m_name                 =   "5 Health";
10     this.m_icon                 =   "health";
11 #ifdef SVQC
12     this.m_botvalue             =   BOT_PICKUP_RATING_LOW;
13     this.m_itemid               =   IT_5HP;
14     this.m_respawntime          =   GET(g_pickup_respawntime_short);
15     this.m_respawntimejitter    =   GET(g_pickup_respawntimejitter_short);
16 #endif
17 }
18
19 REGISTER_ITEM(HealthMedium, Health) {
20     this.m_model                =   "g_h25.md3";
21     this.m_sound                =   "misc/mediumhealth.wav";
22     this.m_name                 =   "25 Health";
23     this.m_icon                 =   "health";
24 #ifdef SVQC
25     this.m_botvalue             =   BOT_PICKUP_RATING_MID;
26     this.m_itemid               =   IT_25HP;
27     this.m_respawntime          =   GET(g_pickup_respawntime_short);
28     this.m_respawntimejitter    =   GET(g_pickup_respawntimejitter_short);
29 #endif
30 }
31
32 REGISTER_ITEM(HealthLarge, Health) {
33     this.m_model                =   "g_h50.md3";
34     this.m_sound                =   "misc/mediumhealth.wav";
35     this.m_name                 =   "50 Health";
36     this.m_icon                 =   "health";
37     this.m_color                =   '1 0 0';
38     this.m_waypoint             =   _("Large health");
39 #ifdef SVQC
40     this.m_botvalue             =   BOT_PICKUP_RATING_MID;
41     this.m_itemid               =   IT_25HP;
42     this.m_respawntime          =   GET(g_pickup_respawntime_medium);
43     this.m_respawntimejitter    =   GET(g_pickup_respawntimejitter_medium);
44 #endif
45 }
46
47 REGISTER_ITEM(HealthMega, Health) {
48     this.m_model                =   "g_h100.md3";
49     this.m_sound                =   "misc/megahealth.wav";
50     this.m_name                 =   "100 Health";
51     this.m_icon                 =   "item_mega_health";
52     this.m_color                =   '1 0 0';
53     this.m_waypoint             =   _("Mega health");
54     this.m_waypointblink        =   2;
55 #ifdef SVQC
56     this.m_botvalue             =   BOT_PICKUP_RATING_HIGH;
57     this.m_itemid               =   IT_HEALTH;
58     this.m_respawntime          =   GET(g_pickup_respawntime_long);
59     this.m_respawntimejitter    =   GET(g_pickup_respawntimejitter_long);
60 #endif
61 }