hex-world
    Preparing search index...

    Function resolveFoliageColor

    • The color the foliage palette is applied relative to for a terrain set: whichever active terrain has id grassland, falling back to the greenest definition, and to a mid green if the pack has no green at all.

      The same auto-resolution resolveSnowTerrain does, and for the same reason — a pack restyles the seasons by shipping its own terrain rather than by configuring the renderer.

      Parameters

      • definitions: readonly { id: string; color: Color }[]

      Returns Color