Checks the occupation law for an occupied country, occupied state, or the default occupation law of an occupying country.
- If THIS is a country and it's the same as the PREV country, then THIS's default law is checked.
- If THIS is a country and it's different from the PREV country, then PREV's country law for THIS is checked.
- If THIS is a state, then the occupier's state law is checked.
Example:
GER = { occupation_law = autonomous_occupation }
GER = { POL = { occupation_law = foreign_civilian_oversight } }
123 = { occupation_law = local_police_force_garrison }
实战 · 配合 · 坑
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
实战用法
occupation_law 常用于占领政策相关的决策或国策判断中,例如检测某占领国是否对特定国家实施了足够宽松或严苛的占领法,以此解锁或封闭后续事件链。典型场景包括:当玩家想让某事件仅在占领地区处于特定管理方式时才触发,或在 AI 行为树中判断是否需要调整占领策略。
# 检查德国对波兰实施的占领法是否为外国文官监管
GER = {
POL = {
occupation_law = foreign_civilian_oversight
}
}
# 在决策的 available 块中检查某州的占领法
available = {
123 = {
occupation_law = local_police_force_garrison
}
}