View Full Version : Troubleshooting new buildings


Zurai
Apr 02, 2004, 11:24 PM
OK, I need some help figuring out a problem with some new buildings (Small Wonders, actually) I added to my personal Conquests mod.

First, the buildings:

"Breadbasket of the Nation"
Costs 50
Produces 1 culture
Requires Agricultural civ
Requires 5 Granaries to be built
Must be near a river
Allows city size 2
Acts as a granary
Produces 1 settler every 15 turns
Agricultural flag checked


"Great Port"
Costs 40
Produces 2 culture
Requires Seafaring civ
Requires 5 Harbors to be built
Must be near water
Allows city size 2 and 3
Increases water trade
Seafaring and Coastal Installation flags checked




OK, the problem: Only *some* cities that have what *should* be the requirements are able to build them. I'm unable to find any rhyme or reason why the cities I want to build these at aren't allowed to build them. I've tested (for Breadbasket) cities near a river, cities not near a river, cities with a granary, cities without a granary, cities with an aqueduct (or equivalent), cities without an aqueduct (or equivalent), and every permutation thereof. The "Must be near a River" flag and the "Requires 5 granaries" work - all of the cities that are allowed to build it are near rivers, and I wasn't able to build it at all until after I built 5 granaries. However, cities that ARE near a river don't neccesarily get the option to build it. The situation is pretty much exactly the same for Great Port.

Anyone have any clue what I'm doing wrong? I thought at first that it was the aqueduct/hospital flags, but one of the cities that can build Great Port is situated right alongside a river and thus didn't need an aqueduct. I'm pretty sure there's a river-city that was able to build Breadbasket too, but I'd have to go back in game and check.

Krikkitone
Apr 04, 2004, 10:57 AM
Well remember the 'near water' flag means near Fresh Water (so a Lake or River is required)

It could be that if a City is allowed to be Size 3 then it can't build a building that allows size 2??? do you have hospitals/aqueducts

Also the GP has Both Size 2 and 3 flags checked, so a Size 2 city should still be able to build it (to get the Size 3 Bonus)

Can a city have two granary type buildings?..that might prevent it from being built in Granary containing cities?

Zurai
Apr 05, 2004, 05:55 AM
Originally posted by Krikkitone
Well remember the 'near water' flag means near Fresh Water (so a Lake or River is required)

Are you certain it's fresh water required? That would almost certainly be the problem for the Great Port if so. (Checked: You're right. Thank you. That's the flag that Nuclear Power plants have for their required cooling, which has to be fresh water. This may have been my entire problem)

It could be that if a City is allowed to be Size 3 then it can't build a building that allows size 2??? do you have hospitals/aqueducts

I wasn't to Sanitation when I attempted to build any of the buildings, and Shakespeare's wasn't built yet. Thus, the Port and Breadbasket were the only two buildings I could build to get to size 3. As I mentioned, I don't *think* aqueduct status had any effect, but I would have to re-test exclusively for that.

Can a city have two granary type buildings?..that might prevent it from being built in Granary containing cities?

Yes it can. As a matter of fact, the Breadbasket wasn't even buildable in any city that did not have a Granary, which makes sense.