void Update()
{
if(myMenu.on) {
SectionMaterial m = ValueStore.selectedMaterial;
SectionWeapon w = ValueStore.selectedWeapon;
if(m == null || w == null) {
ValueStore.helpMessage = "Select both a material and a weapon.";
} else if(m.GetCost() + w.GetCost() > TurnOrder.myPlayer.GetResources()) {
ValueStore.helpMessage = "You do not have enough resources to build that. Choose different options.";
} else {
int weight = (int)(m.GetWeight() * m.GetInitialSP()) + w.GetWeight();
string help = "Weight: " + weight;
help += "\nDamage: " + w.GetDamage();
ValueStore.helpMessage = help;
}
}
}