FoliageWalked beta
Interface of @v12-engine/client
export interface FoliageWalkedHow grass and bushes move as they are walked through (FoliageLook.walked), and whether the grass stays down: bent away from who is in it, wobbling as a spring settles, laid flat under feet and standing up again. Bushes shake and are never laid flat. On this screen alone: what the rules make of trampling is the style's (FoliageStyleDef.trample)
Members
bend
bend?: number;How far it bends away, 1 as made, 0 for not at all: 1 when left out. The old shake.strength
entry
entry?: number;How much harder it shakes as one steps in than as one moves about in it: 2 when left out
flatten
flatten?: number;How far grass lies down under feet, 0 (not at all) to 1 (flat): 0 when left out
radius
radius?: number | 'size';How far around one in it it is bent, in cells, or by the size of each (size: twice its radius and 0.6 more, at most 3.2): 1.6 when left out
recover
recover?: number;Seconds laid grass takes to stand again; 0 for never, until it is grown again. 8 when left out
settle
settle?: number;About how many seconds the wobble takes to settle once nobody moves it: 1.2 when left out
trail
trail?: boolean;Whether one moving through leaves a trail of laid grass behind (with flatten): yes when left out
who
who?: 'all' | 'friends' | 'none' | ((walker: CellWalker) => boolean);Who moves it, of the units the player sees: all (when left out), friends (the player's own and allies'), none, or code. A unit the player does not see never does, unless the rules tell of it (ConcealmentOptions.rustle)
wobble
wobble?: number;How much it wobbles as it is let go, 1 as made: 1 when left out