void comma(buffer b, string s) {
if(length(b) > 0)
b.append(", ");
b.append(s);
}
boolean mysterious(int progress, int c) {
return (progress & (1 << c)) == 0;
}
string twinPeak() {
int p = get_property("twinPeakProgress").to_int();
buffer need;
if(mysterious(p, 0)) need.comma("4 Stench Resistance");
if(mysterious(p, 1)) need.comma("+50% Item Drop");
if(mysterious(p, 2)) need.comma("Jar of Oil");
// Only check for final if first three complete
if(length(need) == 0) {
if(mysterious(p, 3))
return "Need +40% Initiative";
return "Twin Peak Completed";
}
return "Need " + need;
}
r12047 (hopefully) updates twin peak stuff after successfully doing each choice. There's still some things that could be done for it, like further updating when we see a lack of buttons.
Boo- and oil-peaks still do not live-update, they only reflect current information after a quest log refresh. I likely will not get to those any time soon, I don't particularly enjoy mucking around in the FightRequest code.
Boo- and oil-peaks still do not live-update, they only reflect current information after a quest log refresh. I likely will not get to those any time soon, I don't particularly enjoy mucking around in the FightRequest code.
Using r12049, I am currently questing, and scripting using these preferences, and they do not seem to be updating. Even after a questlog visit, they still are not updating. I have not started Twin Peak yet, so this is just for booPeakProgress and oilPeakProgress.
<body>
<centeR><table width=95% cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Your Quest Log</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><Center>[current quests] [<a href="questlog.php?which=2">completed quests</a>] [<a href="questlog.php?which=3">other accomplishments</a>] [<a href="questlog.php?which=4">notes</a>]</center><p><b>Council Quests:</b><p><blockquote><b>There Can Be Only One Topping</b><br>The Highland Lord wants you to light his three signal fires in the Highlands.<p>You should check out A-Boo Peak and see what's going on there.<p>You need to solve the mystery of Twin Peak and figure out how to light the signal fire.<p>You should keep killing oil monsters until the pressure on the peak drops enough for you to reach the signal fire. The pressure is currently 133.14 microbowies per Mercury.<p></blockquote><p><b>Guild Quests:</b><p><blockquote><b>Me and My Nemesis</b><br>You handily dispatched some thugs who were trying to collect on your bounty, but something tells you they won't be the last ones to try. <p></blockquote><p><b>Miscellaneous Quests:</b><p><blockquote><b>What's Up, Doc?</b><br>Doc Galaktik wants you to collect some herbs for him. This is what he told you:
<p>
"First, I'll need three swindleblossoms. I'm not sure where they grow, but I know that the harem girls of Cobb's Knob like to wear them in their hair.
<p>
After that, I'll need three sprigs of fraudwort. It's used by ninja assassins from Hey Deze to make poisons.
<p>
Finally, I'll need three bundles of shysterweed -- it only grows near the graves of liars. Or so I've been told. The guy might've been lying, I guess."<p></blockquote><p><p><center><a href="campground.php">Back to your Campsite</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body>
<body>
<centeR><table width=95% cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Your Quest Log</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><Center>[current quests] [<a href="questlog.php?which=2">completed quests</a>] [<a href="questlog.php?which=3">other accomplishments</a>] [<a href="questlog.php?which=4">notes</a>]</center><p><b>Council Quests:</b><p><blockquote><b>There Can Be Only One Topping</b><br>The Highland Lord wants you to light his three signal fires in the Highlands.<p>You should check out A-Boo Peak and see what's going on there.<p>You need to solve the mystery of Twin Peak and figure out how to light the signal fire.<p>You've lit the fire on Oil Peak.<p></blockquote><p><b>Guild Quests:</b><p><blockquote><b>Me and My Nemesis</b><br>You handily dispatched some thugs who were trying to collect on your bounty, but something tells you they won't be the last ones to try. <p></blockquote><p><b>Miscellaneous Quests:</b><p><blockquote><b>What's Up, Doc?</b><br>Doc Galaktik wants you to collect some herbs for him. This is what he told you:
<p>
"First, I'll need three swindleblossoms. I'm not sure where they grow, but I know that the harem girls of Cobb's Knob like to wear them in their hair.
<p>
After that, I'll need three sprigs of fraudwort. It's used by ninja assassins from Hey Deze to make poisons.
<p>
Finally, I'll need three bundles of shysterweed -- it only grows near the graves of liars. Or so I've been told. The guy might've been lying, I guess."<p></blockquote><p><p><center><a href="campground.php">Back to your Campsite</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body>
<body>
<centeR><table width=95% cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Your Quest Log</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><Center>[current quests] [<a href="questlog.php?which=2">completed quests</a>] [<a href="questlog.php?which=3">other accomplishments</a>] [<a href="questlog.php?which=4">notes</a>]</center><p><b>Council Quests:</b><p><blockquote><b>There Can Be Only One Topping</b><br>The Highland Lord wants you to light his three signal fires in the Highlands.<p>You should keep clearing the ghosts out of A-Boo Peak so you can reach the signal fire. It is currently 98% haunted.<p>You need to solve the mystery of Twin Peak and figure out how to light the signal fire.<p>You've lit the fire on Oil Peak.<p></blockquote><p><b>Guild Quests:</b><p><blockquote><b>Me and My Nemesis</b><br>You handily dispatched some thugs who were trying to collect on your bounty, but something tells you they won't be the last ones to try. <p></blockquote><p><b>Miscellaneous Quests:</b><p><blockquote><b>What's Up, Doc?</b><br>Doc Galaktik wants you to collect some herbs for him. This is what he told you:
<p>
"First, I'll need three swindleblossoms. I'm not sure where they grow, but I know that the harem girls of Cobb's Knob like to wear them in their hair.
<p>
After that, I'll need three sprigs of fraudwort. It's used by ninja assassins from Hey Deze to make poisons.
<p>
Finally, I'll need three bundles of shysterweed -- it only grows near the graves of liars. Or so I've been told. The guy might've been lying, I guess."<p></blockquote><p><p><center><a href="campground.php">Back to your Campsite</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body>
<body>
<centeR><table width=95% cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Your Quest Log</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><Center>[current quests] [<a href="questlog.php?which=2">completed quests</a>] [<a href="questlog.php?which=3">other accomplishments</a>] [<a href="questlog.php?which=4">notes</a>]</center><p><b>Council Quests:</b><p><blockquote><b>There Can Be Only One Topping</b><br>The Highland Lord wants you to light his three signal fires in the Highlands.<p>You've lit the fire on A-Boo Peak.<p>You need to solve the mystery of Twin Peak and figure out how to light the signal fire.<p>You've lit the fire on Oil Peak.<p></blockquote><p><b>Guild Quests:</b><p><blockquote><b>Me and My Nemesis</b><br>You handily dispatched some thugs who were trying to collect on your bounty, but something tells you they won't be the last ones to try. <p></blockquote><p><b>Miscellaneous Quests:</b><p><blockquote><b>What's Up, Doc?</b><br>Doc Galaktik wants you to collect some herbs for him. This is what he told you:
<p>
"First, I'll need three swindleblossoms. I'm not sure where they grow, but I know that the harem girls of Cobb's Knob like to wear them in their hair.
<p>
After that, I'll need three sprigs of fraudwort. It's used by ninja assassins from Hey Deze to make poisons.
<p>
Finally, I'll need three bundles of shysterweed -- it only grows near the graves of liars. Or so I've been told. The guy might've been lying, I guess."<p></blockquote><p><p><center><a href="campground.php">Back to your Campsite</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body>
No. I never saw twinPeakProgress change from 0 and I did make it through there with my last few adventures.Is twinPeakProgress working?
And how about questL09Topping?
<b>Council Quests:</b><p><blockquote><b>There Can Be Only One Topping</b><br>The Highland Lord wants you to light his three signal fires in the Highlands.<p>You've lit the fire on A-Boo Peak.<p>You need to solve the mystery of Twin Peak and figure out how to light the signal fire.<p>You've lit the fire on Oil Peak.<p></blockquote><p><b>Guild Quests:</b>
<b>Council Quests:</b></p><p></p><blockquote><b>There Can Be Only One Topping</b><br>You've lit all the signal fires! Go see Black Angus, the Highland Lord, in his tower in the Highlands.<p></p></blockquote><p><b>Guild Quests:</b>
twinPeakProgress updates as you do the quest as of 12095.