CONTENT CONTRACT · VERSION 1
CharacterDefinition
Actor geometry, movement, health, compatible clips and resistance data.
Signature
{ appearance: Name, id: ContentId, immunities: {StatusId}, mass_permille: PositiveCount, max_health: PositiveHitPoints, max_stamina: Count, movement: MovementId, name: TextKey, options: (CharacterOptionsId)?, poise: (Poise)?, prefab: (PrefabId)?, presentation: BodyPresentation, resistances: {Resistance}, rig: RigId }Fields
| Name | Type | Meaning |
|---|---|---|
appearance | Name | Engine rig and look of the body until native prefabs and rigs replace it. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
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}$ |
immunities | {StatusId} | Status definitions that cannot be applied to this character. Items: 0…4096; Unique entries |
mass_permille | PositiveCount | Weight against pushes in thousandths of a standard body. Range: 1…2147483647; Unit: permille |
max_health | PositiveHitPoints | Maximum hit points and upper healing cap. Range: 1…2147483647; Unit: hp |
max_stamina | Count | Maximum stamina resource for this character. Range: 0…2147483647; Unit: count |
movement | MovementId | Movement profile used by this character. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: movement |
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 |
options | CharacterOptionsId | Appearance customization choices offered for this character. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: character_options |
poise | Poise | How much it takes to stagger the body out of a wind-up when a computer-controlled figure wears it; absent: the ruleset's `poise`. |
prefab | PrefabId | Prefab definition supplying the object's geometry. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: prefab |
presentation | BodyPresentation | Engine renderer family drawing the body and its drawing parameters. |
resistances | {Resistance} | Damage multipliers indexed by unique damage-type references. Items: 0…4096; Unique entries |
rig | RigId | Rig whose clips the body plays; its plan must be the plan of the appearance. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: rig |