So I've tried adding other structures for new factions and I get a game breaking bug, for example:
Try creating a new faction for GC
Try adding a preexisting structure, like the droid works and recode it so that it belongs to this new faction
Create a GC with this new faction with a structure
Whenever the player auto resolves a land battle confrontation with this faction with the new structure, it causes this bug. This is annoying and limiting because the AI uses auto resolve to fight other AI.
How do I solve this problem
*I dont have xml code for this