Light is life: one wick for health, sight and the sparks you place
Wren goes down into the lamp cellar under Harrow Lane with one lantern, and the rules keep one number for it: the wick she has left. That number has three jobs.
Hurt means half blind
Every hit, from a creature, damp or burning oil, burns a piece off the wick, and the wick's length is how far the lantern reaches. So each hit shrinks her light, and a dimling stays a shape until it is closer.
Shapes in the dark
A dimling or Old Soot in the dark is only a shape: a spark flies through it. In the light a spark hurts it, and a dimling slows down. A spark that ends leaves an ember, a small lamp for a few seconds, so a spark thrown beside a dimling makes it something to hit. So does a burning brazier or burning oil.
What light costs
A flare makes the lantern reach across the whole room for five seconds, for a flask of lamp oil or else a piece of the wick, never the last. A step aside costs light too: for its few fast steps nothing touches her, but the lantern is under her coat and reaches half as far until a moment after.
The dark answers
A snuffer's damp puts out embers and braziers and leaves wet floor where no ember burns. A mothkin flies into a burning brazier and burns, or else eats an ember. A wick thief takes a piece of the wick without a hit and runs, the piece burning on its back as a small lamp; put out, the thief leaves it as wax. Old Soot's ring puts out every ember, brazier and fire it passes, and closes her flare.
How "lit" is decided
At the end of every tick, with everything where you will see it, one ray goes to each creature's middle from each lamp: the lantern, every ember, every burning brazier, oil on fire, a thief's flame. Walls and pillars stop it, braziers do not. If one arrives strong enough, the creature is lit. A dimling whose middle is in a pillar's shadow is still a shape.
For your own game
If one number does several jobs in your game, ask your AI to list every rule that reads it, and to ask a question like "is it lit" once a tick, after everything has moved.
Read up
The pages of ours this note builds on, and what others have written about its point.
Health as a number that hits take away: in Last Wick the same number also sets how far the lantern reaches.
Why Wren cannot be hurt again for a moment after a hit, so one dimling cannot burn the whole wick down in a blink.
The one ray from each lamp to a creature is this question: does a wall or a pillar stand between the two?
Lantern Light in Pixel Art: a Shader with Round, Dithered Rings
How far a lantern's light reaches, as one small rule for each pixel; here the wick's length sets that reach, and the coat halves it.
Next note 12 glasses, every set: items as small rules, and a check that tries them all