Explore possible ways of creating and upgrading gems.
SigmundGranaas opened this issue ยท 2 comments
Gems are stored on each individual tool part, making it possible to have 3 gems in total. The primary goal of gems is to improve the tools stat-wise. The gems will also change the appearance of the tool part.
Gems can be applied to tool parts in the upgrade station.
Gems can be upgraded to a new level in the upgrade station.
Handling the state of a tool part can be challenging when its state get complex. The tool part has to take into consideration material + secondarymaterial + type of tool part + possible gems. In which order should effects be applied? IDK yet. I might look into implementing a system for handling state on each and every tool part.
Using the state pattern might be a good idea.