added character documentation and split Clothing into a sub-struct

of Character
This commit is contained in:
2026-05-16 14:06:49 +01:00
parent 99a5b03290
commit 6d012dbe6b
6 changed files with 108 additions and 25 deletions
+66
View File
@@ -0,0 +1,66 @@
# Character features
| Feature | Examples | Notes |
| ------- | ------- | --- |
| Name | Timothy Sharpshooter | |
| Gender | Male, Female, NB, Other | |
| Skin Color | Khaki, #F0E68C, rgb(240, 230, 140) | CSS Color |
| Eye Color | LightBlue, #ADD8E6, rgb(173, 216, 230) | CSS Color |
| Hair Color | GoldenRod, #DAA520, rgb(218, 165, 32) | CSS Color |
| Pronoun Subject | He, She, They | See https://en.wikipedia.org/wiki/Pronoun |
| Pronoun Object | Him, Her, Them | See https://en.wikipedia.org/wiki/Pronoun |
| Pronoun Deppos | His, Her, Their | See https://en.wikipedia.org/wiki/Pronoun |
| Pronoun Indpos | His, Hers, Theirs | See https://en.wikipedia.org/wiki/Pronoun |
| Pronoun Reflex | Himself, Herself, Themselves | See https://en.wikipedia.org/wiki/Pronoun |
| Head Shape | | |
| Torso Shape | | |
| Arm Shape | | |
| Leg Shape | | |
| Hair Style | | |
| Clothing | See [Character Clothing](#Character Clothing) | |
> [!NOTE]
> Pronouns can be implied and unrequired with a recognised Gender value, however, custom values can be filled in if desired.
# Character Clothing
| Appearal | Examples | Notes |
| --- | --- | --- |
| Top | | Shirt, Jumper, etc... |
| Bottom | | Trousers, tights, etc... |
| Shoes | | |
| Hat | | |
| Gloves | | |
| Neck | | Necklace, Scarf, etc... |
# Characters.json
Characters are stored in the characters.json file which looks like this:
{
"tim": {
"name": "Timothy Sharpshooter",
"gender": "Male",
"skin_color": "",
"eye_color": "",
"hair_color": "",
"pronoun_subject": "He",
"pronoun_object": "Him",
"pronoun_deppos": "His",
"pronoun_indpos": "His",
"pronoun_reflex": "Himself",
"head_shape": "",
"hair_style": "",
"torso_shape": "",
"arm_shape": "",
"leg_shape": "",
"clothing": {
"top": "",
"bottom": "",
"shoes": "",
"hat": "",
"gloves": "",
"neck": ""
}
},
"bob": {
...
}
}
> [!NOTE]
> MUST be valid JSON or it can't be deserialised.