One per system... |
Is there a way to allow a specific facility to be built only one per system?
Is there a way to only allow one ,of a specific facility, to be built ina system? Like make sure you can't have two spaceports, or ship yards in a system? I looked over the code but I still wasn't sure.

Re: One per system...
Yeah, that's really annoying. There should be something in the game that doesn't allow you to make ineffective duplicates or warns you that you are about to do so.
Re: One per system...
Aye, 'tis annoying when I accidentally double up on shrines.

Re: One per system...
that means that it's not impossible, right? we can hope...
Re: One per system...
I also have the opposite problem, getting reports that something in the system already has that capability when I know that it doesn't. Or maybe that was SE4.
Anyway, my oft slighted suggestions to improve the usability of the interface would ease these problems greatly. by having facilty reports by system with "one pers" being a diferent color, one could quickly see what exists in each system and modify accordingly.
Re: One per system...
How about if the build interface had just one more little feature? Where it shows how many are in que and how many exist, it could also have another column showing how many exist and are in que within the system.
Someday...
Re: One per system...
I've been trying to get Aaron to add facility count restrictions for ages... the best bet is to add these functions to Facilities.txt, for use in the requirements (and other formulas for even more complex fun):
Get_System_Ability_Facility_Count() : returns number of facilities on planets in the system with a specified ability
Get_System_Specific_Facility_Count() : returns the number of facilities on planets in te system with the specified name
Get_Planet_Ability_Facility_Count() : returns number of facilities on the planet with a specified ability
Get_Planet_Specific_Facility_Count() : returns the number of facilities on the planet with the specified name
Vehicles have similar functions for components (components themselves can't use them), but planets don't have them for facilities because you don't "design" planets. This is why Aaron didn't add something like them in the first place.
Re: One per system...
Those functions would have been extremely nice when I was teaching the AI to use One Per Planet, and One Per System facilities properly. Got it done, but it was obnoxious.
-unnamed




Re: One per system...
Sorry, but there seems to be no way to do this.
Unfortunately even reporting duplicates by custom scripting is quite hard.
I did once give it try but to no avail.