[YDWERegionMultiple]
title = "收纳盒"
description = "-------- ${注释文本} --------"
comment = ""
category = TC_COMMENT
[[.args]]
type = scriptcode

[YDWESetAnyTypeLocalVariable]
title = "变量 -- 设置"
description = "[${类型}] loc_${变量名} = ${null}"
comment = "设置局部变量，可以指定变量类型。在1.24下不可直接将变量置为 空(null)"
category = TC_YDBF
[[.args]]
type = typename
[[.args]]
type = scriptcode
[[.args]]
type = Null

[YDWESetAnyTypeLocalArray]
title = "变量 -- 设置数组"
description = "[${类型}] loc_${变量名}[${索引}] = ${null}"
comment = "设置局部变量数组，注意: 数组不能穿透逆天计时器、逆天触发器"
category = TC_YDBF
[[.args]]
type = typename
[[.args]]
type = scriptcode
[[.args]]
type = integer
default = 0
[[.args]]
type = Null

[YDWEForLoopLocVarMultiple]
title = "循环"
description = "循环 loop_${循环变量名} 从 ${开始} 到 ${结束}"
comment = ""
category = TC_YDBF
[[.args]]
type = scriptcode
[[.args]]
type = integer
default = "1"
[[.args]]
type = integer
default = "10"

[YDWETimerStartMultiple]
title = "计时器   -- 运行"
description = "运行 ${计时器}，周期: ${时间} 秒，模式: ${模式}"
comment = "让计时器运行多个动作。计时器内不能使用等待。"
category = TC_YDBF
[[.args]]
type = timer
default = "CreateTimer"
[[.args]]
type = real
default = "0.03"
min = 0
[[.args]]
type = periodicoption
default = "PeriodicOptionOneTime"

[YDWETimerStartFlush]
title = "计时器   -- 清除"
description = "清除当前逆天计时器"
comment = "删除当前逆天计时器，并清空缓存或哈希表."
category = TC_YDBF
[[.args]]
type = nothing

[YDWERegisterTriggerMultiple]
title = "触发器   -- 注册"
description = "注册 ${触发器}"
comment = "触发器内不能使用等待。"
category = TC_YDBF
[[.args]]
type = trigger
default = "CreateTrigger"

[YDWERegisterTriggerFlush]
title = "触发器   -- 清除"
description = "清除当前逆天触发器"
comment = "删除当前逆天触发器，并清空缓存或哈希表."
category = TC_YDBF
[[.args]]
type = nothing

[YDWEExecuteTriggerMultiple]
title = "触发器   -- 运行"
description = "运行 ${触发器}， ${条件}"
comment = ""
category = TC_YDBF
[[.args]]
type = trigger
[[.args]]
type = tirggerexecute
default = "tirggerexecute_notcondition"

[YDWEEnumUnitsInRangeMultiple]
title = "选取单位 -- 圆形范围"
description = "选取以(${坐标X}, ${坐标Y})为圆心,${半径}为半径的圆范围内的单位做动作"
comment = "选取范围内的单位做动作"
category = TC_YDBF
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "512"

[YDWESaveAnyTypeDataByUserData]
title = "自定义值 -- 设置"
description = "设置 [${类型}] ${null} 的 ${属性} 为 [${类型}]${null}"
comment = "设置某个数据的自定义属性。在1.24下不可直接将自定义属性置为 空(null)，可以用清空。"
category = TC_YDBF
[[.args]]
type = typename
[[.args]]
type = Null
[[.args]]
type = scriptcode
[[.args]]
type = typename
[[.args]]
type = Null

[YDWEFlushAllByUserData]
title = "自定义值 -- 清除全部"
description = "清空 [${类型}] ${null} 的所有自定义属性。"
comment = "清空某个数据所有的自定义属性。"
category = TC_YDBF
[[.args]]
type = typename
[[.args]]
type = Null

[YDWEFlushAnyTypeDataByUserData]
title = "自定义值 -- 清除"
description = "清空 [${类型}] ${null} 的[${类型}] ${属性}"
comment = "清空某个数据的某项自定义属性。"
category = TC_YDBF
[[.args]]
type = typename
[[.args]]
type = Null
[[.args]]
type = typename
[[.args]]
type = scriptcode

[YDWEActivateTrigger]
title = "激活触发"
description = "激活 ${Trigger} ( ${On/Off} 兼容模式 )"
comment = "不要多次激活一个触发器。不要激活未开启休眠的触发器。打开兼容模式会略微影响效率，若关闭兼容模式，请保证该动作在需要激活的触发器之后，否则会有语法错误。"
category = TC_TRIGGER
[[.args]]
type = trigger
[[.args]]
type = onoffoption
default = "OnOffOn"

[YDWEWaitForLocalVariable]
title = "等待(局部变量专用)[YDWE]"
description = "等待 ${Time} 秒(局部变量专用)"
comment = "使用逆天系列的UI，无需使用它。"
category = TC_YDHIDE
[[.args]]
type = real
default = "2"
min = 0
