KINBARROW modding reference Main site
Build details
v0.2.0+main.aa6bf844a dataset 27b3c5d2177d528a

HabitatYield

The perishable goods a habitat yields daily, independently for each diet. Each habitat occurs once. A missing good means the land feeds none of that diet.

Fields

Field Type Required Description
fodder string optional

A perishable fodder good, or none where no grazing forage grows.

food string optional

A perishable good that satisfies hunger, or none where no food is available.

habitat Habitat required

The habitat whose land supplies these goods. Any and Urban yield neither.

Example

data/tables/habitat_yields.ron — Original. Read the full RON file.

// Original habitat ecology: one day's land capacity is yielded for EACH named
// diet. Food includes hunted animals, fish and other edible wild fare; forage
// includes fresh grasses, browse, aquatic plants and subterranean fungi.
// Arctic ice and dry desert support prey but no dependable grazing yield.
// Any and Urban are not productive natural land habitats.
Table(
    source: Original,
    entries: [
        HabitatYield(habitat: Any, food: None, fodder: None),
        HabitatYield(habitat: Arctic, food: Some("game"), fodder: None),
        HabitatYield(habitat: Coastal, food: Some("game"), fodder: Some("forage")),
        HabitatYield(habitat: Desert, food: Some("game"), fodder: None),
        HabitatYield(habitat: Forest, food: Some("game"), fodder: Some("forage")),
        HabitatYield(habitat: Grassland, food: Some("game"), fodder: Some("forage")),
        HabitatYield(habitat: Hill, food: Some("game"), fodder: Some("forage")),
        HabitatYield(habitat: Mountain, food: Some("game"), fodder: Some("forage")),
        HabitatYield(habitat: Swamp, food: Some("game"), fodder: Some("forage")),
        HabitatYield(habitat: Underdark, food: Some("game"), fodder: Some("forage")),
        HabitatYield(habitat: Underwater, food: Some("game"), fodder: Some("forage")),
        HabitatYield(habitat: Urban, food: None, fodder: None),
    ],
)

Nested shapes

Every shape HabitatYield closes over, so this page stands alone.

Habitat

A natural habitat a creature lives in, as a monster book lists it. A landscape site draws its tenants from the creatures whose habitats match its ground. Any marks creatures found wherever people are, and matches no site.

Any

Record no specific natural habitat; this value alone matches no landscape site.

Arctic

Mark the creature as native to cold polar or frozen terrain.

Coastal

Match coastal ground, including the site's sea-cave habitat.

Desert

Mark the creature as native to dry desert terrain.

Forest

Match wooded ground, including forest hollows.

Grassland

Match open grassy ground, including barrow sites.

Hill

Match hilly ground, including barrow sites.

Mountain

Match mountain ground, including mountain caves.

Swamp

Mark the creature as native to marshes and wetlands.

Underdark

Match subterranean ground, including cave sites.

Underwater

Match submerged ground, including sea-cave sites.

Urban

Mark the creature as native to towns and other built settlements.