Skip to content

layFoliageLook beta ​

Function of @v12-engine/client/common

ts
export declare function layFoliageLook(...looks: readonly (FoliageLook | false | undefined)[]): FoliageLookParts | false | undefined;

Looks laid over each other, the later over the earlier: the game's code, then its cellLayers.json, then the map's (MapEnvironment.bushes). Field by field, a group (FOLIAGE_GROUPS) field by field too, a style over the style of the same value the same way; false (no bushes drawn, a group turned off, a style not drawn) takes the place of what is under it, and what is laid over a false starts from nothing. Each is read by its groups first (foliageLookParts), so a look that says color the old way still wins over one under it that says colors.foot. None for no look at all