Files
Bubberstation/code/modules/power
SkyratBot 34f28b66b2 [MIRROR] Add prior material amount check to turbine part upgrade [MDB IGNORE] (#25032)
* Add prior material amount check to turbine part upgrade (#79742)

## About The Pull Request

Currently, upgrading turbine parts will use materials every time the
user clicks on it while the upgrade process is active.
The user will now spend a certain amount of materials regardless of the
number of clicks.
## Why It's Good For The Game

It doesn't make sense to spend more materials for the same result.
## Changelog
🆑 mogeoko
fix: Turbine parts will now use an amount of materials no greater than
needed for the upgrade
/🆑

* Add prior material amount check to turbine part upgrade

---------

Co-authored-by: mogeoko <109075486+mogeoko@users.noreply.github.com>
2023-11-15 21:27:34 -05:00
..