]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
items: clean up pickup value cvars
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 24 Feb 2025 14:27:43 +0000 (00:27 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Fri, 14 Mar 2025 18:10:33 +0000 (04:10 +1000)
commit90b8f13d09a460975d9f32de2a9873b1260ae432
treead943823ee389c493b02508421e240b1cf449a60
parent046bcca59b303e12aeeb5384b9621be28d6f5d97
items: clean up pickup value cvars

- uses autocvars instead of copying in worldspawn
- removes unnecessary funcs
- removes duplicate/inconsistent _max and autocvar _max ammo globals
15 files changed:
qcsrc/common/items/item/ammo.qh
qcsrc/common/items/item/armor.qh
qcsrc/common/items/item/health.qh
qcsrc/common/items/item/jetpack.qh
qcsrc/common/items/item/pickup.qh
qcsrc/common/monsters/monster/mage.qc
qcsrc/common/mutators/mutator/nades/nade/heal.qc
qcsrc/common/mutators/mutator/nix/sv_nix.qc
qcsrc/common/mutators/mutator/vampirehook/sv_vampirehook.qc
qcsrc/common/resources/sv_resources.qc
qcsrc/server/items/items.qc
qcsrc/server/weapons/spawning.qc
qcsrc/server/weapons/spawning.qh
qcsrc/server/world.qc
qcsrc/server/world.qh