]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
items: apply 0.5s spawnshield to all loot drops by default
authorbones_was_here <bones_was_here@xonotic.au>
Thu, 15 Jun 2023 20:53:25 +0000 (06:53 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 15 Jun 2023 20:53:25 +0000 (06:53 +1000)
commitd9d40f1354f7707197842fc173f0fbc4637d61f8
treee48cb69923b1e8dfc77b4599bfdb03065d28e1f2
parenta6423f485060d59253426c339add259c876ae6f6
items: apply 0.5s spawnshield to all loot drops by default

This prevents immediate pickup of the dropped item.

Previously powerups used this mechanism, whereas thrown weapons could be
picked up immediately by everyone except the person who threw them.

It will be consistent for most/all loot items now, and perhaps nicer because
players should see the items in the world before picking them up so it
might feel more deliberate and less random.
qcsrc/common/mutators/mutator/powerups/sv_powerups.qc
qcsrc/server/items/items.qc