Original Post
Hi! I need help to come up with a good way to handle item-properties in my VC++ rpg. An item (an armour for example) can have a list of several mods. Like it gives +10 to Hp, +1 strength, 30% faster running speed and so on. These should be red in from a text file, maybe in chunks of WHAT it mods, HOW it mods it(add/mul) and the AMOUNT it mods. These should be applied on the GameObject equipping the item. Im not sure how to map these item-properties to my game-object hierarchy, toghether with file-loading, and enums. How i ever concieve it it seems like i will have to hardcode alot of enums against switch-cases and so on. Can anyone point me in a direction of a smart way of doing this? Dont know if I make any sense at all. Thanks, /T!