aboutsummaryrefslogtreecommitdiff
path: root/internal/player/store.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-19 02:08:55 -0400
committerhistoria <[not public]>2026-06-19 02:08:55 -0400
commit458916fb78dcef3ff77cb29b7ba98d9f646819fc (patch)
tree19cd8b8eef41a1aa00d155bf7953ad2770f91a4c /internal/player/store.go
parent97a1a908b9e6e6d3516628c139c9b64262b4fe08 (diff)
downloadthehouseoficarus-458916fb78dcef3ff77cb29b7ba98d9f646819fc.tar.gz
feat: rough pharmacy skill added
Diffstat (limited to 'internal/player/store.go')
-rw-r--r--internal/player/store.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/player/store.go b/internal/player/store.go
index 04af594..c05b29d 100644
--- a/internal/player/store.go
+++ b/internal/player/store.go
@@ -89,6 +89,10 @@ func (s *AccountStore) LoadCharacter(name string) (*Player, error) {
if p.Skills == nil {
p.Skills = make(map[SkillName]int)
}
+ if xp, ok := p.Skills["alchemy"]; ok {
+ p.Skills[Pharmacy] = xp
+ delete(p.Skills, "alchemy")
+ }
if p.Equipment == nil {
p.Equipment = make(map[object.EquipSlot]string)
}