json
{
"sleep_mechanism": {
"description": "角色睡觉机制,模拟角色睡眠并推进游戏时间。",
"sleep_duration": 7, // 单位:小时
"sleep_trigger": "sleep", // 触发睡眠的指令或条件 (例如,用户输入 "/sleep" 或角色达到特定条件)
"time_advancement": {
"unit": "hours",
"amount": 7
},
"effects": [
{
"type": "advance_time", // 推进游戏时间
"time_unit": "hours",
"time_amount": 7
},
{
"type": "log_event", // 记录睡眠事件 (可选)
"event_type": "sleep",
"details": "角色于 {时间} 开始睡眠,持续 7 小时。" // {时间} 将被替换成实际时间
}
]
}
}
```
这个是固定七小时的,具体数据可以改。