grid_load_metadata
Fill a given tile with its area/turf/objects/mobs Variable model is one full map line (e.g /turf/unsimulated/wall{icon_state = "rock"}, /area/mine/explored)
WORKING :
-
Read the model string, member by member (delimiter is ',')
-
Get the path of the atom and store it into a list
-
a) Check if the member has variables (text within '{' and '}')
-
b) Construct an associative list with found variables, if any (the atom index in members is the same as its variables in members_attributes)
-
Instanciates the atom with its variables