* fix#5390
stringtable optimization
* Dont use the same wort twice - magazinerepack stringtable
* [magazinerepack] get bulletsLeft in last partial mag as optional param
* [magrepack] remove unused entries
* [magrepack] entry is needed for interrupt event
* [magrepack] finish msg
successful -> full mags + left rounds
Interrupted -> full mags + partial mags
* [magrepack] final translation change
* space fix
* Enable majority of actions underwater
* Remove log
* Add logistics_wirecutter support (don't play kneel animations underwater - looks silly)
* Don't perform kneel animations when repairing or medicaling underwater
* Fix interaction menu rendering underwater (was moving based on player eye level due to height max used for large vehicles)
* Fix attach underwater (LIW does not work underwater, LIS does), Add attach scan drawing define
* Remove left-over systemChat
* Remove vehiclelock from Plane, Disallow linking belt underwater, Allow checking ammo when sitting via action (was already possible via keybind), Use param for LIS
* Optimizations with private, params, and isEqualType
* Fixed tab being used instead of space
* Fixed tabs inserted by notepad++
* More usage of new private syntax and params
- changed a few checks for an array being empty to `_arr isEqualTo []`
rather than `count _arr == 0`
- added more uses of `private` on the same line as the variable is
declared
- added more uses of params to assign variables passed as parameters
- removed unnecessary parentheses
- removed several unnecessary variable declarations with private array
syntax
* clean up and formatting
Temporary solution until we get something properly done.
Ideally we would calculate the height of the box through the amount of characters. For that we would need a font with a consistent width across each character, or figure out the width for each character ourselves.