]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Document item_armor25 usage in Nexuiz
authorterencehill <piuntn@gmail.com>
Fri, 3 Mar 2023 11:23:31 +0000 (12:23 +0100)
committerterencehill <piuntn@gmail.com>
Fri, 3 Mar 2023 11:23:31 +0000 (12:23 +0100)
qcsrc/server/items/spawning.qc

index 2085521424941e6643d6be6491f4b2cfef18a503..561a5673a08011856e26d68cd28ecf8d9786add7 100644 (file)
@@ -148,15 +148,9 @@ void Item_SetExpiring(entity item, bool expiring)
 
 // in Quake this is green armor, in Xonotic maps it is an armor shard
 SPAWNFUNC_ITEM_COND(item_armor1, autocvar_sv_mapformat_is_quake3, ITEM_ArmorSmall, ITEM_ArmorMedium)
-
-SPAWNFUNC_ITEM(item_armor25, ITEM_ArmorMega)
-
-SPAWNFUNC_ITEM(item_armor_large, ITEM_ArmorMega)
-
+SPAWNFUNC_ITEM(item_armor25, ITEM_ArmorMega) // Nexuiz used item_armor25 to spawn a Mega Armor
 SPAWNFUNC_ITEM(item_health1, ITEM_HealthSmall)
-
 SPAWNFUNC_ITEM(item_health25, ITEM_HealthMedium)
-
-SPAWNFUNC_ITEM(item_health_large, ITEM_HealthBig)
-
 SPAWNFUNC_ITEM(item_health100, ITEM_HealthMega)
+SPAWNFUNC_ITEM(item_armor_large, ITEM_ArmorMega)
+SPAWNFUNC_ITEM(item_health_large, ITEM_HealthBig)