def reqPirateCove(caster):
pPlot = caster.plot()
if pPlot.isWater():
return False
if pPlot.area().getNumTiles() == 1:
return False
if pPlot.getNumUnits() > 1:
return False
if pPlot.isCity():
return False
if (pPlot.isOwned() and pPlot.getOwner() != caster.getOwner()):
return False
if pPlot.getImprovementType() != -1:
return False
iPirateCove = gc.getInfoTypeForString('IMPROVEMENT_PIRATE_COVE')
iX = caster.getX()
iY = caster.getY()
for iiX in range(iX-2, iX+3, 1):
for iiY in range(iY-2, iY+3, 1):
pPlot = CyMap().plot(iiX,iiY)
if pPlot.getImprovementType() == iPirateCove:
return False
return True
def reqPirateCove(caster):
pPlot = caster.plot()
if pPlot.isWater():
return False
if pPlot.area().getNumTiles() == 1:
return False
if pPlot.getNumUnits() > 1:
return False
if pPlot.isCity():
return False
if (pPlot.isOwned() and pPlot.getOwner() != caster.getOwner()):
return False
if pPlot.getImprovementType() != -1:
return False
iPirateCove = gc.getInfoTypeForString('IMPROVEMENT_PIRATE_COVE')
iPirateHarbor = gc.getInfoTypeForString('IMPROVEMENT_PIRATE_HARBOR')
iPiratePort = gc.getInfoTypeForString('IMPROVEMENT_PIRATE_PORT')
iX = caster.getX()
iY = caster.getY()
for iiX in range(iX-2, iX+3, 1):
for iiY in range(iY-2, iY+3, 1):
pPlot = CyMap().plot(iiX,iiY)
if pPlot.getImprovementType() == iPirateCove or pPlot.getImprovementType() == iPirateHarbor or pPlot.getImprovementType() == iPiratePort:
return False
return True
Would it be possible to make sure there can be only one Bandit Nietz?
I really advise to not allow slaves to buy slaves. This is simply the open door to mass buying.
Hello Kael,
Actually, I discover honour first.
So I'm the Empyrean Creator
I build the Deis Dei but no election !!
and i'm part of the Upper council
Is it normal ?
![]()
- haven't seen any marble on my last maps. was it deleted?
It was changed so that players who wanted to get the Mercurians in to switch to or for roleplaying didn't have to wait for the AI to summon Hybo. Basium frequently shows up first now, in fact, since anyone non-evil can build the Gate but only an AV follower will summon the red dude.Also someone build Gate and created Basium, but nobody found Ashen Veil nor Infernals.
- haven't seen any marble on my last maps. was it deleted?
- have the feeling that the barbarian beasts disappear after some time. i get the msg that a beast appears at the edge of civilisation but i never run into one of them. checked with editor - no beast to find. i got no msg that they have been killed and i do not think that the ai was strong enough to do so...