]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Move attributes for items and nades into their classes
authorotta8634 <k9wolf@pm.me>
Fri, 20 Dec 2024 08:26:17 +0000 (16:26 +0800)
committerotta8634 <k9wolf@pm.me>
Fri, 20 Dec 2024 08:26:17 +0000 (16:26 +0800)
commit4192f3a1af613f8085e66c8c7a1c8a1c3bfc6332
tree1037a96dc95a56beb65cfb9abf2b91e511901ce6
parent15ca859aaa21422bbc9a3661ba262a71c2a55350
Move attributes for items and nades into their classes

This makes it more consistent with weapons, buffers, some powerups, monsters, and vehicles.
Also this makes it possible to use the COLORED_NAME macro on them in the guide.
This could be done for the rest of the powerups too, but they're a bit of a mess currently.
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/mutators/mutator/instagib/items.qh
qcsrc/common/mutators/mutator/nades/nades.inc