Skip to content

Commit

Permalink
Update 6.customConditionPlan.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawnsdaddy authored Nov 14, 2023
1 parent b6ce39b commit a75fddb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion conf/6.customConditionPlan.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,14 @@ sort: 6

如果有其他特殊需求可以建立Issue

# 目前只支持手动写入配置(UI待开发)
# 目前支持的词条:
op_data.operators --> 为mower记录的所有干员属性信息
后续加上干员名字可以查询干员属性 例子: op_data.operators.['迷迭香']

| 方法 | 作用|返回类型 | 示例 | 笔记
|---------|---------|---------|---------|---------|
| party_time | impart结束时间 | ,返回 None则没有,否则返回Datetime类型 | op_data.party_time|Mower第一次启动记录完才会生成|
| is_working | 返回干员是否在工作 | True/False |op_data.operators.['迷迭香'].is_working()|---------|
| is_resting | 返回干员是否在任意宿舍 | True/False |op_data.operators.['迷迭香'].is_resting()|---------|
| current_mood | 返回干员心情值 | 13.316129032258065 数字类型 |op_data.operators.['迷迭香'].current_mood()|---------|
| current_room | 返回干员当前房间 | room_1_1 str类型 |op_data.operators.['迷迭香'].current_room()|不在任何房间则返回空值|

0 comments on commit a75fddb

Please sign in to comment.