]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/item/armor.qc
Reduce spam of "x minutes" and "x fps" strings of a few sliders
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / armor.qc
1 #include "armor.qh"
2 #ifdef SVQC
3     #include "../../../server/t_items.qh"
4 #endif
5
6 REGISTER_ITEM(ArmorSmall, Armor) {
7     this.m_model                =   "item_armor_small.md3";
8     this.m_sound                =   "misc/armor1.wav";
9     this.m_name                 =   "5 Armor";
10     this.m_icon                 =   "armor";
11 #ifdef SVQC
12     this.m_botvalue             =   BOT_PICKUP_RATING_LOW;
13     this.m_itemid               =   IT_ARMOR_SHARD;
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(ArmorMedium, Armor) {
20     this.m_model                =   "item_armor_medium.md3";
21     this.m_sound                =   "misc/armor10.wav";
22     this.m_name                 =   "25 Armor";
23     this.m_icon                 =   "armor";
24 #ifdef SVQC
25     this.m_botvalue             =   BOT_PICKUP_RATING_MID;
26     this.m_itemid               =   IT_ARMOR;
27     this.m_respawntime          =   GET(g_pickup_respawntime_medium);
28     this.m_respawntimejitter    =   GET(g_pickup_respawntimejitter_medium);
29 #endif
30 }
31
32 REGISTER_ITEM(ArmorLarge, Armor) {
33     this.m_model                =   "item_armor_big.md3";
34     this.m_sound                =   "misc/armor17_5.wav";
35     this.m_name                 =   "50 Armor";
36     this.m_icon                 =   "armor";
37     this.m_color                =   '0 1 0';
38     this.m_waypoint             =   _("Large armor");
39 #ifdef SVQC
40     this.m_botvalue             =   20000; // FIXME: higher than BOT_PICKUP_RATING_HIGH?
41     this.m_itemid               =   IT_ARMOR;
42     this.m_respawntime          =   GET(g_pickup_respawntime_long);
43     this.m_respawntimejitter    =   GET(g_pickup_respawntimejitter_long);
44 #endif
45 }
46
47 REGISTER_ITEM(ArmorMega, Armor) {
48     this.m_model                =   "item_armor_large.md3";
49     this.m_sound                =   "misc/armor25.wav";
50     this.m_name                 =   "100 Armor";
51     this.m_icon                 =   "item_large_armor";
52     this.m_color                =   '0 1 0';
53     this.m_waypoint             =   _("Mega armor");
54     this.m_waypointblink        =   2;
55 #ifdef SVQC
56     this.m_botvalue             =   BOT_PICKUP_RATING_HIGH;
57     this.m_itemid               =   IT_ARMOR;
58     this.m_respawntime          =   GET(g_pickup_respawntime_long);
59     this.m_respawntimejitter    =   GET(g_pickup_respawntimejitter_long);
60 #endif
61 }