Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dynamic tooltips and energy balance bar (#917)
* Wrote the framework code for getting organelle efficiency updates to the GUI, also did a lot of script bindings refactoring * Fixed JSVendor symlink target * Changed script passed OrganelleTemplates to be always const * Fixed the organelle efficiency calculation bindings * Fixed in browser preview and updated engine version the engine version has nothing major new stuff * A few dynamic tooltips are now working, also refactored the process system to make the code look like it follows the per second numbers given in the process efficiency calculation * Made rest of the editor tooltips dynamic, removed a few typos, fixes a bunch of cases where icons were set with an ID instead of a class * Added a basic energy balance bar, not entirely accurate probably related to: flagella, base movement or osmoregulation cost * Bumped version number and changed the atp balance bar colours * Fixed the the difference between actual ATP usage and the ATP usage bar it was due to the base movement cost being per hex * Made the base movement code much simpler and easier to verify it only takes ATP when moving and not being pushed by other cells etc. fixes #769
- Loading branch information