FOLIAGE_STATE_CHANNEL beta
Variable of @v12-engine/client
ts
FOLIAGE_STATE_CHANNEL: {
readonly state: 0;
readonly time: 1;
readonly flat: 2;
readonly spare: 3;
}What each channel of a cell's texel of the state is (FoliageStateTexture): state the cell's state as the rules say it (FOLIAGE_STATE: whole, flattened, cut, burning, burnt, growing); time when it began or how far it has gone (a burn's, a growing back's); flat how far its grass is laid down on this screen, 0 standing to 255 flat, held as it is set: the client writes nothing to it (walked grass, trails and FoliageHandle.flatten are FoliageWalk's, which stand up again by themselves), a part's own code may; spare for what comes