EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

RulesetDefinition

Session-wide inventory, survival, respawn and actor limits.

Signature

{ combat_motion: (CombatMotionRules)?, drop_lifetime_ticks: PositiveTicks, encounters: Encounters, factions: ({Faction})?, farming: (FarmingRules)?, fishing: (FishingRules)?, hotbar_slots: PositiveCount, house_destroyed_notice: TextKey, id: ContentId, interaction: InteractionRules, inventory_slots: PositiveCount, max_actors: PositiveCount, ore_regrowth_days: (PositiveCount)?, pickup_radius_mm: PositiveDistance, poise: (Poise)?, progression: (Progression)?, quest_amounts: ({PartyAmount})?, quick_use: {TagId}, respawn_delay_ticks: PositiveTicks, respawn_health: PositiveHitPoints, scene_players: (PlayerSlot)?, sign_inputs: {ItemStack}, spawn_chests: ({ChestPlacement})?, spawn_view: (SpawnViewRules)?, squad: (SquadRules)?, stash: StructureId, strike_facing_ms: StrikeFacing, tall_grass: (TallGrassRules)?, tree_scale_ppm: ScalePpm, village_status: (VillageStatusRules)?, village_storehouse: (StructureId)?, villager_provisions: (VillagerProvisions)?, villagers: {NpcId} }

Fields

NameTypeMeaning
combat_motionCombatMotionRulesHow a fight moves bodies: a player who walks away from their aim or draws a ranged weapon goes slower, an enemy closes in on a distant foe at a sprint; absent: full speed every way, enemies close in at their own speed and lunge at 60 % of it, bodies turn at once, arrows turn up to 0.6 rad on release and 1.2 rad/s in flight.
drop_lifetime_ticksPositiveTicksLifetime of an uncollected ground item in simulation ticks.
Range: 1…2147483647; Unit: tick
encountersEncountersEncounters of the wilds.
factions{Faction}Factions and symmetric alliances of actors in this world.
Items: 1…256; Unique entries
farmingFarmingRulesHow fields grow and give; absent: the defaults (half again as long out of season, two and a half times as long unwatered, bare soil lasts three days, one unit per harvest).
fishingFishingRulesFishing skill levels; absent keeps every angler at level 1.
hotbar_slotsPositiveCountAccessible hotbar slots; cannot exceed inventory capacity.
Range: 1…2147483647; Unit: count
house_destroyed_noticeTextKeyNotice to a player put out at the door of a house that fell, was taken down or vanished.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
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}$
interactionInteractionRulesReach and choice of the Interact action.
inventory_slotsPositiveCountPositive maximum number of inventory slots.
Range: 1…2147483647; Unit: count
max_actorsPositiveCountMaximum actor population admitted by this ruleset.
Range: 1…2147483647; Unit: count
ore_regrowth_daysPositiveCountClock days after which a terrain column whose ore (crystal) was mined is whole again, at the next dawn nobody stands in it; absent: ore does not grow back.
Range: 1…2147483647; Unit: count
pickup_radius_mmPositiveDistanceMaximum distance for collecting ground items.
Range: 1…2147483647; Unit: mm
poisePoisePoise of every body without its own; absent: such a body never staggers.
progressionProgressionLevels, skill points and mana of the players; absent keeps every player at level 1 without mana.
quest_amounts{PartyAmount}Quest amounts by the number of players online, ascending by players: gathering, crafting and handing over ask for this share of the written count; absent: always the written count.
Items: 1…8
quick_use{TagId}Tags of the quick-use keys in key order; a key uses the first owned item carrying its tag.
Items: 0…8; Unique entries
respawn_delay_ticksPositiveTicksPositive delay before a dead player may respawn.
Range: 1…2147483647; Unit: tick
respawn_healthPositiveHitPointsPositive health assigned when a player respawns.
Range: 1…2147483647; Unit: hp
scene_playersPlayerSlotPlayers a cutscene shows at most (its player slots); absent: 8.
Range: 1…8; Unit: count
sign_inputs{ItemStack}Items a building's sign costs.
Items: 0…16; Unique entries
spawn_chests{ChestPlacement}Filled chests placed once in every world, relative to the spawn point.
Items: 1…16
spawn_viewSpawnViewRulesWhat keeps roaming encounters and wild animals out of every player's view; absent: a 4 m margin, 3 m tall figures, groups up to 90 m from a player.
squadSquadRulesHow squads take turns at a foe and march; absent: 2 melee and 1 ranged token per foe, handed on after 2.5 s, waiting 1.5 m beyond reach, flanking for at most 1 s, marching in a column without formations.
stashStructureIdStructure that keeps the stock of a fallen or dismantled house.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: structure
strike_facing_msStrikeFacingHow long a player's stroke holds the body facing its aim, by aim mode; prediction and authority hold it alike.
tall_grassTallGrassRulesProcedural tall grass, growth and spread; absent disables tall grass.
tree_scale_ppmScalePpmSize of every generated and planted forest tree against its species' model.
Range: 1…10000000; Unit: ppm
village_statusVillageStatusRulesThe village's mood and level (food, housing, safety, community); absent: no village status.
village_storehouseStructureIdShared storehouse building. Once intact in the village, its room receives villager deliveries and is the sole source of village food and morning meals.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: structure
villager_provisionsVillagerProvisionsVillagers with a task take a dish from the provisions chest in the morning and work faster that day; absent: no provisions.
villagers{NpcId}The world's residents: each spawns once at the anchor of its routine's first plan and lives there by its routine.
Items: 0…64; Unique entries