Skip to content

[功能请求] 我需要一个宽松版的MVU #16

Description

@aaababaaz

例如,你的 status_current_variables 块是这样的:

<status_current_variables>
{}
</status_current_variables>

如果

    '<UpdateVariable>\n' +
    '        <Analysis>\n' +
    '            - calculate time passed: a few minutes passed. no dramatic update.\n' +
    '            - 核心状态, 生理, 精神, 属性, 次生属性, 状态: no changes.\n' +
    '            - 技能: no changes.\n' +
    '            - 装备: no changes.\n' +
    '            - 携带物品: no changes.\n' +
    '            - 环境: no changes.\n' +
    '            - 系统.当前时间[0]: Y, from morning to breakfast time.\n' +
    '            - other system variables: no changes.\n' +
    '            - 营地: no changes.\n' +
    '            - 同伴: no changes.\n' +
    '            - 世界: no changes.\n' +
    '        </Analysis>\n' +
    "        _.set('系统.当前时间[0]', '清晨', '早餐时间');//The scene progresses from waking up to sitting down for breakfast.\n" +
    '</UpdateVariable>\n'

那么,

<status_current_variables>
{
  "系统" {
    "当前时间": [ "早餐时间" ]
  }
}
</status_current_variables>

这样才对,是吧?至于assign,那就是直接赋值,覆盖掉指定的JSON对象了。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions