Hi guys, Im trying to write an event to give a boost to the minor nations... here is what i got so far
event = {
id = 737373
random = yes
persistent = yes
trigger = {
major = no
}
name = "Colonial help package"
desc = "Tea n biscuits for our colonial friends"
date = { day = 1 month = january year = 1914 }
offset = 150
action_a = {
name = "Thank you Sir! This will help greatly"
ai_chance = 80
command = { type = free_ic value = 1 }
command = { type = free_energy value = 1 }
command = { type = free_metal value = 1 }
command = { type = free_oil value = 1 }
command = { type = free_rare_materials value = 1 }
command = { type = construct which = infrastructure where = -1 value = 100 }
command = { type = construct which = infrastructure where = -1 value = 100 }
command = { type = construct which = ic where = -1 value = 3 }
command = { type = construct which = ic where = -1 value = 3 }
command = { type = set_domestic which = professional_army value = 5 }
command = { type = supplies value = 200 } # Free stuff
command = { type = oilpool value = 200 }
command = { type = metalpool value = 200 }
command = { type = energypool value = 200 }
command = { type = rarematerialspool value = 200 }
command = { type = manpowerpool value = 300 }
command = { type = money value = 500 }
}
action_b = {
name = "Take your tea and dump it in the harbour"
ai_chance = 20
command = { }
}
So what im trying to achieve is randomly giving the minor countries a small set up in improving their provinces and a boost towards setting up a small army.
The event work ok but only if i trigger it through the console.. and the it fires on the offset i set it at.. if i dont use the console i dont see it ever happening.
Your thoughts and ideas please. this my firt try at an event and im very confuzzled :/
event = {
id = 737373
random = yes
persistent = yes
trigger = {
major = no
}
name = "Colonial help package"
desc = "Tea n biscuits for our colonial friends"
date = { day = 1 month = january year = 1914 }
offset = 150
action_a = {
name = "Thank you Sir! This will help greatly"
ai_chance = 80
command = { type = free_ic value = 1 }
command = { type = free_energy value = 1 }
command = { type = free_metal value = 1 }
command = { type = free_oil value = 1 }
command = { type = free_rare_materials value = 1 }
command = { type = construct which = infrastructure where = -1 value = 100 }
command = { type = construct which = infrastructure where = -1 value = 100 }
command = { type = construct which = ic where = -1 value = 3 }
command = { type = construct which = ic where = -1 value = 3 }
command = { type = set_domestic which = professional_army value = 5 }
command = { type = supplies value = 200 } # Free stuff
command = { type = oilpool value = 200 }
command = { type = metalpool value = 200 }
command = { type = energypool value = 200 }
command = { type = rarematerialspool value = 200 }
command = { type = manpowerpool value = 300 }
command = { type = money value = 500 }
}
action_b = {
name = "Take your tea and dump it in the harbour"
ai_chance = 20
command = { }
}
So what im trying to achieve is randomly giving the minor countries a small set up in improving their provinces and a boost towards setting up a small army.
The event work ok but only if i trigger it through the console.. and the it fires on the offset i set it at.. if i dont use the console i dont see it ever happening.
Your thoughts and ideas please. this my firt try at an event and im very confuzzled :/