EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

TreeDefinition

A fellable forest tree species: its growth stages, trunk, the wood of its parts, what it drops and its sapling. Generated maps place it through the biomes that list it; the stage index and the species are saved, so the order of `stages` belongs to the species.

Signature

{ id: ContentId, loot: (LootId)?, name: TextKey, parts: TreeParts, sapling: (SaplingGrowth)?, stages: {TreeStageDefinition}, trunk: TreeTrunk }

Fields

NameTypeMeaning
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}$
lootLootIdLoot a felled tree drops beside its trunk; absent: only its wood.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: loot
nameTextKeyLocalized species label.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
partsTreePartsBlows and wood of the standing trunk, each of its three logs and the stump.
saplingSaplingGrowthSapling players plant on grass or soil and the steps it grows through over one year; absent: the species is not planted.
stages{TreeStageDefinition}Growth stages, smallest first; a generated tree draws its stage by `share_ppm`.
Items: 1…4
trunkTreeTrunkTrunk of the grown tree.