Feature - Implemented Link to Bart Ender after turning off the Rat Faucet

Rinn

Developer
Or maybe just automatically visit him. Relevant html:

Code:
<Center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Results:</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td>You close the valve.  The torrent of rats slows to a trickle of rats, then finally to no rats at all.<p>You should probably go tell Bart you've fixed his rat problem.</td></tr></table></center></td></tr><tr><td height=4></td></tr></table><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Adventure Again:</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><center><a href="[URL="http://kolmafia.us/view-source:http://127.0.0.1:60080/tavern.php"]tavern.php[/URL]">Go back to the Typical Tavern</a></center></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></div></div></body><script src="[URL="http://kolmafia.us/view-source:http://127.0.0.1:60080/onfocus.js"]/onfocus.js[/URL]"></script></html>
The link after the quest is complete is http://127.0.0.1:60080/tavern.php?place=barkeep, not sure if it's the same link before you complete the quest or not.
 

Alhifar

Member
I liked the idea so I spent a few minutes figuring out how to do this. I've attached a patch which is completely untested other than ensuring it compiles, but is written almost exactly the same as how the plus sign link works.
 

Attachments

  • bartenderlink.diff
    685 bytes · Views: 31

Veracity

Developer
Staff member
Looks good - except, when I just tried it, turns out you attempted to decorate the wrong choice adventure: the rat faucet AFTER it has been turned off.
I fixed that and submitted it in revision 9471.
 
Top