foliageStateLayer beta
Function of @v12-engine/engine
ts
foliageStateLayer: (layer: string) => stringThe id of the layer of cells that keeps what happened to each cell of a layer of grass or bushes (FOLIAGE_STATE): grass.state for grass. A layer like any other (Terrain.cells, world.setCells): saved, told to the players who see a cell and to the others as it comes into their sight, kept with a map that starts with a field already burnt. No game lists it (Rules.cellLayers), so the editor does not offer it to paint