• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days (this includes any time you see the message "account suspended"). For more updates please see here.

Buy all buildings option?

SaucyJ

Chieftain
Joined
Jan 14, 2016
Messages
40
Is there a mod or a script or a something-or-other that would basically be a one-click "buy all buildings available for purchase as long as you have the gold" option?

In the late game when I'm swimming in gold, there's gotta be a better way than "Click purchase, click building. Click purchase again, click another building. Repeat 75 times for each new city."
 
Untested - and maybe wrong - but this might work in FireTuner:
Code:
for row in GameInfo.Buildings() do if Players[Game.GetActivePlayer()]:GetCapitalCity():IsCanPurchase(true, true, -1, row.ID, -1, -1, YieldTypes.YIELD_GOLD) then Game.CityPurchaseBuildingPlayers[Game.GetActivePlayer()]:GetCapitalCity(), row.ID, YieldTypes.YIELD_GOLD) end end
If it doesn't work, well, I didn't have a lot of time anyway
 
im never able to run code blocks on the firetuner, only single lines, do you know something i missed?
 
I'm assuming that since I'm on a Mac, if you guys are talking about firetuner, then this (at this point, anyways) is futile for me?
 
I'm not sure what being on a Mac has anything to do with it. Is FireTuner known to not work on Macs? Or do you just not have it enabled in the config.ini?

BTW, in retrospect, the line of code I posted above will (assuming it works) autopurchase all available in the player's capital. It will require some modulation to do anything to a different city.
 
Back
Top Bottom