2 #include "../common/weapons/all.qh"
4 spawnfunc(weapon_electro);
5 spawnfunc(weapon_hagar);
6 spawnfunc(weapon_machinegun);
7 spawnfunc(item_bullets);
8 spawnfunc(item_armor_large);
9 spawnfunc(item_armor_large);
10 spawnfunc(item_health_mega);
11 spawnfunc(item_health_medium);
13 //***********************
14 //QUAKE 1 ENTITIES - So people can play quake1 maps with the xonotic weapons
15 //***********************
16 spawnfunc(weapon_nailgun) {spawnfunc_weapon_electro(this);}
17 spawnfunc(weapon_supernailgun) {spawnfunc_weapon_hagar(this);}
18 spawnfunc(weapon_supershotgun) {spawnfunc_weapon_machinegun(this);}
20 spawnfunc(item_spikes) {spawnfunc_item_bullets(this);}
21 //spawnfunc(item_armor1) {spawnfunc_item_armor_medium(this);} // FIXME: in Quake this is green armor, in Xonotic maps it is an armor shard
22 spawnfunc(item_armor2) {spawnfunc_item_armor_large(this);}
23 void item_armorInv() {SELFPARAM();spawnfunc_item_armor_large(self);}
24 spawnfunc(item_health) {if (self.spawnflags & 2) spawnfunc_item_health_mega(this);else spawnfunc_item_health_medium(this);}
26 //spawnfunc_item_spikes
27 //spawnfunc_item_health