Space Station 13 - Modules - Types — Proc Details

mapping

Procs

parse_gridFill a given tile with its area/turf/objects/mobs Variable model is one full map line (e.g /turf/wall/dummy{icon_state = "rock"}, /area/mine/explored)

Proc Details

parse_grid

Fill a given tile with its area/turf/objects/mobs Variable model is one full map line (e.g /turf/wall/dummy{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