I was curious how you guys went about this; I want to add like dynamic variables to mobs and players and stuff.
So rather than have like a new field for every value, maybe a sort of hashtable for keys and values for strings and ints. I haven't managed to make cool looking setups like I could pull off with a c++ setup, but maybe like a variant or something similar?
That would allow me to keep track of the number of houses a player has for example. Has something like this been done? Is there an easy clean way of extending players and other objects without having to edit the files?