Space Station 13 - Nebula13 - Modules - Types

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 :

  1. Read the model string, member by member (delimiter is ',')

  2. Get the path of the atom and store it into a list

  3. a) Check if the member has variables (text within '{' and '}')

  4. b) Construct an associative list with found variables, if any (the atom index in members is the same as its variables in members_attributes)

  5. Instanciates the atom with its variables