Hi Rex, some questions about hashtables
is there a way to loop thru a hashtable or should i combine it somehow with an array
and is a hashtable a good way to do something like a shop with tabs :
example:
armortab:
heavy armor = properties: defence:4 attack:0
medium armor = properties: defence:2 attack:0
...
weaponstab:
sword = prop: def:1 atk:6
dagger= prop: def:0 atk:2
...
how would i write something like this?
{"armor"{"heavy_armor"{"def":4}, "medium_armor"{"def":2,"atk":2} }, "weapons "{"sword"{"def":1,"atk":6} "dagger"{"def":0,"atk":2} }}
?
thanx for any advice you can give..