My mod works locally, but not from the workshop. It claims...
[17:35:26][empire_design.cpp:227]: invalid trait trait_synthetics. file: prescripted_countries/syntheticempire.txt line: 49
But the trait works fine when I play the game with the mod in the mod folder.
I'm at a loss, I've been following the folder structure precisely and it's not because workshop doesn't have the same files.
Are there issues with adding custom traits at the moment to the game?
Also is there a way to restrict AI from being able to access custom traits?
Here's the trait file content
trait_synthetics = {
cost = 1
initial = no
modification = no
modifier = {
tile_resource_engineering_research_mult = 0.20
tile_resource_physics_research_mult = 0.20
tile_resource_society_research_mult = 0.20
tile_resource_energy_mult = 0.20
tile_resource_minerals_mult = 0.20
pop_environment_tolerance = 2.0
}
}
and the line it refers to in the empire file
ethic="ethic_fanatic_militarist"
ethic="ethic_materialist"
trait="trait_synthetics"
}
I've been trying to figure this out for hours now. Any help is appreciated.
[17:35:26][empire_design.cpp:227]: invalid trait trait_synthetics. file: prescripted_countries/syntheticempire.txt line: 49
But the trait works fine when I play the game with the mod in the mod folder.
I'm at a loss, I've been following the folder structure precisely and it's not because workshop doesn't have the same files.
Are there issues with adding custom traits at the moment to the game?
Also is there a way to restrict AI from being able to access custom traits?
Here's the trait file content
trait_synthetics = {
cost = 1
initial = no
modification = no
modifier = {
tile_resource_engineering_research_mult = 0.20
tile_resource_physics_research_mult = 0.20
tile_resource_society_research_mult = 0.20
tile_resource_energy_mult = 0.20
tile_resource_minerals_mult = 0.20
pop_environment_tolerance = 2.0
}
}
and the line it refers to in the empire file
ethic="ethic_fanatic_militarist"
ethic="ethic_materialist"
trait="trait_synthetics"
}
I've been trying to figure this out for hours now. Any help is appreciated.