The below code in refinery worlds:
and the below code in mining/farming/generator worlds:
Will always evaluate to True. Every planet will always only contain one of the above district types, and as such the other types will always have an available quantity of 0.
Steps to replicate:
1) Select a non-gestalt planet in-game
2) Open the console
3) Use trigger to check if num_free_districts = { type = district_hive value < 5} evaluates to True
Code:
OR = {
num_free_districts = { type = district_city value <= @free_districts_medium_threshold }
num_free_districts = { type = district_nexus value <= @free_districts_medium_threshold }
num_free_districts = { type = district_hive value <= @free_districts_medium_threshold }
}
Code:
OR = {
num_free_districts = { type = district_city value < @small_planet_threshold }
num_free_districts = { type = district_nexus value < @small_planet_threshold }
num_free_districts = { type = district_hive value < @small_planet_threshold }
}
Steps to replicate:
1) Select a non-gestalt planet in-game
2) Open the console
3) Use trigger to check if num_free_districts = { type = district_hive value < 5} evaluates to True
Upvote
0