Files
Bubberstation/code/game/objects/items
ArcaneMusic 57e46b4c9c Pneumatic Cannons can now be placed on tables and some cleanup/QOL. (#95571)
## About The Pull Request

The Pneumatic Cannon: ~~god's greatest mistake~~

On live there's current a bug, almost certainly attack chain-based
causing the cannon to be unable to be placed on tables. This most often
occurs with the clown's pie cannon, as it will always try and fire at
the table instead of putting it down. This PR corrects this by adding a
small intermediary proc similar to the ones guns use in order to verify
some of the conditions that could prevent you from firing the pneumatic
cannon, while still letting you fire point blank at another mob.

Additionally, Autodocs some variables, as well as axing a variable that
was doing quite literally nothing that another variable was already
doing.

Finally, cleans up some of the logic on `examine()` for the cannon, such
as not looping through 50 pies that an automatic pie cannon can hold,
and cleaning up some magic numbers a bit with some self explanatory
logic regarding combined weight on self-charging pneumatic cannons.

## Why It's Good For The Game

Cleans up some attack chain code, and allows for everyone favorite
non-gun gun to behave in a similar way to a gun that we'd all expect.

Also, makes the examine text a bit more useful, such as displaying the
contents of the cannon in a way that doesn't require a CHECK_TICK for
something that can only hold pies.

Lastly, cleans up most of the var documentation because it's my pet
peeve

## Changelog

🆑
qol: The pneumatic cannon's examine will now show the contents of the
cannon loaded.
fix: You may now place a pneumatic cannon (and the clown's pie cannon!)
onto tables.
/🆑
2026-04-03 15:33:26 +01:00
..
2026-02-03 22:23:09 -05:00
2026-02-03 22:23:09 -05:00
2025-12-21 16:18:34 -08:00
2026-02-03 22:23:09 -05:00