var/list/food=list("Egg"=list("White","Yolk"),"Bacon"=list("Meat","Fat"))
That is just a very simple example. What I'm trying to figure out is how to view them(white, yolk, meat and fat ect)?
client/verb
show_foods()
for(var/f in food)
src<<"[f] (Contains: [list2params(food[f])])"
This outputs:
"Egg (Contains: White&Yolk)"
While this is OK I want I want it to be spaced out, preferably with commas like this:
"Egg (Contains: White, Yolk)"
Is there any other way of doing this apart from using list2params()?