Log inGet started
World

Painted Metropolis

Branchmain
Commit1e1d3a3d4d

README.md

pigments

What each pigment does beyond being a colour.

A pigment's tactical properties are data (cfg.pigments[id], see modules/config): multipliers on the cover a hit
adds, on how long it blinds and on how long its marks last, and extra effects it causes when it lands on a
thing of a given kind (sticky paint slows a runner, slick paint on a road makes a patch cars slide on, a
glowing pigment marks a target). A pigment with no entry is plain: every multiplier 1, no extra effect.

  local Pigments = require("~.modules.pigments")
  Pigments.cover(cfg.pigments, "white")        -- multiplier on cover (default 1)
  Pigments.blind(cfg.pigments, "white")        -- multiplier on blind seconds (default 1)
  Pigments.fade(cfg.pigments, "heather")       -- multiplier on a mark's life (default 1)
  Pigments.effects(cfg.pigments, "vermilion", "guard")
  -- { { effect = "slow", seconds = 6, factor = 0.6 } }      the entries whose `on` lists that kind
  Pigments.traits(cfg.pigments, "ultramarine") -- { "glow", "mark" } effect names it can cause, sorted (for a card)

The interface is documented in the header of init.luau; this file repeats it for the asset browser.