admin 管理员组

文章数量: 1086019

hoi4 event编写

triger

trigger = {tag = CHIdate > 2017.8.1date < 2017.8.4}

option

option = {
name = china.1.a
log = “[GetDateText]: [This.GetName]: china.1.a executed”
## add_stability = 0.05# 增加稳定性
}
trigger = {
tag = CHI
date > 2017.8.1
date < 2017.8.4
}

option = {name = china.2.alog = "[GetDateText]: [This.GetName]: china.2.a executed"## add_war_support = 0.05 # 增加战争支持
}
option = {name = china.3.alog = "[GetDateText]: [This.GetName]: china.3.a executed"ai_chance = {factor = 100}add_political_power = -10add_stability = -0.10hidden_effect = {add_popularity = {ideology = communismpopularity = -0.05}recalculate_party = yes}}

add_manpower = x

option = {name = china.4.alog = "[GetDateText]: [This.GetName]: china.4.a executed"subtract_from_variable = {var = treasuryvalue = 0.53}add_manpower = -57537 = { damage_building = { type = infrastructure damage = 0.4 } damage_building = { type = industrial_complex damage = 0.2 } }}

army_experience = x

option = {name = sino_indian.9.a #A glorious victory!trigger = { original_tag = CHI }CHI = { transfer_state = 475 }army_experience = 25log = "[GetDateText]: [This.GetName]: sino_indian.9.a executed"}

idea={}

option = {name = sco.11.a #We are grateful for the help!effect_tooltip = {add_timed_idea = {idea = SCO_development_assistancedays = 90}}log = "[GetDateText]: [This.GetName]: sco.11.a executed"}

本文标签: hoi4 event编写