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
+2 -2
View File
@@ -1,7 +1,7 @@
package game
import (
p "aeternalis/server/internal/protocol"
"aeternalis/server/content"
"encoding/json"
"reflect"
"testing"
@@ -153,7 +153,7 @@ func TestCastingInterruptMissAndWeaponUnlock(t *testing.T) {
func TestCorpseRevivalKeepsLootAndDailyBudget(t *testing.T) {
w, c := fixture(t)
appearance := p.Appearance{Version: 1, Family: "human", Variant: 2, Seed: 42, Height: 1, Width: 1, Detail: .5, Primary: "#d8a582", Secondary: "#493947", Accent: "#578f8b"}
appearance := *content.DefaultCharacterAppearance()
c.View.Entity.Appearance = &appearance
rescuer, e := w.Join("rescuer", "Rescuer")
if e != nil {