I'm in a position to look at this right this moment. I defeated my 2nd gaudy pirate and create the Talisman. I have not moved since then.
Looking at the code, auto-adventuring in the Palindome will attempt to validate the adventure like this:
Code:
if ( this.adventureId.equals( AdventurePool.PALINDOME_ID ) )
{
AdventureResult talisman = ItemPool.get( ItemPool.TALISMAN, 1 );
if ( !KoLCharacter.hasEquipped( talisman ) )
{
if ( !InventoryManager.hasItem( talisman ) )
{
return;
}
RequestThread.postRequest( new EquipmentRequest( talisman ) );
}
if ( QuestDatabase.isQuestLaterThan( Quest.PALINDOME, QuestDatabase.UNSTARTED ) )
{
this.isValidAdventure = true;
return;
}
GenericRequest request = new PlaceRequest( "plains" );
RequestThread.postRequest( request );
this.isValidAdventure = request.responseText.contains( "palinlink.gif" ) ;
return;
}
It will equip the Talisman, if not already equipped.
(Note that it will not create it; as coded, you have to have it in inventory. KoLmafia's auto-creation will ensure that it is made, but if you disable it, you'l have the two charms and it is up to you to make it.)
Having equipped it, if the quest is still "unstarted", we visit the plains to see if the Palindome is present.
If it is, we set the quest to started.
Regarding simply adventuring in the Palindome:
Code:
else if ( locationId.equals( AdventurePool.PALINDOME_ID ) )
{
QuestDatabase.setQuestIfBetter( Quest.PALINDOME, QuestDatabase.STARTED );
}
That looks like it should work; setQuestIfBetter will automatically set the quest progress to the given value if the quest is currently UNSTARTED.
Let's see how it works.
Code:
> get questL11Palindome
unstarted
> equip acc3 talisman o' namsilat
Putting on Talisman o' Namsilat...
Equipment changed.
> ashq cli_execute( "place.php?whichplace=plains" )
> get questL11Palindome
started
Yes, visiting the plains sets the quest correctly.
Code:
> set questL11Palindome=unstarted
questL11Palindome => unstarted
> debug on
> ashq visit_url( "adventure.php?snarfblat=386" );
[439] Inside the Palindome
Encounter: Evil Olive
Round 0: Veracity wins initiative!
> get questL11Palindome
unstarted
Yes indeed. Visiting the Palindome by submitting the URL directly, rather than going through "adventure" does not set the quest step.
I'll investigate further.