Now, after changing the TAG of a country (which works fine), i have got a problem with the events for the new country...
The events for this country doesn´t fire, but i can´t find any mistake in the code...
This is the first one... logically the country Tag is U19, it works fine seceding some provinces to the new country, and it even exists, so why doesnt this event work?
The events for this country doesn´t fire, but i can´t find any mistake in the code...
Code:
#########################################################################
# 60001 Proklamation der RAL
#########################################################################
event = {
id = 60001
country = AUS
random = no
picture = RAL
# Triggered by Schweiz 2000000
name = "Proklamation der RAL"
desc = "Es ist vollbracht! Die beiden Alpenstaaten, Österreich und die Schweiz, haben ihre Zustimmung zur Gründung eines neuen Staates gegeben. Bereits am morgigen Tage werden wahlen stattfinden, um ein gemeinsames Parlament aufzustellen. Möge die Republik Alpiner Länder lange bestehen!"
style = 0
action_a = { name = "Lang lebe die RAL!"
command = { type = country which = U19 }
command = { type = addcore which = 530 }
command = { type = addcore which = 372 }
command = { type = addcore which = 532 }
command = { type = addcore which = 533 }
command = { type = trigger which = 2000001 } #Schweiz
command = { type = supplies value = 5000 }
command = { type = energypool value = 10000 }
command = { type = rarematerialspool value = 2000 }
command = { type = oilpool value 20000 }
command = { type = money value = 1000 }
command = { type = manpowerpool value = 1000 }
}
}
[COLOR=Blue]
(THIS ONE WORKS FINE)[/COLOR]
#########################################################################
# 60002 RAL-Parlamentswahlen
#########################################################################
event = {
id = 60002
country = U19
random = no
picture = RAL
name = "RAL-Parlamentswahlen"
desc = "Heute finden die ersten Parlamentswahlen der RAl statt, um eine gemeinsame Regierung für das neue Land zu schaffen."
style = 0
trigger = { exists = U19 }
date = { day = 11 month = january year = 2064 }
offset = 1
deathdate = { day = 1 month = december year = 2200 }
action_a = { name = "Gemäßigte Rechte wählen"
ai_chance = 30
command = { type = domestic which = political_left value = -2 }
}
action_b = { name = "Gemäßigte Linke wählen"
ai_chance = 40
command = { type = domestic which = political_left value = 2 }
}
action_c = { name = "Linksextreme wählen"
ai_chance = 15
command = { type = set_domestic which = political_left value = 10 }
command = { type = dissent value = 3 }
command = { type = relation which = GER value = -50 }
command = { type = domestic which = democratic value = -1 }
}
action_d = { name = "Rechtsextreme wählen"
ai_chance = 15
command = { type = set_domestic which = political_left value = 1 }
command = { type = dissent value = 5 }
command = { type = relation which = GER value = 100 }
command = { type = domestic which = democratic value = -1 }
}
}
This is the first one... logically the country Tag is U19, it works fine seceding some provinces to the new country, and it even exists, so why doesnt this event work?