realDragon11 / Trawel-Text

An open world text adventure rpg. (Source-Available, ask before redistributing.)
Other
5 stars 3 forks source link

Items Internal Code Cleanup #45

Closed realDragon11 closed 11 months ago

realDragon11 commented 11 months ago

Items as a whole were cleaned up, but Armor saw the most extensive rewrite to start, with it's type being converted into a style + material, and drastically reducing the amount of stored information while increasing maintainability and ease-of-update.

'Styles' will correspond to new Graphical armor sets, once those start being created, and fill the role 'normal metal vs mail vs cloth vs gem' did in the past.

Later, Weapons got similar treatment with their types converting to Enums instead of strings, and all Attacks getting redone.

The most recent change has been the internal concept of an 'Effective Level', which means that level 2 is no longer twice as good as level 1. Now, every object gets (level+10)/10 to determine it's effective level, which matters mostly for Person HP, Armor Resist, and Weapon Damage.

This needs extensive balance testing.

realDragon11 commented 11 months ago

Internal baseline testing has completed, now into further longterm balance management.

realDragon11 commented 10 months ago

Styles updated to apply properly, armor traits re-added.