list method
var/list/villages = list( \
"village1" = list( \
"rank1" = list(),
"rank2" = list(),
"rank3" = list(),
"village2" = list( \
"rank1" = list(),
"rank2" = list(),
"rank3" = list())
)
)
//but sadly, i have no idea on how to access that, and it looks ugly =/
datum method
village1
var
list
rank1 = list()
rank2 = list("adg","asgta","gad")
rank3 = list("veh","gadg")
village2
var
list
rank1 = list("gas")
rank2 = list("35")
rank3 = list("asdha")
var
village1/first = new /village1()
village2/second = new /village2()
// yet this doesn't look very efficient =/
I'd go with the datums because they're much less complicated than that list setup. Also, what if you had a parent village type? Something like this, maybe?
That's what I think, anywho. You should probably wait for a few more opinions, though.