hi all! been fooling around a bit with events, and made this one:
What's wrong with it?
tripp_trap said:#########################################################################
# A Lend-Lease Shipment Arrives from the USA
#########################################################################
event = {
id = 135790
random = 75
country = GER
persistent = no
trigger = {
war = { country = GER country = SOV }
control = { province = 485 data = SOV }
OR = {
war = { country = GER country = USA }
control = { province = 56 data = USA }
}
name = "The creation of the Volksturm"
desc = "Great Führer, our forces is thin on every front, and get's thinner every day. We must find a way to access more fresh troops. Perhaps we could use criminals? Or maybe even younger and older men?"
style = 0
picture = "lend_lease"
date = { day = 1 month = 1 year = 1942}
offset = 7 # Check for trigger conditions every seven days
deathdate = { day = 30 month = december year = 1947 }
action_a = {
name = "Form the Volksturm and draft criminals"
command = { type = add_division which = "1. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "2. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "3. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "4. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "5. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "6. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "7. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "8. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "9. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "10. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "11. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "12. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "Ehrsats Division A 999" value = mechanized when = 2 }
command = { type = manpowerpool value = 25 }
command = { type = dissent value = 5 }
}
action_b = {
name = "Only form the Volksturm"
command = { type = add_division which = "1. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "2. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "3. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "4. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "5. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "6. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "7. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "8. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "9. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "10. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "11. Volksturm Division" value = infantry when = 1 }
command = { type = add_division which = "12. Volksturm Division" value = infantry when = 1 }
command = { type = manpowerpool value = 15 }
command = { type = dissent value = 2 }
}
action_c = {
name = "Just squeeze some more"
command = { type = manpowerpool value = 5 }
}
}
What's wrong with it?