Lists VS Variables in Design Philosophy
|
|
Would it be a better use of resources to use associative lists instead of variables for things such as player skills.
For example:
player { parent_type = /mob; var { alchemy; blackSmithing; fishing; poetry; etc; } }
|
VS:
player { parent_type = /mob; var { list { skills = list("alchemy" = 1, "blackSmithing" = 2, "fishing" = 1, "poetry" = 4, "etc" = 99); } } }
|
If so would it be safe to say I could make a list of variables for each atom to save more resources?
|
So from a purely resource perspective, you would be better off using separate variables instead of an associative list.