CONTENT CONTRACT · VERSION 1
character_options
Look choices of a body: the seeded wardrobe of villagers and humanoid enemies.
Signature
{ beards: {Name}, builds_permille: {BodyScale}, eyes: {ColorChannel}, hair: {Name}, hair_colors: {{ColorChannel}}, heights_permille: {BodyScale}, id: ContentId, kind: "character_options", outfit: {OutfitPiece}, proportions: (BodyProportions)?, skins: {{ColorChannel}}, torsos: {Name} }Fields
| Name | Type | Meaning |
|---|---|---|
beards | {Name} | Beards; women wear the first. Items: 1…64; Unique entries |
builds_permille | {BodyScale} | Body builds in thousandths of the standard body. Items: 1…16 |
eyes | {ColorChannel} | Eye color. Items: 3…3 |
hair | {Name} | Hairstyles. Items: 1…64; Unique entries |
hair_colors | {{ColorChannel}} | Hair colors. Items: 1…16 |
heights_permille | {BodyScale} | Body heights in thousandths of the standard body. Items: 1…16 |
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 | "character_options" | Discriminant |
outfit | {OutfitPiece} | Garments every look wears, by slot. Items: 0…16 |
proportions | BodyProportions | Body profile every look wears (a child: smaller limbs, larger head); omitted is the adult body. |
skins | {{ColorChannel}} | Skin colors. Items: 1…16 |
torsos | {Name} | Torso garments. Items: 1…64; Unique entries |
Validated example
{
"beards": [
"clean_shaven"
],
"builds_permille": [
900,
1000
],
"eyes": [
81,
53,
35
],
"hair": [
"tousled",
"short_crop",
"braid",
"high_ponytail",
"curly",
"wavy_bob"
],
"hair_colors": [
[
131,
84,
56
],
[
207,
180,
111
],
[
160,
82,
45
],
[
55,
48,
42
]
],
"heights_permille": [
950,
1000,
1050
],
"id": "core:child_looks",
"kind": "character_options",
"outfit": [
{
"garment": "cloth_trousers",
"slot": "legs"
},
{
"garment": "leather_boots",
"slot": "feet"
}
],
"proportions": {
"arms_permille": 850,
"head_permille": 1150,
"legs_permille": 850,
"torso_permille": 900
},
"skins": [
[
211,
162,
118
],
[
166,
113,
80
],
[
128,
83,
56
],
[
231,
189,
166
]
],
"torsos": [
"forest_tunic",
"sailor_smock",
"wrap_blouse",
"rolled_work_shirt"
]
}