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

dirt_taur_source

A taur body's sprite as mess reads it: each of its layers' states, its colour layers' together, as the taur body draws them on the 64x32 taur canvas. A mess aimed at the back puts pools along the back these pixels show (dirt_taur_pools()). Made once and never changed.

Vars

cached_keytaur_key(), once built.
iconThe sheet: an icon file, or an icon made at run time.
layer_statesalist(EXTERNAL_* layer key = list of the states drawn at that layer).

Procs

NewArguments:
taur_keyReturns what the source draws, as text: taur bodies with the same key take pools on the same pixels.

Var Details

cached_key

taur_key(), once built.

icon

The sheet: an icon file, or an icon made at run time.

layer_states

alist(EXTERNAL_* layer key = list of the states drawn at that layer).

Proc Details

New

Arguments:

taur_key

Returns what the source draws, as text: taur bodies with the same key take pools on the same pixels.