Valkrionn
The Hamster King
I'm looking to put a few new UFs into the game.... Anyone have any ideas? Possible graphics?
def atRangeBair(pCaster, pPlot):
iSheaim = gc.getInfoTypeForString('CIVILIZATION_SHEAIM')
pPlayer = gc.getPlayer(pCaster.getOwner())
if pPlayer.getCivilizationType() != iSheaim:
listPlots = []
for i in range (CyMap().numPlots()):
pPlot2 = CyMap().plotByIndex(i)
if not pPlot2.isWater():
if pPlot2.getNumUnits() == 0:
if not pPlot2.isCity():
if pPlot2.getImprovementType() == -1 :
if pPlot2.getBonusType(-1) == -1:
if not pPlot2.isOwned():
listPlots.append(i)
elif gc.getPlayer(pPlot2.getOwner()).getCivilizationType() == iSheaim:
listPlots.append(i)
if len(listPlots) > 0:
iRnd = CyGame().getSorenRandNum(len(listPlots), "Hide Bair")
pPlot3 = CyMap().plotByIndex(listPlots[iRnd])
pPlot.setImprovementType(-1)
pPlot.setBonusType(-1)
pPlot3.setImprovementType(gc.getInfoTypeForString('IMPROVEMENT_BAIR_OF_LACUNA'))
for iUnit in range(pPlot.getNumUnits(), 0, -1):
pUnit = pPlot.getUnit(iUnit-1)
pPlayerUnit = gc.getPlayer(pUnit.getOwner())
if pPlayerUnit.getCivilizationType() == iSheaim:
pUnit.setXY(pPlot3.getX(), pPlot3.getY(), false, true, true)
I'd like to see more features that provide non-mana resources. For example, Orbis has Gate to the Underdark UF that provides Gems. I find myself lacking in more specific ideas for this.I'm looking to put a few new UFs into the game.... Anyone have any ideas? Possible graphics?
Explorable epic dungeons:
- A dungeon that can only be entered by units with the adventurer promotion
- An ancient mass grave that can only be entered by units with Undead or Undead Slaying. Spawns Spectres until dealt with.
- An old wizard's tower that can only be entered by an arcane unit with Channeling 3. In addition to being an epic dungeon, it contains a powerful item that can be captured (perhaps an artifact that can be dropped in a city to provide metamagic mana?)
- A shrine that Blesses units in it and launches a Citadel of Light effect at demons.
Since no one responded to my idea n the Blair of Lacuna thread, I figure I'd mention it here.
I like these ones a lot...
*rustle*
I decided it could be cool for the Bair of Lacuna to move whenever a non-Sheaim unit approaches, through a <PythonAtRange> call:
Making it provide Dimensional Mana without a route would not be possible,