Code:
void Quest_Friars()
{
//This function depends on the Teetotaler path to be active. You can use this
//for other paths by adding or removing the can_drink() and can_eat() functions
cli_execute("conditions clear");
if ((can_drink() == false) && ( my_level() >= 6 ))
{
if ( item_amount( $item[Eldritch Butterknife] ) < 1 )
{
cli_execute("conditions add 1 Eldritch Butterknife");
cli_execute("adventure * Dark Elbow of the Woods");
}
if ( item_amount( $item[box of birthday candles] ) < 1 )
{
cli_execute("conditions add 1 box of birthday candles");
cli_execute("adventure * Dark Heart of the Woods");
}
if ( item_amount( $item[Dodecagram] ) < 1 )
{
cli_execute("conditions add 1 Dodecagram");
cli_execute("adventure * Dark Neck of the Woods");
}
if ( item_amount( $item[Eldritch Butterknife] ) == 1 && item_amount( $item[box of birthday candles] ) == 1 && item_amount( $item[Dodecagram] ) == 1 )
{
cli_execute("adventure 1 Friar Ceremony Location");
}
}
}
you can drop whatever path you were on after the friars quest with this command:
Code:
cli_execute("account.php?action=unpath&pwd=&confirm=on");
Code:
count.php?action=unpath&pwd=&confirm=on