micmc
Warlord
#Terraform Flat land --- ice > Tundra > Desert > Plains > Grass >
if(iImprovement == gc.getInfoTypeForString('IMPROVEMENT_TERRAFORM')):
CyInterface().addMessage(CyGame().getActivePlayer(),True,25,'TERRAFORM completed!','AS2D_DISCOVERBONUS',1,'Art/Interface/Buttons/general/happy_person.dds',ColorTypes(8),iX,iY,False,False)
nase = pPlot.getTerrainType()
pPlot.setTerrainType(nase-1, 1, 1)
pPlot.setImprovementType(-1)
Retun
If I wanted to grass into coast (or ocean) what I would I do to the above to make this happen? and if I wanted to make a complete loop, like back to ice what would I do?
if(iImprovement == gc.getInfoTypeForString('IMPROVEMENT_TERRAFORM')):
CyInterface().addMessage(CyGame().getActivePlayer(),True,25,'TERRAFORM completed!','AS2D_DISCOVERBONUS',1,'Art/Interface/Buttons/general/happy_person.dds',ColorTypes(8),iX,iY,False,False)
nase = pPlot.getTerrainType()
pPlot.setTerrainType(nase-1, 1, 1)
pPlot.setImprovementType(-1)
Retun
If I wanted to grass into coast (or ocean) what I would I do to the above to make this happen? and if I wanted to make a complete loop, like back to ice what would I do?