/tg/ Station 13 - Modules - Types

code/datums/components/puzzgrid.dm

/datum/component/puzzgridAttaches a puzzgrid to the atom. You are expected to pass in the puzzgrid, likely from create_random_puzzgrid(). This is so you can handle when a puzzgrid can't be generated, either because the config does not exist, or because the config is not set up properly.
/proc/create_random_puzzgrid Returns a random puzzgrid from config. If config is empty, or no valid puzzgrids can be found in time, will return null.
/datum/puzzgridRepresents an individual puzzgrid
/datum/puzzgrid_groupRepresents an individual group in a puzzgrid