cellStylesCommand beta
Variable of @v12-engine/engine/debug
cellStylesCommand: import("./commands").DefinedCommand<"debug.cellStyles", {
layer: Check<string>;
values: Check<CellLayerValue[]>;
}>A layer's values (its styles: name, colour and rules, CellLayerValue) put in the place of what the world's game has, for who may use the debug tools: what the editor's Play here sends as a style is changed while the map plays, the game's values with its data and the map's definitions laid over them. From then on the styles hide, burn and slow as they say: the hiding patches are worked out again, the fire reads them at its next turn, and the ways are weighed again where a style's speed changed or it stops one on foot now and did not (walkable), or the other way; the layer painted later in play weighs them too, a layer that slowed nowhere before among them. The ways weigh the ground only in a game whose ground slowed somewhere as the world was made (hasGroundSpeeds): in one that did not, a style given a speed here slows who walks on it and not the ways. A layer the game has not is refused. Not kept in a save as such: a save of the map is made with the map's definitions as they are