mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-23 23:24:55 +01:00
57e46b4c9c
## 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. /🆑