欧陆风云4 修改语法表及事件格式及东亚地图补丁
欧陆风云4 修改语法表及事件格式及东亚地图补丁
我与如果以及烈火,神守夜等人制作的整合。
首先是EU4(欧陆风云4)的语法表的预览
TRIGGER修改
Scopes:
Scope: country/province
Syntax: = { triggers… }
转向特定国家
Scope: country/province
Syntax: = { triggers... }
转向特定省份
ROOT
Scope: country/province
Syntax: ROOT = { triggers… }
转向发生事件的国家/省份
from
Scope: country/province
Syntax: from = { triggers… }
转向引发这个事件的国家/省份
PREV
Scope: country/province
Syntax: PREV = { triggers… }
Scope: country/province
Syntax: = { triggers… }
转向特定地区
Scope: country/province
Syntax: = { triggers… }
转向特定大陆
custom_tooltip
Scope: country/province
Syntax: custom_tooltip = custom_tooltip name
exclusive
Scope: country/province
Syntax: exclusive = yes/no
是否独家新闻
ai_mission
Scope: mission
Syntax: ai_mission = yes/no
是否Ai任务
has_dlc
Scope: all
Syntax: has_dlc = "dlc name"
是否有某DLC
tooltip
Scope: country_event
Syntax: country_event = {
id = flavor_boh.3
days = 2500
random = 100
tooltip = flavor_boh.2.3
}
文字提示
Triggers:
and
和,必须符合所列的所有条件.
or
或,符合所列的任意一个条件
not
不符合所列的条件,用在数值前表示少于(不包括等于)
has_global_flag
Scope: country/province
Syntax: has_global_flag =
检测是否存在某flag
ai
Scope: country
Syntax: ai = yes/no
检测是否ai
is_year (year)
Scope: country/province
Syntax: is_year = x
该年或以后
is_month
Scope: country/province
Syntax: is_month = x
该月或以后
exists
Scope: country/province
Syntax: exists = country tag
检测国家是否存在
check_variable
Scope: country/province
Syntax: check_variable = {
which = variable name
value = x
}
检测指定变量的值x
国家指向
any_neighbor_country
Scope: country
Syntax: any_neighbor_country = { triggers… }
转向所有邻国
any_known_country
Scope: country
Syntax: any_known_country = { triggers… }
转向所有已知国家
any_country
Scope: country
Syntax: any_country = { triggers… }
转向所有国家
overlord
Scope: country
Syntax: overlord = { triggers… }
转向国家的宗主或者联统国
点此进入PKVS《欧陆风云4》论坛专区