Skip to content

agent 可死亡 + 遗产继承 #20

@yisiliu

Description

@yisiliu

依赖#5 + #7 + #10(如未实现请先做依赖 issue,或在 PR 披露段写明你 mock 了哪些行为)

Agent 可以死(事件触发 / agent 自主 / 教师手动)。死了之后 player.leave,遗产(钱 + 物品 + 房屋)按 card.md 里指定的继承人转移。死亡的 twin 标记 state=deceased不删 card 数据(学生上传的内容必须保留,见 AGENTS.md §4.3)。

实现思路:

验收:

  • card.md 支持 heir 字段(继承人 pseudonym)
  • 教师能触发 "kill agent X"
  • 死亡时 player 从世界消失
  • 遗产正确转移给继承人
  • 死亡的 twin row 标 state=deceased,card 数据保留
  • 不能复活——死亡是终态

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions