summaryrefslogtreecommitdiff
path: root/src/LivingVillage.Kernel/WorldSave.fs
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-21 23:03:16 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-21 23:03:16 +0800
commit6ce29c5e87d32e49dfe92b398fe45ef0b9de6cdf (patch)
tree859a902d27e069e0e087579b6ea38dec76dc4bf3 /src/LivingVillage.Kernel/WorldSave.fs
parent11a2a1d8786a660d0f370a46f5ee0c69c108f823 (diff)
parent50875bb65cc4cdba92f6745d2430a92d85474872 (diff)
downloadliving-village-6ce29c5e87d32e49dfe92b398fe45ef0b9de6cdf.tar.gz
merge: P15 职业玩法收口——开局职业选择/货郎书生模板/CJK补字/全链路回归(独立复验全绿)
Diffstat (limited to 'src/LivingVillage.Kernel/WorldSave.fs')
-rw-r--r--src/LivingVillage.Kernel/WorldSave.fs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/LivingVillage.Kernel/WorldSave.fs b/src/LivingVillage.Kernel/WorldSave.fs
index 1ce1dcb..b327c6d 100644
--- a/src/LivingVillage.Kernel/WorldSave.fs
+++ b/src/LivingVillage.Kernel/WorldSave.fs
@@ -415,6 +415,10 @@ module WorldSave =
| Occupation.NightCatch -> add tokens "night-catch"
| Occupation.SellFish -> add tokens "sell-fish"
| Occupation.MarketInquiry -> add tokens "market-inquiry"
+ | Occupation.BuyGoods -> add tokens "buy-goods"
+ | Occupation.Resell -> add tokens "resell"
+ | Occupation.ObserveNotes -> add tokens "observe-notes"
+ | Occupation.ReasonDebate -> add tokens "reason-debate"
let private readTaskTemplateId (reader: TokenReader) label =
match reader.Take(label) with
@@ -424,6 +428,10 @@ module WorldSave =
| "night-catch" -> Occupation.NightCatch
| "sell-fish" -> Occupation.SellFish
| "market-inquiry" -> Occupation.MarketInquiry
+ | "buy-goods" -> Occupation.BuyGoods
+ | "resell" -> Occupation.Resell
+ | "observe-notes" -> Occupation.ObserveNotes
+ | "reason-debate" -> Occupation.ReasonDebate
| _ -> invalid (sprintf "invalid %s" label)
let private writeTaskState tokens state =