> For the complete documentation index, see [llms.txt](https://ersha.gitbook.io/code-new/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ersha.gitbook.io/code-new/jobframe/job-frame/cha-jian-jian-rong/chemdah.md).

# Chemdah

## 说明

新增任务目标 **"frame object"**

### **条件**

| 条件名          | 示例                       | 作用                 |
| ------------ | ------------------------ | ------------------ |
| content:name | content:name: **测试工作组**  | 判断触发对象所属工作组        |
| object:name  | object:name: **测试对象**    | 判断触发对象当前显示名        |
| data         | data: **成长值=100;?=?;..** | 判断事件接收的数据 **(注1)** |

**注1 :**  通过 **job:script event chemdah {data}** 传过来的数据，可判断多个或单个，条件使用例如：

```yaml
    1:
      objective: frame object
      condition:
        content-name: 测试工作组
    2:
      objective: frame object
      condition:
        object-name: 史莱姆
    #job:script event chemdah 成长值=100;可回收=true
    3:
      objective: frame object
      condition:
        data: 成长值=100;可回收=true
```

### 条件变量

| 变量名          | 作用          |
| ------------ | ----------- |
| content:name | 获取触发对象所属工作组 |
| object:name  | 获取触发对象当前显示名 |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ersha.gitbook.io/code-new/jobframe/job-frame/cha-jian-jian-rong/chemdah.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
