New in v.912

I found the below tag in the CoreGoodieHuts.xml.  It looks interesting for modders so I thought I would share it.  It appears give the ability for lairs to increase in challenge over time as the PCs gain levels.  I haven't tested it yet though.

 

    <GoodieHutType InternalName="Lair_TrollShaman">
        <Name>Shaman's Hut</Name>
        <Description>From the simple shack's chimney, smoke rises. Smoke of a brilliant, unearthly blue... the smoke of a channeler's fire.. Potions of some sort are being brewed.</Description>
        <Rarity>-1</Rarity>
        <AutoDestroyWhenNoGuardians>1</AutoDestroyWhenNoGuardians>
        <LikelihoodOfTreasureDropWhenAutoDestroyed>100</LikelihoodOfTreasureDropWhenAutoDestroyed>
        <BarredTerrain>River</BarredTerrain>
        <PreferredTerrain>Forest</PreferredTerrain>
        <PreferredTerrain>SwampTerrain</PreferredTerrain>
        <ReleaseGuardiansOnInfluenceHit>1</ReleaseGuardiansOnInfluenceHit>
        <SpawnRating>0</SpawnRating>
        <UpgradesToGoodieHut>Lair_TrollShaman_Final</UpgradesToGoodieHut>
        <UpgradesToGoodieHutInTurns>360</UpgradesToGoodieHutInTurns>
        <TileDesign>L_Troll_Shaman_01</TileDesign>
        <TileDesignForTerrain>SwampTerrain:L_Troll_Shaman_Asag_01</TileDesignForTerrain>
        <DrawnIcon>Lair_Troll.png</DrawnIcon>
        <IconSize>50</IconSize>
        <OnSelectSFX>Click_Troll_Camp</OnSelectSFX>
        <Medallions InternalName="">
            <All>L_Troll_Shaman_01.png</All>
        </Medallions>

3,909 views 5 replies
Reply #1 Top

That's awesome. Nice find.

Reply #2 Top

They should be able to cascade as well.  Say, every 50 to 100 turns upgrade to a higher level lair.

Reply #3 Top

Just to confirm, I've seen this work in 0.913

Reply #4 Top

Oh, good.  I have almost finished my early-game balancing and was about to create a few of these for testing.  Nice to know it will work!

Reply #5 Top

I wanted to add a little additional information for anyone planning to use this command, maybe even me when I hunt this thread back down in 6 months.

The mobs spawned from the lair die when the lair is upgraded, and the replacement mobs that spawn from the upgraded lair appear on top of the lair. Basically the lair resets when it upgrades.