Decision/Event trouble [SOLVED]
So, trying to make a simple supereasymode cheat, for when I don't want to play honest...
However, I can't seem to make it work!
The idea is to make it into a decision, so I can fire it at will, and select the goodie from the various actions. But no matter what I do, I can't even get it to appear. Even tried to highjack some other events, add country = USA (for testing) and removing most of the triggers, like occupation ones, but nope.
So, I'm hoping you guys and girls can help me out, and spot the error.
So, trying to make a simple supereasymode cheat, for when I don't want to play honest...
However, I can't seem to make it work!
The idea is to make it into a decision, so I can fire it at will, and select the goodie from the various actions. But no matter what I do, I can't even get it to appear. Even tried to highjack some other events, add country = USA (for testing) and removing most of the triggers, like occupation ones, but nope.
So, I'm hoping you guys and girls can help me out, and spot the error.
Code:
event = {
id = 1234567890
persistent = yes
random = no
country = USA
decision = { supplies = 50 }
trigger = {
supplies = 100
}
date = { day = 1 month = july year = 1914 }
deathdate = { day = 1 month = january year = 1963 }
name = "Go for it"
action_a = {
name = "Resources"
command = { type = add_prov_resource which = -1 value = 50 where = energy }
command = { type = add_prov_resource which = -1 value = 50 where = energy }
command = { type = add_prov_resource which = -1 value = 25 where = metal }
command = { type = add_prov_resource which = -1 value = 25 where = metal }
command = { type = add_prov_resource which = -1 value = 13 where = rare_materials }
command = { type = add_prov_resource which = -1 value = 13 where = rare_materials }
command = { type = add_prov_resource which = -1 value = 10 where = oil }
command = { type = add_prov_resource which = -1 value = 10 where = oil }
}
action_b = {
name = "Tech"
command = { type = gain_tech which = -1 }
command = { type = gain_tech which = -1 }
command = { type = gain_tech which = -1 }
command = { type = gain_tech which = -1 }
command = { type = gain_tech which = -1 }
}
action_c = {
name = "Construction modifiers"
command = { type = allow_building which = ic }
command = { type = allow_building which = infrastructure }
command = { type = building_prod_mod which = ic value = 100 }
command = { type = building_prod_mod which = infrastructure value = 100 }
command = { type = building_prod_mod which = land_fort value = 100 }
command = { type = building_prod_mod which = coastal_fort value = 100 }
command = { type = building_prod_mod which = air_base value = 100 }
command = { type = building_prod_mod which = naval_base value = 100 }
command = { type = repair_mod value = 50 }
}
}
Last edited: