Can't frame width be detected? Something like this:
http://www.java2s.com/Code/JavaScript/HTML/Getframesize.htm
Then we could just say that if the desired content is greater than some threshold, throw in a break.
They say the squeaky wheel gets the grease. If we make that squeal sounding more like a bunch of mice being chewed slowly by a cat getting skinned alive... yeah, that went creepy quickly. But you get the idea ^^ Veracity is right, gotta fix the main problem first. Let's squeak!Because KoL has a history of often fixing people's interface woes in less than a year?
They say the squeaky wheel gets the grease. If we make that squeal sounding more like a bunch of mice being chewed slowly by a cat getting skinned alive... yeah, that went creepy quickly. But you get the idea ^^ Veracity is right, gotta fix the main problem first. Let's squeak!
I agree that it's getting a little wide. My plan was to add an account menu option to not display the plants, or maybe to display them textually.
I do like the idea of the Manuel data in a row underneath. Maybe I'll add that option too.
[387] Oil Peak
Encounter: Pushin' Down on Me, Pushin' Down on You
Encounter: The Florist Friar's Cottage
Encounter: The Florist Friar's Cottage
Unexpected error, debug log printed.
Encounter: The Florist Friar's Cottage
Unexpected error, debug log printed.
Encounter: The Florist Friar's Cottage
Unexpected error, debug log printed.
//tidy up the zone text to fit mafia style
location mafia_style_zone(string loc)
{
//remove "The " prefix which mafia doesn't seem to like
if(substring(loc,0,4)=="The ")
loc=substring(loc,4);
//modify text
if(loc=="Sonofa Beach")
loc="wartime sonofa beach";
else if(loc=="Obligatory Pirate's Cove")
loc="Pirate Cove";
else if(loc=="Enormous Greater-Than Sign")
loc="Greater-Than Sign";
else if(loc=="Penultimate Fantasy Airship")
loc="Fantasy Airship";
else if(loc=="Castle in the Clouds in the Sky (Basement)")
loc="Giant's Castle (Basement)";
else if(loc=="Castle in the Clouds in the Sky (Ground Floor)")
loc="Giant's Castle (Ground Floor)";
else if(loc=="Castle in the Clouds in the Sky (Top Floor)")
loc="Giant's Castle (Top Floor)";
else if(loc=="Castle in the Clouds in the Sky (Top Floor)")
loc="Giant's Castle (Top Floor)";
else if(loc=="Arid, Extra-Dry Desert")
loc="Desert (ultrahydrated)";
else if(loc=="Orcish Frat House")
loc="wartime Frat House";
else if(loc=="Royal Guard Chamber")
loc="Guards' Chamber";
else if(loc=="Filthworm Queen's Chamber")
loc="Queen's Chamber";
else if(loc=="McMillicancuddy's Barn")
loc="Barn";
else if(loc=="McMillicancuddy's Pond")
loc="Pond";
else if(loc=="McMillicancuddy's Back 40")
loc="Back 40";
else if(loc=="McMillicancuddy's Other Back 40")
loc="Other Back 40";
else if(loc=="Outskirts of Cobb's Knob")
loc="outskirts of the knob";
else if(loc=="Bat Hole Entrance")
loc="Bat Hole Entryway";
else if(loc=="Infernal Rackets Backstage")
loc="Hey Deze Arena";
else if(loc=="Laugh Floor")
loc="Belilafs Comedy Club";
else if(loc=="Valley of Rof L'm Fao")
loc="Orc Chasm";
else if(loc=="Hidden City")
loc="Hidden City (Automatic)";
else
{
//try direct parse
location loca = to_location(loc);
if(loca==$location[none])
abort("The location string "+loc+" was parsed as zone "+loca);
return loca;
}
//return location object
return to_location(loc);
}