Add anatomical character customization at initial creation

This commit is contained in:
dingo
2026-09-12 16:00:15 -04:00
parent 90e33cbcd9
commit 4aca703b6f
25 changed files with 733 additions and 133 deletions
+33 -10
View File
@@ -115,16 +115,39 @@ type MobDefinition struct {
}
type Appearance struct {
Accent string `json:"accent"`
Detail float64 `json:"detail"`
Family string `json:"family"`
Height float64 `json:"height"`
Primary string `json:"primary"`
Secondary string `json:"secondary"`
Seed int64 `json:"seed"`
Variant int64 `json:"variant"`
Version int64 `json:"version"`
Width float64 `json:"width"`
Accent string `json:"accent"`
Body *HumanoidBody `json:"body,omitempty"`
Detail float64 `json:"detail"`
Family string `json:"family"`
Height float64 `json:"height"`
Primary string `json:"primary"`
Secondary string `json:"secondary"`
Seed int64 `json:"seed"`
Variant int64 `json:"variant"`
Version int64 `json:"version"`
Width float64 `json:"width"`
}
type HumanoidBody struct {
ArmLength float64 `json:"armLength"`
ArmWidth float64 `json:"armWidth"`
Chest string `json:"chest"`
ChestWidth float64 `json:"chestWidth"`
EyeColor string `json:"eyeColor"`
EyeHeight float64 `json:"eyeHeight"`
EyeSpacing float64 `json:"eyeSpacing"`
Eyebrows string `json:"eyebrows"`
FootSize float64 `json:"footSize"`
HeadDepth float64 `json:"headDepth"`
HeadLength float64 `json:"headLength"`
HeadWidth float64 `json:"headWidth"`
HipsWidth float64 `json:"hipsWidth"`
LegLength float64 `json:"legLength"`
LegWidth float64 `json:"legWidth"`
MouthHeight float64 `json:"mouthHeight"`
MouthStyle string `json:"mouthStyle"`
NoseHeight float64 `json:"noseHeight"`
NoseScale float64 `json:"noseScale"`
}
type MobSpawn struct {