miki151/keeperrl

unhardcode training types

samuellsk opened this issue · 2 comments

conside unhardcoding training types.
now:
melee = damge
spell = spell_damage

consider changing melee / spell simply into the attribute you want for the furniture to be able to increase

What would you use this for?

What would you use this for?

if someone have a custom damage type or an attribute (forge / workshop...etc) Maybe you want to increase it. Sometime in the future.... Now you can do it through melee/spell training and put there a one time spell to increase that attribute. Image it something like blacksmiths going on the tutorial how to forge better.

Another example is would be custom damage type.
if your create have
0 melle
0 spell
50 custom

traning it in melee / spell again wont gonna increase custom damage directly (for example an ice/fire based creature)