summaryrefslogtreecommitdiff
path: root/src/LivingVillage.Desktop.Tests
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-20 11:29:11 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-20 11:29:11 +0800
commit23a9235f29e92adb51c3bf1a71f92cd8434e0939 (patch)
tree0b8ff21509d55aacebe47c1d655816a1f148653f /src/LivingVillage.Desktop.Tests
parent2f8ce45de7e4d9fb1aef1e35ef9d025b72f07b58 (diff)
downloadliving-village-23a9235f29e92adb51c3bf1a71f92cd8434e0939.tar.gz
feat(m4a): 增加交易库存金钱与动态定价
[变更性质] - 本提交新增 M4a 交易能力,不扩大到 M4b、M5 或 M6。 [新增功能] - 支持 Food 库存、买卖双方金钱转移、原子成功与拒绝结果。 - 支持基于需求、库存、性格和近期成交记忆的动态定价。 [实现方案] - 在 Sim 中增加 TradeRequest、TradeResult、交易失败类型、交易记忆与 TradeEvent。 - 以不可变 World 更新和确定性定价保持库存、金钱及事件守恒。 - 增加交易测试,并补齐既有 NPC fixture 与 MemoryKind 穷举匹配。 [影响范围] - 仅影响 LivingVillage.Kernel 交易逻辑及五个 M4a 相关测试项目文件。
Diffstat (limited to 'src/LivingVillage.Desktop.Tests')
0 files changed, 0 insertions, 0 deletions