EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

CropDefinition

A crop players sow on tilled soil from its seed, water and harvest. Each finished day adds its growth: a watered day in its season a full day, outside its season or unwatered less (`ruleset.farming`). It grows in every season and never dies.

Signature

{ days: CropDays, harvest: ItemId, id: ContentId, name: TextKey, regrow_days: (CropDays)?, ripe_model: Name, season: SeasonId, seed: ItemId, stages: {CropStage} }

Fields

NameTypeMeaning
daysCropDaysWatered days in its season from sowing to ripe.
Range: 1…60; Unit: count
harvestItemIdItem a harvest gives (empty hands, Interact on the ripe crop).
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: item
idContentIdPackage-qualified identity; unique within its declaring namespace.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$
nameTextKeyLocalized crop label.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
regrow_daysCropDaysWatered days in its season from a harvest to ripe again; absent: a harvest leaves bare soil.
Range: 1…60; Unit: count
ripe_modelNameFoliage prototype `flora:<model>` of the map's world library drawn while ripe.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
seasonSeasonIdSeason the crop grows fastest in.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: season
seedItemIdItem that sows the crop: held in hand, Interact on bare tilled soil.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: item
stages{CropStage}Looks while growing, first to last, by share of the growth; regrowth shows the last.
Items: 1…4