Underbarrel ROF changes, self-extinguishing with underbarrel extinguisher.
Changelog
tweak: Modified PB backend a bit for efficiency, shouldn't have any visible effect. Any issues would probably be with the under-extinguisher failing to fire, but testing shows no issues.
rscadd: Attachable guns now track their own last-fired time, fixing them sometimes having enormous fire delays when activated after firing the host gun. This also means firing an underbarrel attachment doesn't put the main gun on cooldown.
bugfix: You can now extinguish yourself or others using melee clicks with an activated underbarrel extinguisher.
/
Details
Split from #1205.
PB now returns either ..() or TRUE, to stop attack_adjacent() from calling unnecessary afterattacks.
PB changes mean afterattack never gets called in melee, so the extinguisher check gets moved to attack().
Flamer code updated to check for and fire non-projectile attachments.
I don't think there's anything an underbarrel can do that's more dangerous than swapping to a second shotgun, aside from perhaps UGL.
Related Issues
Closes