mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-09 16:33:50 +00:00
## About The Pull Request Currently, the power cost for each shot is just written as a number, and you have to know the size of the cell to know what this number means. If you just see than a laser gun costs 83 energy, then it's not clear that this translates to 12 shots unless you know that the cell holds 1000 units of energy. Now, all energy weapons (except those that cost 0 energy and one that costs 10000) use a macro define in the form of `LASER_SHOTS(X)`. So the laser gun would example be `LASER_SHOTS(12)`, to clearly convey that it gets 12 shots out of a full charge. I also removed the `laser/hellfire/antique` subtype because it had no mechanical difference from `laser/hellfire` whatsoever. ## Why It's Good For The Game Readable code is good. ## Changelog No player facing changes.