See the event 90 script below.
As CHI, if choose option action_c, there'll be peace with CHC, but no alliance.
If I use acceptall to make peace with CHC and then trigger event 90, alliance with CHC is just fine.
Is there anything wrong? :wacko:
As CHI, if choose option action_c, there'll be peace with CHC, but no alliance.
If I use acceptall to make peace with CHC and then trigger event 90, alliance with CHC is just fine.
Is there anything wrong? :wacko:
event = {
id = 90
random = no
country = CHI
name = EVT_90_NAME
desc = EVT_90_DESC
picture = "chinese_incident"
style = 0
trigger = {
war = { country = CHI country = CHC }
headofgovernment = 52002 # both Chiang Kai Shek
NOT = {
war = { country = CHI country = JAP }
}
random = 30
}
date = { day = 0 month = march year = 1936 }
offset = 15
deathdate = { day = 30 month = february year = 1937 }
action_a = {
name = EVT_90_ACTA
ai_chance = 80
command = { type = dissent value = -5 }
command = { type = peace which = CHC value = 0 }
# command = { type = peace which = CSX value = 1 } #just in case
# command = { type = peace which = CGX value = 1 } #just in case
# command = { type = peace which = CYN value = 1 } #just in case
# command = { type = peace which = CXB value = 1 } #just in case
# command = { type = peace which = SIK value = 1 } #just in case
command = { type = domestic which = democratic value = 1 }
command = { type = domestic which = interventionism value = 1 }
command = { type = domestic which = freedom value = 1 }
command = { type = relation which = CHC value = 10 }
command = { type = relation which = CSX value = 20 }
command = { type = relation which = CGX value = 10 }
command = { type = relation which = CYN value = 5 }
command = { type = relation which = CXB value = 10 }
command = { type = relation which = SIK value = 15 }
command = { type = sleepleader which = 50011 } # Zhang Xueliang
command = { type = sleepleader which = 50340 } # Yang Hucheng
}
action_b = {
name = EVT_90_ACTB
ai_chance = 10
command = { type = dissent value = 10 } #loss of support (mainly Manchurian exiles)
command = { type = domestic which = democratic value = -1 }
command = { type = domestic which = political_left value = -1 }
command = { type = domestic which = interventionism value = -1 }
command = { type = domestic which = freedom value = 2 }
command = { type = relation which = CHC value = -20 }
command = { type = relation which = CGX value = -5 }
command = { type = relation which = CSX value = -10 }
command = { type = relation which = CYN value = -5 }
command = { type = relation which = CXB value = -5 }
command = { type = relation which = SIk value = -5 }
command = { type = sleepleader which = 50011 } # Zhang Xueliang
command = { type = sleepleader which = 50340 } # Yang Hucheng
command = { type = sleepevent which = 91 } #Alt Unified Front
}
action_c = {
name = EVT_90_ACTC
ai_chance = 10
command = { type = dissent value = 15 } #anti-communist dissent
command = { type = peace which = CHC value = 0 }
# command = { type = peace which = CSX value = 1 } #just in case
# command = { type = peace which = CGX value = 1 } #just in case
# command = { type = peace which = CYN value = 1 } #just in case
# command = { type = peace which = CXB value = 1 } #just in case
# command = { type = peace which = SIK value = 1 } #just in case
command = { type = alliance which = CHC }
command = { type = alliance which = CSX }
command = { type = alliance which = CGX }
command = { type = alliance which = CYN }
command = { type = alliance which = CXB }
command = { type = alliance which = SIK }
command = { type = domestic which = democratic value = 2 }
command = { type = domestic which = political_left value = 1 }
command = { type = domestic which = free_market value = -1 }
command = { type = domestic which = interventionism value = 2 }
command = { type = domestic which = freedom value = 2 }
command = { type = sleepevent which = 91 } #Alt Unified Front
}
}