So I changed the Solar Plant effect to a series of declarations like so:
Code: Select all
[effect_solar_plant_factory_solar_25]
type = "Output_Bonus"
value = 25
reqs =
{ "type", "name", "range", "present"
"Building", "Factory", "City", TRUE
"OutputType", "Shield", "Local", TRUE
"Building", "Solar Plant", "City", TRUE
"Building", "Nuclear Plant", "City", FALSE
"Building", "Fusion Plant", "City", FALSE
"MaxLatitude", "200", "Tile", TRUE
"MinLatitude", "-200", "Tile", TRUE
}
[effect_solar_plant_factory_solar_20N]
type = "Output_Bonus"
value = 20
reqs =
{ "type", "name", "range", "present"
"Building", "Factory", "City", TRUE
"OutputType", "Shield", "Local", TRUE
"Building", "Solar Plant", "City", TRUE
"Building", "Nuclear Plant", "City", FALSE
"Building", "Fusion Plant", "City", FALSE
"MaxLatitude", "400", "Tile", TRUE
"MinLatitude", "201", "Tile", TRUE
}
; etc...
[effect_solar_plant_factory_solar_desert]
type = "Output_Bonus"
value = 2
reqs =
{ "type", "name", "range", "present"
"Building", "Factory", "City", TRUE
"OutputType", "Shield", "Local", TRUE
"Building", "Solar Plant", "City", TRUE
"Building", "Nuclear Plant", "City", FALSE
"Building", "Fusion Plant", "City", FALSE
"Terrain", "Desert", "City", TRUE
}