Autobuild Question

Hydromancerx

C2C Modder
Joined
Feb 27, 2008
Messages
16,281
Location
California, USA
I have a code question. If you set a building with <PrereqBuildingClasses> and set it to say 3 but don't have a <BuildingClassNeededs> along with <bAutoBuild>1</bAutoBuild> Will it then in turn auto-build that building in every city as long as you have 3 buildings it requires in your empire?

For example if you build 3 Lumber Camps it builds an auto-build building everywhere? Or will it only build that building in the 3 cities that have Lumber Camps?
 
I have a code question. If you set a building with <PrereqBuildingClasses> and set it to say 3 but don't have a <BuildingClassNeededs> along with <bAutoBuild>1</bAutoBuild> Will it then in turn auto-build that building in every city as long as you have 3 buildings it requires in your empire?

For example if you build 3 Lumber Camps it builds an auto-build building everywhere? Or will it only build that building in the 3 cities that have Lumber Camps?

I'd say it SHOULD build it everywhere then, but I'm not 100% sure. I think the fastest way is just trying it in some experiments.
 
With normal buildings having PrereqBuildingClasses set to 3 means that for every three of those buildings you can build one of these buildings.

I have no idea what the auto build will do in that case.
 
Back
Top Bottom