New Content - Implemented Track opening of the Giant's Castle

Bale

Minion
Unfortunately the new Giant Castle quest contains no alterations to the quest log. This is unfortunate because that means mafia's quest tracking will know nothing about it. Instead I propose we add two preferences to keep track of it lastCastleGroundUnlock and lastCastleTopUnlock whose value is the last ascension when those floors were unlocked.

This seems quite in keeping with mafia's method of tracking such unlockable locations such as lastGalleryUnlock, lastManorUnlock, lastSecondFloorUnlock, lastTempleButtonsUnlock and lastTempleUnlock. It obviously helps save server hits for scripts that need to know about those floors so it is well within mafia's design goals.

There are two way to unlock the Ground Floor is unlocked, but whichever path you take, you see this:

HTML:
<table  width=400  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>New Area Unlocked</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><table><tr><td valign=center><img src="http://images.kingdomofloathing.com/adventureimages/bigmap.gif"></td><td valign=center class=small><b>The Ground Floor</b> of the <a href=place.php?whichplace=giantcastle><b>Castle in the Clouds in the Sky</b></a>.</td></tr></table></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table>

When the Top floor is unlocked you see this:

HTML:
<table  width=400  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>New Area Unlocked</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><table><tr><td valign=center><img src="http://images.kingdomofloathing.com/adventureimages/bigmap.gif"></td><td valign=center class=small><b>The Top Floor</b> of the <a href=place.php?whichplace=giantcastle><b>Castle in the Clouds in the Sky</b></a>.</td></tr></table></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table>
 
Last edited:

zarqon

Well-known member
+1 to this, please. The choice adventure handling for the Ground Floor in BBB desperately needs this.
 

Bale

Minion
It's been a few months, so I'd really like to bump this.

This currently has scripting significance for me. Please help!
 

Fluxxdog

Active member
Dang you, Darzil, I just finished the Castle the other day! How am I supposed to test this. ... Oh wait, with this:
Code:
<body>
<centeR><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Castle in the Clouds in the Sky</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><div id=background style='position:relative;'><img src="/images/otherimages/giantcastle.gif" width=600 height=600 border=0><div id=castle_basement style=' position: absolute; top: 391; left: 116; height: 120; width: 370;'><a  href=adventure.php?snarfblat=322><img src="/images/otherimages/1x1trans.gif" width=370 height=120 border=0 alt="Castle in the Clouds in the Sky Basement (1)" title="Castle in the Clouds in the Sky Basement (1)"></a></div><div id=castle_groundfloor style=' position: absolute; top: 269; left: 114; height: 115; width: 370;'><a  href=adventure.php?snarfblat=323><img src="/images/otherimages/1x1trans.gif" width=370 height=115 border=0 alt="Castle in the Clouds in the Sky Ground Floor (1)" title="Castle in the Clouds in the Sky Ground Floor (1)"></a></div><div id=castle_topfloor style=' position: absolute; top: 143; left: 114; height: 120; width: 370;'><a  href=adventure.php?snarfblat=324><img src="/images/otherimages/1x1trans.gif" width=370 height=120 border=0 alt="Castle in the Clouds (Top Floor)" title="Castle in the Clouds (Top Floor)"></a></div></div><p><a href=place.php?whichplace=beanstalk>Back to Somewhere Over the Beanstalk</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body>
This is the HTML for place.php?whichplace=giantcastle with both the Ground floor and Top Floor unlocked. I also have questL10Garbage set to "finished" (since I did finish the quest). My preferences for the unlock are still at -1.

You know, if you feel like it ^^
 
Top