placementRule
anyRuleInGroup
translation:放置规则组
type:string
放置规则组名。(仅需要通过此组规则中的1条,而不是全部通过。在其他放置规则中可使用相同的组名称来创建组。)
searchTags
translation:检索标签
type:tag list
搜索至少包含这些标签之一的任何单位
searchTeam
translation:检索队伍
type:relation
要搜索的团队可以是:自身|中立|盟友非自身|盟友|敌人|任何。 own|neutral|allyNotOwn|ally|enemy|any
searchOffsetX
translation:检索偏移
type:float
检索偏移,默认为0
searchOffsetY
translation:检索偏移
type:float
检索偏移,默认为0
searchDistance
translation:搜索距离
type:float
搜索距离
excludeIncompleteBuildings
translation:排除不完整建筑
type:bool
排除不完整的建筑
excludeNonBuildings
translation:排除非建筑
type:bool
排除非建筑
minCount
translation:最小数量
type:integer
设定需要在搜索中找到的单位的最小数量。(如需要靠近某物)。默认值为0
maxCount
translation:最大数量
type:integer
在匹配失败前设置最大单位数量(例如不能接近某个值)。默认为无限的
blocksPlacement
translation:禁止放置
type:bool
禁止放置。默认为true。
cannotPlaceMessage
translation:失败信息
type:LocaleString
如果此放置规则失败,则会向玩家显示消息(将成为mergedRuleGroup中的第一个失败规则)
cannotPlaceMessage_[Language]
translation:失败信息(多语言)
type:LocaleString
如果此放置规则失败,则会向玩家显示消息(将成为mergedRuleGroup中的第一个失败规则)(支持多种语言显示)
checkEachTile
translation:检查每个地块
type:bool
[true / false]默认为true(仅对测试单元中心设置为false,true会检查显示在放置网格上的单元下方的每个图块)
aiSuggestionOnly
translation:仅限ai建议
type:bool
不能与blocksPlacement一起使用,仅仅只是建议AI这么做