]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/compat/quake.qc
Rename GetAmmoConsumptionPrimary to GetAmmoConsumptionQ3 and move to quake3.qc
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / compat / quake.qc
1 #include "quake.qh"
2
3 #include <common/weapons/_all.qh>
4 #include <common/stats.qh>
5 #include <common/weapons/_all.qh>
6
7 /***********************
8  * QUAKE 1 ENTITIES - So people can play quake1 maps with the xonotic weapons
9  ***********************
10  weapon_nailgun handled in quake3.qc
11  item_armor1 handled in items.qc
12 */
13
14 SPAWNFUNC_WEAPON(weapon_supernailgun, WEP_HAGAR)
15 SPAWNFUNC_WEAPON(weapon_supershotgun, WEP_MACHINEGUN)
16
17 SPAWNFUNC_ITEM(item_spikes, ITEM_Bullets)
18 SPAWNFUNC_ITEM(item_armor2, ITEM_ArmorMega)
19 SPAWNFUNC_ITEM(item_armorInv, ITEM_ArmorMega) // TODO: make sure we actually want this
20 SPAWNFUNC_ITEM_COND(item_health, (this.spawnflags & 2), ITEM_HealthMega, ITEM_HealthMedium)