mapledyne / yaaz

ascension helper scripts for KoLMafia
The Unlicense
1 stars 5 forks source link

Script paused in Twin peak #72

Closed mikebryant closed 7 years ago

mikebryant commented 7 years ago
[DEBUG] Adventuring: Twin Peak, to advance current quest: L09_Q_topping

Visit to Highlands: Twin Peak in progress...

[317] Twin Peak
Encounter: Lost in the Great Overlook Lodge
Requested choice (4) for choice #606 is not currently available.
choice 1: Investigate Room 237 (need +4 stench resist, have 8)
choice 2: Search the pantry (need +50% item drop, have 225%)
choice 3: Follow the faint sound of music (need jar of oil)
choice 6: Leave the hotel (flee)
Click here to continue in the relay browser.
mikebryant commented 7 years ago

I think this might be because:

    if($location[twin peak].turns_spent == 0)
    {
        set_property("choiceAdventure605", "1");
        yz_adventure($location[Twin Peak]);
    return true;
    }

It looks like this triggers twice, as the first adventure doesn't take a turn.

Thus, if we then manage to hit the noncombat on the very first turn, we won't have set the choices properly yet