[Stellaris][群星]Mod制作指南-附录

[Stellaris][群星]Mod制作指南


附录


1. 触发器文档


导出自版本1.0.3
text - shows custom text
Supported Scopes: ???

Supported targets:

custom_tooltip - shows a custom tooltip for the effects within
Supported Scopes: ???

Supported targets:

if - a conditional trigger
Supported Scopes: ???

Supported targets:

and - all inside trigger must be true
Supported Scopes: ???

Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

or - at least one entry inside trigger must be true
Supported Scopes: ???

Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

not - negates content of trigger
Supported Scopes: ???

Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

happiness - Compares pop happiness
Supported Scopes: pop

Supported targets:

has_ring - Checks if a planet has a ring or not (bool)
Supported Scopes: planet

Supported targets: none

hidden_trigger - hides the tooltip for the effects within
Supported Scopes: ???

Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

has_owner - checks if a planet is colonized
Supported Scopes: planet

Supported targets: none

any_owned_planet - switches Scope to and goes through each owned planet
Supported Scopes: country

Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

any_controlled_planet - switches scope to and goes through each controlled planets
Supported Scopes: country

Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

is_ai - checks if a country is AI controlled
Supported Scopes: country

Supported targets:

always - either always false or true
Supported Scopes: ???

Supported targets:

has_trait - checks if an empire’s dominant species, pop, or leader has a certain Trait
Supported Scopes: country pop

Supported targets:

has_ethic - checks if an empire’s dominant species has a certain Ethic
Supported Scopes: country pop

Supported targets:

is_moon - checks if a planet is a moon
Supported Scopes: planet

Supported targets: none

opinion - Checks this country’s opinion value of target country
Supported Scopes: country

Supported targets: ???

any_pop - switches scope to and goes through each pop unit on the planet or all pops of the scope species
Supported Scopes: planet

Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

is_owned_by - checks if a planet or galactic object is owned by target empire
Supported Scopes: planet

Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

is_same_species - checks if a pop or empire is of the same species as another pop or empire
Supported Scopes: country pop

Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

any_war_defender - switches scope to and goes through each defender in the war against a specified enemy
Supported Scopes: country

Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

any_war_attacker - switches scope to and goes through each attacker in the war against a specified enemy
Supported Scopes: country

Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

ideal_planet_class - Checks the ideal planet class of a target country
Supported Scopes: country

Supported targets:

is_same_empire - checks if an empire is the same as another
Supported Scopes: country

Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

is_planet_class - checks if a planet is of a certain class
Supported Scopes: planet

Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

has_strategic_resource - checks if a planet has a specific strategic resource
Supported Scopes: planet

Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

is_star_class - checks if a planet star is of a certain class
Supported Scopes: planet

Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM

distance - Compares the min/max distance to a target with a value
Supported Scopes: planet ship pop fleet

Supported targets: none

has_technology - checks if a country has a technology of atleast a specific level
Supported Scopes: country

Supported targets:

has_planet_modifier - checks if a planet has a planet modifier
Supported Scopes: planet

Supported targets: none

has_planet_flag - checks if a planet has a specified flag
Supported Scopes: planet

Supported targets: none

has_country_flag - checks if a country has a specified flag
Supported Scopes: country

Supported targets:

has_fleet_flag - Checks if a fleet has a specified flag
Supported Scopes: fleet

Supported targets:

has_ship_flag - checks if a planet

  • 3
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值