PDA

View Full Version : Facility Limitations>


MrToxin
October 4th, 2007, 06:49 PM
Can you limit facilities to one per planet or one per empire? I don't see how it can be done but I tend to overlook things.

Ed Kolis
October 4th, 2007, 09:24 PM
As of the upcoming patch, you will be able to limit them to "one per planet", as the hardcoded "one SY per planet" limitation has been removed and in its place is a set of functions which, among other things, can be used to limit facilities (such as space yards as in the stock game) to one per planet.

As for "one per empire", I'm not sure - I haven't looked at the new functions in too much detail. One per system, perhaps, but I'm not so sure about one per empire...

MrToxin
October 5th, 2007, 12:03 AM
That makes me want this fancy new patch all that much more.

Spectarofdeath
October 5th, 2007, 12:48 AM
I don't think there is, but there should be one.

Fyron
October 5th, 2007, 01:09 AM
The facility count functions had little to do with SYs; the SY was just a natural use for them in stock.

The functions cover planets and systems, but not the whole empire.

get_planet_ability_facility_count
get_planet_specific_facility_count
get_system_ability_facility_count
get_system_specific_facility_count