Dive into Ancient Lore: A RifE Modmod

Just an idea for how to add the build altar options back to the Luonotar. Simply tie the various build level "x" spells to a prerequisite level, then have the spell kill the caster. This represents the civ having to work on developing units and sacrifice them to create the altar.

Also, I am developing a unique leader for the Grigori in the "Testers group," not sure if you have access, but maybe have a look at what I've got there and tell me if I'm stepping on any toes.

He should have access to both tester's group and team forum. ;)

Your leader shouldn't hurt Goodreau; Different traits.
 
Just an idea for how to add the build altar options back to the Luonotar. Simply tie the various build level "x" spells to a prerequisite level, then have the spell kill the caster. This represents the civ having to work on developing units and sacrifice them to create the altar.

I believe it is already implemented that way in the version of my modmod which I released back on March 3rd.

You also have to remember to make the spell remove previous versions of the altar.

Spoiler :

Code:
        <SpellInfo>
            <Type>SPELL_BUILD_ALTAR_OF_THE_LUONNOTAR1</Type>
            <Description>TXT_KEY_SPELL_BUILD_ALTAR_OF_LUONNOTAR</Description>
            <Civilopedia>TXT_KEY_SPELL_FOUND_TEMPLE_PEDIA</Civilopedia>
            <UnitPrereq>UNIT_LUONNOTAR</UnitPrereq>
            <bAllowAI>1</bAllowAI>
            <bCasterNoDuration>1</bCasterNoDuration>
            <bInBordersOnly>1</bInBordersOnly>
            <bInCityOnly>1</bInCityOnly>
            <bHasCasted>1</bHasCasted>
            <CreateBuildingType>BUILDING_ALTAR_OF_THE_LUONNOTAR</CreateBuildingType>
            <bAbility>1</bAbility>
            <bSacrificeCaster>1</bSacrificeCaster>
            <PyRequirement>reqBuildAltarLuon1(pCaster)</PyRequirement>
            <Effect>EFFECT_SPELL1</Effect>
            <Sound>AS3D_SPELL_FOUND_TEMPLE</Sound>
            <bGraphicalOnly>1</bGraphicalOnly>
            <Button>Art/Interface/Buttons/Buildings/Altaroftheluonnotar.dds</Button>
        </SpellInfo>
        <SpellInfo>
            <Type>SPELL_BUILD_ALTAR_OF_THE_LUONNOTAR2</Type>
            <Description>TXT_KEY_SPELL_BUILD_ALTAR_OF_LUONNOTAR</Description>
            <Civilopedia>TXT_KEY_SPELL_FOUND_TEMPLE_PEDIA</Civilopedia>
            <UnitPrereq>UNIT_LUONNOTAR</UnitPrereq>
            <BuildingPrereq>BUILDING_ALTAR_OF_THE_LUONNOTAR</BuildingPrereq>
            <TechPrereq>TECH_MYSTICISM</TechPrereq>
            <bAllowAI>1</bAllowAI>
            <bCasterNoDuration>1</bCasterNoDuration>
            <iCasterMinLevel>1</iCasterMinLevel>
            <bInBordersOnly>1</bInBordersOnly>
            <bInCityOnly>1</bInCityOnly>
            <bHasCasted>1</bHasCasted>
            <CreateBuildingType>BUILDING_ALTAR_OF_THE_LUONNOTAR_ANOINTED</CreateBuildingType>
            <bAbility>1</bAbility>
            <bSacrificeCaster>1</bSacrificeCaster>
            <PyResult>spellRemoveBuilding(pCaster, 'BUILDING_ALTAR_OF_THE_LUONNOTAR')</PyResult>
            <Effect>EFFECT_SPELL1</Effect>
            <Sound>AS3D_SPELL_FOUND_TEMPLE</Sound>
            <bGraphicalOnly>1</bGraphicalOnly>
            <Button>Art/Interface/Buttons/Buildings/Altaroftheluonnotar2.dds</Button>
        </SpellInfo>
        <SpellInfo>
            <Type>SPELL_BUILD_ALTAR_OF_THE_LUONNOTAR3</Type>
            <Description>TXT_KEY_SPELL_BUILD_ALTAR_OF_LUONNOTAR</Description>
            <Civilopedia>TXT_KEY_SPELL_FOUND_TEMPLE_PEDIA</Civilopedia>
            <UnitPrereq>UNIT_LUONNOTAR</UnitPrereq>
            <BuildingPrereq>BUILDING_ALTAR_OF_THE_LUONNOTAR_ANOINTED</BuildingPrereq>
            <TechPrereq>TECH_PHILOSOPHY</TechPrereq>
            <bAllowAI>1</bAllowAI>
            <bCasterNoDuration>1</bCasterNoDuration>
            <iCasterMinLevel>2</iCasterMinLevel>
            <bInBordersOnly>1</bInBordersOnly>
            <bInCityOnly>1</bInCityOnly>
            <bHasCasted>1</bHasCasted>
            <CreateBuildingType>BUILDING_ALTAR_OF_THE_LUONNOTAR_BLESSED</CreateBuildingType>
            <bAbility>1</bAbility>
            <bSacrificeCaster>1</bSacrificeCaster>
            <PyResult>spellRemoveBuilding(pCaster, 'BUILDING_ALTAR_OF_THE_LUONNOTAR_ANOINTED')</PyResult>
            <Effect>EFFECT_SPELL1</Effect>
            <Sound>AS3D_SPELL_FOUND_TEMPLE</Sound>
            <bGraphicalOnly>1</bGraphicalOnly>
            <Button>Art/Interface/Buttons/Buildings/Altaroftheluonnotar3.dds</Button>
        </SpellInfo>
        <SpellInfo>
            <Type>SPELL_BUILD_ALTAR_OF_THE_LUONNOTAR4</Type>
            <Description>TXT_KEY_SPELL_BUILD_ALTAR_OF_LUONNOTAR</Description>
            <Civilopedia>TXT_KEY_SPELL_FOUND_TEMPLE_PEDIA</Civilopedia>
            <UnitPrereq>UNIT_LUONNOTAR</UnitPrereq>
            <BuildingPrereq>BUILDING_ALTAR_OF_THE_LUONNOTAR_BLESSED</BuildingPrereq>
            <TechPrereq>TECH_PRIESTHOOD</TechPrereq>
            <bAllowAI>1</bAllowAI>
            <bCasterNoDuration>1</bCasterNoDuration>
            <iCasterMinLevel>3</iCasterMinLevel>
            <bInBordersOnly>1</bInBordersOnly>
            <bInCityOnly>1</bInCityOnly>
            <bHasCasted>1</bHasCasted>
            <CreateBuildingType>BUILDING_ALTAR_OF_THE_LUONNOTAR_CONSECRATED</CreateBuildingType>
            <bAbility>1</bAbility>
            <bSacrificeCaster>1</bSacrificeCaster>
            <PyResult>spellRemoveBuilding(pCaster, 'BUILDING_ALTAR_OF_THE_LUONNOTAR_BLESSED')</PyResult>
            <Effect>EFFECT_SPELL1</Effect>
            <Sound>AS3D_SPELL_FOUND_TEMPLE</Sound>
            <bGraphicalOnly>1</bGraphicalOnly>
            <Button>Art/Interface/Buttons/Buildings/Altaroftheluonnotar4.dds</Button>
        </SpellInfo>
        <SpellInfo>
            <Type>SPELL_BUILD_ALTAR_OF_THE_LUONNOTAR5</Type>
            <Description>TXT_KEY_SPELL_BUILD_ALTAR_OF_LUONNOTAR</Description>
            <Civilopedia>TXT_KEY_SPELL_FOUND_TEMPLE_PEDIA</Civilopedia>
            <UnitPrereq>UNIT_LUONNOTAR</UnitPrereq>
            <BuildingPrereq>BUILDING_ALTAR_OF_THE_LUONNOTAR_CONSECRATED</BuildingPrereq>
            <TechPrereq>TECH_FANATICISM</TechPrereq>
            <bAllowAI>1</bAllowAI>
            <bCasterNoDuration>1</bCasterNoDuration>
            <iCasterMinLevel>5</iCasterMinLevel>
            <bInBordersOnly>1</bInBordersOnly>
            <bInCityOnly>1</bInCityOnly>
            <bHasCasted>1</bHasCasted>
            <CreateBuildingType>BUILDING_ALTAR_OF_THE_LUONNOTAR_DIVINE</CreateBuildingType>
            <bAbility>1</bAbility>
            <bSacrificeCaster>1</bSacrificeCaster>
            <PyResult>spellRemoveBuilding(pCaster, 'BUILDING_ALTAR_OF_THE_LUONNOTAR_CONSECRATED')</PyResult>
            <Effect>EFFECT_SPELL1</Effect>
            <Sound>AS3D_SPELL_FOUND_TEMPLE</Sound>
            <bGraphicalOnly>1</bGraphicalOnly>
            <Button>Art/Interface/Buttons/Buildings/Altaroftheluonnotar5.dds</Button>
        </SpellInfo>
        <SpellInfo>
            <Type>SPELL_BUILD_ALTAR_OF_THE_LUONNOTAR6</Type>
            <Description>TXT_KEY_SPELL_BUILD_ALTAR_OF_LUONNOTAR</Description>
            <Civilopedia>TXT_KEY_SPELL_FOUND_TEMPLE_PEDIA</Civilopedia>
            <UnitPrereq>UNIT_LUONNOTAR</UnitPrereq>
            <BuildingPrereq>BUILDING_ALTAR_OF_THE_LUONNOTAR_DIVINE</BuildingPrereq>
            <TechPrereq>TECH_RIGHTEOUSNESS</TechPrereq>
            <bAllowAI>1</bAllowAI>
            <bCasterNoDuration>1</bCasterNoDuration>
            <iCasterMinLevel>8</iCasterMinLevel>
            <bInBordersOnly>1</bInBordersOnly>
            <bInCityOnly>1</bInCityOnly>
            <bHasCasted>1</bHasCasted>
            <CreateBuildingType>BUILDING_ALTAR_OF_THE_LUONNOTAR_EXALTED</CreateBuildingType>
            <bAbility>1</bAbility>
            <bSacrificeCaster>1</bSacrificeCaster>
            <PyResult>spellRemoveBuilding(pCaster, 'BUILDING_ALTAR_OF_THE_LUONNOTAR_DIVINE')</PyResult>
            <Effect>EFFECT_SPELL1</Effect>
            <Sound>AS3D_SPELL_FOUND_TEMPLE</Sound>
            <bGraphicalOnly>1</bGraphicalOnly>
            <Button>Art/Interface/Buttons/Buildings/Altaroftheluonnotar6.dds</Button>
        </SpellInfo>

        <SpellInfo>
            <Type>SPELL_BUILD_ALTAR_OF_THE_LUONNOTAR7</Type>
            <Description>TXT_KEY_SPELL_BUILD_ALTAR_OF_LUONNOTAR</Description>
            <Civilopedia>TXT_KEY_PLACEHOLDER_PEDIA</Civilopedia>
            <UnitPrereq>UNIT_LUONNOTAR</UnitPrereq>
            <BuildingPrereq>BUILDING_ALTAR_OF_THE_LUONNOTAR_EXALTED</BuildingPrereq>
            <TechPrereq>TECH_OMNISCIENCE</TechPrereq>
            <bAllowAI>1</bAllowAI>
            <bCasterNoDuration>1</bCasterNoDuration>
            <iCasterMinLevel>13</iCasterMinLevel>
            <bInBordersOnly>1</bInBordersOnly>
            <bInCityOnly>1</bInCityOnly>
            <bHasCasted>1</bHasCasted>
            <CreateBuildingType>BUILDING_ALTAR_OF_THE_LUONNOTAR_FINAL</CreateBuildingType>
            <bAbility>1</bAbility>
            <bSacrificeCaster>1</bSacrificeCaster>
            <PyResult>spellRemoveBuilding(pCaster, 'BUILDING_ALTAR_OF_THE_LUONNOTAR_EXALTED')</PyResult>
            <Effect>EFFECT_SPELL1</Effect>
            <Sound>AS3D_SPELL_FOUND_TEMPLE</Sound>
            <bGraphicalOnly>1</bGraphicalOnly>
            <Button>Art/Interface/Buttons/Buildings/Altaroftheluonnotar7.dds</Button>
        </SpellInfo>




def reqBuildAltarLuon1(pCaster):
	iBuild = gc.getInfoTypeForString('BUILDING_ALTAR_OF_THE_LUONNOTAR')
	iPlayer = pCaster.getOwner()
	pPlayer = gc.getPlayer(iPlayer)
	for pyCity in PyPlayer(iPlayer).getCityList() :
		pCity = pyCity.GetCy()
		if pCity.getNumRealBuilding(iBuild) > 0:
			return False
	return True


def spellRemoveBuilding(pCaster, sBuilding):
	pPlot = pCaster.plot()
	pCity = pPlot.getPlotCity()
	pCity.setNumRealBuilding(gc.getInfoTypeForString(sBuilding), 0)
 
While letting the Luonnotar build the Altar and die, I'm fairly set in Goodreau's gathering of GPs to gain Altar levels, as it allows a longer progression in the same way other civs can get the Altar. If this feels too odd to people, Magister's method could be substituted.
 
Back
Top Bottom