I released a mod that adds some additional traits (http://steamcommunity.com/sharedfiles/filedetails/?id=681816257) and found that some of the modifiers being used were not actually working ingame.
influence_add_gain = 2
influence_add_mult = 0.1
planet_clear_blocker_cost_mult = 0.5
planet_clear_blocker_speed_mult = 0.5
max_embassies = 1
max_rivalries = 1
The above appear correctly on the traits selection screen but don't seem to work in game (tile blockers still take the same amount of time and cost the same energy/minerals), and the influence stays at its base amount (3.0).
Also, I tried using writing some if/else code in the tile_blockers file to change the cost (using similar examples from other files) like this:
cost = {
if = {
limit = {z
has_trait = trait_conservationists
}
energy = 90
else = {
energy = 60
}
}
}
But that causes the game to ignore the cost entirely (clearing costs 0 energy/minerals).
I'm not sure if I am just writing the if statements incorrectly, or if these modifiers simply won't work, or if the if statements are disabled in these files.
If if statements are enabled, how would i do an if statement for a single interger (like time = 80, but it would need to be time = { if { } }
influence_add_gain = 2
influence_add_mult = 0.1
planet_clear_blocker_cost_mult = 0.5
planet_clear_blocker_speed_mult = 0.5
max_embassies = 1
max_rivalries = 1
The above appear correctly on the traits selection screen but don't seem to work in game (tile blockers still take the same amount of time and cost the same energy/minerals), and the influence stays at its base amount (3.0).
Also, I tried using writing some if/else code in the tile_blockers file to change the cost (using similar examples from other files) like this:
cost = {
if = {
limit = {z
has_trait = trait_conservationists
}
energy = 90
else = {
energy = 60
}
}
}
But that causes the game to ignore the cost entirely (clearing costs 0 energy/minerals).
I'm not sure if I am just writing the if statements incorrectly, or if these modifiers simply won't work, or if the if statements are disabled in these files.
If if statements are enabled, how would i do an if statement for a single interger (like time = 80, but it would need to be time = { if { } }