]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Classify arc and shockwave as "new toys"
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 1 Sep 2024 04:35:28 +0000 (14:35 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 3 Oct 2024 08:00:51 +0000 (18:00 +1000)
commitb55c0cc9a6ec078977d27da911dea150bc13169b
tree39dda366b7b92f10c3b9e7959bf7ffff79ad5495
parent0ce593886b082ceb54b0e4cacad478b0755d1bd8
Classify arc and shockwave as "new toys"

These are very unfinished, some of the other "new toys" weapons are far
more polished. As with the others, they can be allowed to spawn as
placed with g_new_toys 1; g_new_toys_autoreplace 0.

Fixes shockwave being listed in nt_IsNewToy() but not having
WEP_FLAG_MUTATORBLOCKED.

Fixes item spawning and g_weaponarena all and all_available not
respecting WEP_FLAG_HIDDEN (g_warmup_allguns 1 did respect it).

Changes the pipeline hash because apparently bots have been using a
WEP_FLAG_HIDDEN weapon due to g_weaponarena all in serverbench.cfg.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
.gitlab-ci.yml
qcsrc/common/mutators/mutator/new_toys/sv_new_toys.qc
qcsrc/common/weapons/weapon/arc.qh
qcsrc/common/weapons/weapon/shockwave.qh
qcsrc/server/items/items.qc
qcsrc/server/weapons/spawning.qc
qcsrc/server/world.qc