- effect add_building = building_fortress
This command will add the 'Fortress' building to the selected celestial body.
- effect add_building = building_hive_warren
This command will add the 'Hive Warren' building to the selected celestial body.
Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in Stellaris.