/tg/ Station 13 - Modules - Types — Var Details

dirt_template

A body's dirt template: its surface in each direction and the pixels each zone shows, built once from the sprites it's drawn from and shared by every body drawn from the same ones.

Vars

keyWhat it's built from, as dirt_template_key() writes it.
silhouettesalist(zone = alist(direction = indexes)): the pixels where each zone's image is the topmost limb image, in row-major order. The zones' pixels don't overlap, so an overlay over the limbs, clipped to its limb's, stays off the others.
surfacesalist(direction = /datum/dirt_surface)

Var Details

key

What it's built from, as dirt_template_key() writes it.

silhouettes

alist(zone = alist(direction = indexes)): the pixels where each zone's image is the topmost limb image, in row-major order. The zones' pixels don't overlap, so an overlay over the limbs, clipped to its limb's, stays off the others.

surfaces

alist(direction = /datum/dirt_surface)