Code:
event = {
id = 5003025
random = no
country = EST
# Triggered by GER 2003024
name = "EVT_5003025_NAME"
desc = "EVT_5003025_DESC"
style = 2
picture = "Baltic_Entente"
action_a = {
name = "What would it achieve"
ai_chance = 75
command = { type = relation which = FIN value = -15 }
command = { type = dissent value = 5 }
}
action_b = {
name = "Were in this together"
ai_chance = 25
command = { type = alliance which = FIN }
command = { type = dissent value = -5 }
command = { type = relation which = SOV value = - 25 }
command = { type = relation which = GER value = - 15 }
command = { type = relation which = SWE value = 25 }
command = { type = relation which = ENG value = 15 }
command = { type = relation which = FRA value = 15 }
command = { type = relation which = POL value = 20 }
}
}
Code:
event = {
id = 2003024
random = no
country = GER
decision = {
exists = POL
exists = SOV
OR = {
AND = { month = september year = 1939 }
event = { id = 2003015 days = 144 }
event = { id = 2003013 days = 300 }
}
NOT = {
OR = {
ispuppet = POL
ispuppet = GER
ispuppet = SOV
war = { country = SOV country = GER }
alliance = { country = GER country = POL }
alliance = { country = GER country = SOV }
}
}
}
decision_trigger = {
relation = { which = SOV value = 50 }
}
trigger = {
exists = POL
exists = SOV
OR = {
event = { id = 2003015 days = 144 }
event = { id = 2003013 days = 300 }
}
NOT = {
OR = {
ispuppet = POL
ispuppet = GER
ispuppet = SOV
war = { country = SOV country = GER }
alliance = { country = GER country = POL }
alliance = { country = GER country = SOV }
}
}
OR = {
random = 15
AND = {
year = 1939
month = august
random = 75
}
}
}
name = "EVT_2050_NAME"
desc = "EVT_2050_DESC"
style = 2
picture = "Mol_Rib"
decision_picture = "decision_MRPact"
date = { day = 1 month = january year = 1936 }
offset = 20
deathdate = { day = 12 month = march year = 1966 }
action_a = {
name = "ACTIONNAME2050A" # Historical Agreement
ai_chance = 100
command = { type = trigger which = 2007018 } # SOV
command = { type = relation which = SOV value = 15 }
command = { type = set_relation which = EST value = -75 }
command = { type = set_relation which = LAT value = -75 }
command = { type = set_relation which = LIT value = -75 }
command = { type = trigger which = 2001025 } # UK Gears up for war
command = { type = trigger which = 2002001 } # France Gears up for war
command = { type = trigger which = 5003025 } # Ask the Finns
}
action_b = {
name = "ACTIONNAME2050B" # Only agree to partition Poland
ai_chance = 0
command = { type = trigger which = 2007019 } # SOV
command = { type = relation which = SOV value = 10 }
command = { type = dissent value = 5 }
command = { type = trigger which = 2001025 } # UK Gears up for war
command = { type = trigger which = 2002001 } # France Gears up for war
command = { type = sleepevent which = 2007026 }
}
}
Updated Event and the error is Error: ( Missing= in statement. ) '25=-'Line=24 (something like this).
Last edited: