CONTENT CONTRACT · VERSION 1
game
Explicit entry point selecting the map, world rules, player profile and presentation.
Signature
{ emote_fan: {FanEmote}, environment: WorldDataId, id: ContentId, kind: "game", name: TextKey, new_player: PlayerProfileId, player_emotes: {Name}, player_rig: RigId, presentation: PresentationProfileId, ruleset: RulesetId, start_map: MapId, start_minute: (DayMinute)?, unarmed_tool: ToolId }Fields
| Name | Type | Meaning |
|---|---|---|
emote_fan | {FanEmote} | The buttons of the HUD's emote fan in their order, each a player emote with its label (its cloud is the icon). Player emotes beyond them stay startable. Items: 0…8; Unique entries |
environment | WorldDataId | The game's daylight: a `world_data` asset in the `lights/environment` format (sky, sun, fog, hemisphere and cloud shadows over the day) of this package or a dependency. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: asset:world_data |
id | ContentId | Package-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}$ |
kind | "game" | Discriminant |
name | TextKey | Localization 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 |
new_player | PlayerProfileId | Profile used when creating a persistent player. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: player_profile |
player_emotes | {Name} | Clips of the player rig a player may start as an emote (each with a cloud). Items: 0…16; Unique entries |
player_rig | RigId | Rig of the players: their bodies, tools, item uses and emotes play its clips. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: rig |
presentation | PresentationProfileId | Presentation profile supplying the game's interface audio. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: presentation_profile |
ruleset | RulesetId | Authoritative gameplay limits selected by this game. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: ruleset |
start_map | MapId | Map instantiated for the start of this game: slot 0 of every world; the maps its passages lead to join it. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: map |
start_minute | DayMinute | Minute of the day a new world begins, from 06:00 like routine entries (absent: 06:00). Range: 0…1439; Unit: minute |
unarmed_tool | ToolId | Tool of empty hands (a punch). Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: tool |
Validated example
{
"emote_fan": [
{
"clip": "wave",
"label": "core:emote_wave"
},
{
"clip": "celebrate",
"label": "core:emote_cheer"
},
{
"clip": "dance_step",
"label": "core:emote_dance"
},
{
"clip": "thumbs_up",
"label": "core:emote_thumbs_up"
},
{
"clip": "sad",
"label": "core:emote_sad"
},
{
"clip": "love",
"label": "core:emote_love"
}
],
"environment": "core:world_lights_environment_json",
"id": "core:training",
"kind": "game",
"name": "core:training_name",
"new_player": "core:new_player",
"player_emotes": [
"celebrate",
"curse",
"sad",
"startle",
"love",
"idle_stretch",
"wave",
"thumbs_up",
"dance_step",
"dance_reel"
],
"player_rig": "core:human",
"presentation": "core:default_presentation",
"ruleset": "core:default_rules",
"start_map": "core:valley",
"start_minute": 60,
"unarmed_tool": "core:sword_tool"
}