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}, eye_glow_permille: (Permille)?, eyes: {ColorChannel}, female_hair: ({Name})?, 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 |
eye_glow_permille | Permille | Glow of the eyes in thousandths of a light of their own color (a greyed figure's faint gleam); omitted: no glow. Range: 0…1000; Unit: permille |
eyes | {ColorChannel} | Eye color. Items: 3…3 |
female_hair | {Name} | Hairstyles of the women; omitted, they draw from hair as well. Items: 1…64; Unique entries |
hair | {Name} | Hairstyles; of the men only when female_hair is given. 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",
"stubble",
"short_boxed",
"moustache"
],
"builds_permille": [
900,
1000,
1100,
1200
],
"eyes": [
81,
53,
35
],
"female_hair": [
"wavy_bob",
"braid",
"high_ponytail",
"long_straight"
],
"hair": [
"short_crop",
"tousled",
"curly",
"swept_back"
],
"hair_colors": [
[
55,
48,
42
],
[
131,
84,
56
],
[
207,
180,
111
],
[
198,
192,
178
]
],
"heights_permille": [
920,
1000,
980,
1080
],
"id": "core:adventurer_looks",
"kind": "character_options",
"outfit": [
{
"garment": "cloth_trousers",
"slot": "legs"
},
{
"garment": "leather_boots",
"slot": "feet"
},
{
"garment": "belt_pouch",
"slot": "belt"
},
{
"garment": "leather_gloves",
"slot": "gloves"
}
],
"skins": [
[
211,
162,
118
],
[
166,
113,
80
],
[
128,
83,
56
],
[
231,
189,
166
]
],
"torsos": [
"rolled_work_shirt",
"wrap_blouse",
"quilted_jerkin",
"baker_apron",
"sailor_smock",
"forest_tunic"
]
}