I wanted a simpler way for using up the guide's without having to click through all the time, so I made this quick and dirty script. Feel free to modify / re-use.
Code:
int MapQuantity;
int ChainQuantity;
int MirrorQuantity;
int ShellQuantity;
void UseMap() {
visit_url("inv_use.php?pwd&which=3&whichitem=5307");
}
void GoToBasement() {
visit_url("choice.php?pwd&whichchoice=554&option=3&choiceform3=Go+to+the+basement");
}
void GoToAttic() {
visit_url( "choice.php?pwd&whichchoice=554&option=1&choiceform1=Go+to+the+attic" );
}
void GoToMainFloor() {
visit_url( "choice.php?pwd&whichchoice=554&option=2&choiceform2=Go+to+the+main+floor");
}
boolean KillWerewolves() {
if (ShellQuantity>0) {
UseMap();
visit_url( "choice.php?pwd&whichchoice=554&option=1&choiceform1=Go+to+the+attic");
string page = visit_url( "choice.php?pwd&whichchoice=549&option=5&choiceform5=Investigate+the+banging");
if (page.contains_text("loose shutter")) {
print( "All Werewolves killed" );
return false;
} else {
print( "Killed some Werewolves" );
}
return true;
} else {
print( "No Shells Left - can't kill any werewolves" );
return false;
}
}
boolean KillZombies() {
if (ChainQuantity>0) {
UseMap();
visit_url( "choice.php?pwd&whichchoice=554&option=2&choiceform2=Go+to+the+main+floor");
string page = visit_url( "choice.php?pwd&whichchoice=550&option=3&choiceform3=Enter+the+dining+room");
if (page.contains_text("cold cooked spaghetti")) {
print( "All Zombies killed" );
return false;
} else {
print( "Killed some Zombies" );
}
return true;
} else {
print( "No Chains Left - can't kill any Zombies" );
return false;
}
}
boolean KillSkeletons() {
if (MirrorQuantity>0) {
UseMap();
visit_url( "choice.php?pwd&whichchoice=554&option=2&choiceform2=Go+to+the+main+floor");
string page = visit_url( "choice.php?pwd&whichchoice=550&option=4&choiceform4=Look+in+the+closet");
if (page.contains_text("gasp in shock")) {
print( "All Skeletons killed" );
return false;
} else {
return true;
print ("Killed some Skeletons");
}
} else {
print( "No Mirrors Left - can't kill any Skeletons" );
return false;
}
}
void getChain() {
UseMap();
visit_url("choice.php?pwd&whichchoice=554&option=3&choiceform3=Go+to+the+basement");
visit_url("choice.php?pwd&whichchoice=551&option=1&choiceform1=Check+out+the+props+room");
visit_url("choice.php?pwd&whichchoice=552&option=1&choiceform1=Examine+the+chainsaw");
}
void getMirror() {
UseMap();
visit_url("choice.php?pwd&whichchoice=554&option=3&choiceform3=Go+to+the+basement");
visit_url("choice.php?pwd&whichchoice=551&option=1&choiceform1=Check+out+the+props+room");
visit_url("choice.php?pwd&whichchoice=552&option=3&choiceform3=Examine+the+mirror");
}
void getShell() {
UseMap();
visit_url("choice.php?pwd&whichchoice=554&option=3&choiceform3=Go+to+the+basement");
visit_url("choice.php?pwd&whichchoice=551&option=1&choiceform1=Check+out+the+props+room");
visit_url("choice.php?pwd&whichchoice=552&option=2&choiceform2=Examine+the+reloading+bench");
visit_url("choice.php?pwd&whichchoice=553&option=1&choiceform1=Melt+down+your+silver+hammer");
}
void main( int adv_to_use )
{
if( adv_to_use < 1 ) adv_to_use = my_adventures();
while( my_adventures() > 0 && adv_to_use > 0 )
{
MapQuantity = item_amount($item[Haunted Sorority House staff guide]);
ChainQuantity = item_amount($item[chainsaw chain]);
MirrorQuantity = item_amount($item[funhouse mirror]);
ShellQuantity = item_amount($item[silver shotgun shell]);
print( MapQuantity + " Maps Left" );
print( ChainQuantity + " Chainsaw chains Left" );
print( MirrorQuantity + " Funhouse Mirrors Left" );
print( ShellQuantity + " Silver Shotgun Shells Left" );
if (MapQuantity == 0) {
print ("No Maps left - aborting");
adv_to_use = 0;
} else {
boolean test = true;
// Uncomment the action you want to do
//test = KillWerewolves();
//test = KillZombies();
test =KillSkeletons();
//getChain();
//getMirror();
if (test==false) {
adv_to_use = 0;
}
adv_to_use = adv_to_use -1;
}
}
}