Skip to content

Commit

Permalink
working on getting quest
Browse files Browse the repository at this point in the history
  • Loading branch information
Alium58 committed Oct 15, 2023
1 parent 26dea77 commit 38731e0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions RELEASE/scripts/autoscend/auto_choice_adv.ash
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,10 @@ boolean auto_run_choice(int choice, string page)
run_choice(2); //Insectologist (S.I.T. Course)
}
break;
case 1497: // Calling Rufus
// get artifact quest
run_choice(2);
break;
default:
break;
}
Expand Down
3 changes: 2 additions & 1 deletion RELEASE/scripts/autoscend/autoscend_header.ash
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,9 @@ boolean wantToThrowGravel(location loc, monster enemy);
boolean auto_haveSITCourse();
void auto_SITCourse();
location auto_availableBrickRift();
boolean auto_doPhoneQuest();
boolean auto_havePayPhone();
boolean auto_getPhoneQuest();
boolean auto_doPhoneQuest();
boolean auto_haveMonkeyPaw();
boolean auto_makeMonkeyPawWish(effect wish);
boolean auto_makeMonkeyPawWish(item wish);
Expand Down
15 changes: 15 additions & 0 deletions RELEASE/scripts/autoscend/iotms/mr2023.ash
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,21 @@ location auto_availableBrickRift()
return $location[none];
}
boolean auto_getPhoneQuest()
{
if(get_property("questRufus") != "unstarted")
{
// already started quest
return true;
}
// get artifact quest
// auto_choice_adv handles actually picking it
use($item[closed-circuit pay phone]);
return get_property("questRufus") != "unstarted";
}
boolean auto_doPhoneQuest()
{
if(!auto_havePayPhone())
Expand Down

0 comments on commit 38731e0

Please sign in to comment.