Log inGet started
World

Verdigris Cloister

Branchmain
Branchesmain
Commit65770846aa

README.md

blightform

The Blight's crystalline unit forms. Everything the monks are, these are not: no curve, no cloth, no warmth. Hard facets, cold black-violet, and a lit core that has no business being alive.

The whole colour argument of the game is made here. If a blight form ever reads as "another green thing on the board", it has failed — which is why its colours are pitched well above their nominal palette values and its baked fill runs UP the facets rather than down them: the light on this thing comes from inside it, never from the roof.

idReads asIts job
shardlow and wide, one blade leaning forward like something about to cutthe skirmisher
spirea thin needle with splinters turning around a lit seamthe ranged form
hulka heavy mass under an overhanging crown, wider than a tile is deepthe heavy

Using it

local BlightForm = require("game.units.blightform")

local spec = BlightForm.spec("hulk")     -- { height, scale, idle, parts }
local info = BlightForm.info("hulk")     -- { label, note } for a codex or inspector
CallReturns
BlightForm.ids(){ "shard", "spire", "hulk" }
BlightForm.spec(id)the body spec, built once and cached
BlightForm.info(id){ label, note } — the name and the sentence a tile inspector prints
BlightForm.flush()forget the cached geometry

UnitBodies assembles the parts into entities; this module only describes them. Each form carries a base, a torso, a lit core on emissive_white with a point light in it, and — for the spire and the hulk — a halo or a head that turns against the body.

Idles

They do not breathe. The shard holds still and then snaps a few degrees; the spire's halo turns steadily while its core pulses; the hulk heaves, and grows very slightly as it does. Nothing about the motion is organic, and that is the point.