Closed kanethemediocre closed 3 years ago
Code for upgrades moved to upgrade class, under "apply()" function--prices update, and ship stats do too. The shopitem class now calls the "apply()" function when it's type is "upgrade". It all seems to work.
Upgrade class is sort of barely used, everything except description is handled within the shop code. Upgrades may or may not work in current paradigm, and the cost doesn't tier-scale consistently across identical upgrade entries (ie, shop A may have an armor upgrade option, and shop B may also have an armor upgrade option--upgrading at shop A will not increase the cost of a 2nd upgrade at shop B.