Lady Wandbender
Chieftain
Hi everybody, a friend had me play this mod during a get together at his house, three days later I went home with my first huge-map win. It is the best I've played since civ2, including the commercial releases.
I am a tweaker and ussualy just pay people to do the code work for me, but this time the guy who said he could do it, couldn't. The things he couldn't fix I either found work arounds for or put on my wish list for later. The below code though is bugging me since it's something I really want but can't find a work around for it, just poor choice comprimises. So I thought I'd come here and hope someone could tell me what to do to fix it, or tell me how else it can be done.
It's supposed to let the presence of an unit add to the city's production without joing the city as a citizen.
if city.isHasunit(gc.getInfoTypeForString('Unit_Builder')):
if city.getNumRealBuilding(gc.getInfoTypeForString('BUILDING_MANA_FACTORY')) > 0:
city.changeProduction(1)
in the orignal code there is no space in the Unit_Builder, I don't know why it listed it as such here. and both the Unit and building are accuately (and working) in the game
I am a tweaker and ussualy just pay people to do the code work for me, but this time the guy who said he could do it, couldn't. The things he couldn't fix I either found work arounds for or put on my wish list for later. The below code though is bugging me since it's something I really want but can't find a work around for it, just poor choice comprimises. So I thought I'd come here and hope someone could tell me what to do to fix it, or tell me how else it can be done.
It's supposed to let the presence of an unit add to the city's production without joing the city as a citizen.
if city.isHasunit(gc.getInfoTypeForString('Unit_Builder')):
if city.getNumRealBuilding(gc.getInfoTypeForString('BUILDING_MANA_FACTORY')) > 0:
city.changeProduction(1)
in the orignal code there is no space in the Unit_Builder, I don't know why it listed it as such here. and both the Unit and building are accuately (and working) in the game