EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

RecipeDefinition

Ingredients, reach and the one result of crafting, building or repairing.

Signature

{ id: ContentId, initially_available: boolean, inputs: {ItemStack}, name: TextKey, reach_mm: PositiveDistance, result: RecipeResult, station: (TagId)? }

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}$
initially_availablebooleanWhether every player may use the recipe without an unlock.
inputs{ItemStack}Items debited exactly once, indexed by unique item definitions.
Items: 1…16; Unique entries
nameTextKeyLocalization key for the displayed name.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
reach_mmPositiveDistanceMaximum distance to the station or repaired structure.
Range: 1…2147483647; Unit: mm
resultRecipeResultExactly one craft, build or repair result.
stationTagIdTag a nearby station must carry; absent recipes need no station.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: tag