Sillage
README.md
sillage_composition
The verb of Sillage: working at the perfumer's organ, and striking the blotter.
What it provides
- The organ overlay (
sillage_organ_hotspots) — a hit target over every one of the 36 vials, projected fromCore.vialSlot(n)through the live camera, so the targets follow the camera wherever staging puts it. A vial already in the formula wears a red-ink frame and a dose wafer. Down the left edge, the three phases (Tête / Coeur / Fond) bracket the tiers they belong to — the organ read as the drydown curve stood upright. - The formula card (
sillage_formula) — a portrait sheet of aged rag paper pinned to the bottom of the 3:4 frame. Material names in a chancery italic, doses in a figures column with dotted leaders, a dose that changed struck out in red with the new figure written above it, marginal notes, a thumbnail of the accord's shape, and a total underlined twice. A tab lowers the sheet so the lowest tiers of the organ can be reached. - The bench — a rack of mouillettes, a pipette on its rest, an inkpot, a written fiche on a short stack of blanks, and the struck strip with its stain spreading through it while the drydown runs.
- The clock — the 24 hours of wear compressed into
Core.time.drydownSeconds.
API
Composition.addDrop(id, n) | add or take back drops of a material |
Composition.addDropBySlot(slot, n) | the same, by organ slot 1..36 |
Composition.clearFormula() | empty the fiche, returning stock |
Composition.strike() | dip the blotter and run the drydown |
Composition.show() / .hide() | show or hide both screens |
Events
Emits formula:changed, strip:struck, strip:tick, strip:done, and
asks staging for the bench station with station:request. Listens for
screen:changed, brief:issued and station:changed.
Writes Core.state.formula and Core.state.drydownT. Reads the curve from
game.sillage_sim, meters drops through game.sillage_economy, and
highlights vials through world.sillage_organ — each guarded, so the loop
still plays when one of them is not there.
Materials
game.comp_blotter_paper, game.comp_card_paper, game.comp_brass,
game.comp_walnut, game.comp_glass_clear, game.comp_stain.