Warning: fopen(/www/sites/update.greasyfork.icu/index/store/temp/47a7eb95a003859661d8a866232b6ab2.js): failed to open stream: No space left on device in /www/sites/update.greasyfork.icu/index/scriptControl.php on line 65
// Tard's KoL Scripts
// Copyright (c) 2006, Byung Kim
// New releases Copyright (c) 2009-2013 by Hellion
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
// autoUpdater used under Creative Commons License 3.0.
//
// ==UserScript==
// @name Tard's Kol Scripts - Choice Adventure Rewards
// @version 3.15
// @namespace http://kol.dashida.com
// @author Tard
// @author Hellion
// @author Aelsa
// @author Buzzy (autoupdate function; see http://userscripts.org/scripts/show/52251 )
// @include *kingdomofloathing.com/choice.php*
// @include *kingdomofloathing.com/basement.php
// @include *kingdomofloathing.com/friars.php*
// @include *kingdomofloathing.com/bigisland.php*
// @include *kingdomofloathing.com/postwarisland.php*
// @include *kingdomofloathing.com/palinshelves.php
// @include *kingdomofloathing.com/clan_viplounge.php*
// @include *kingdomofloathing.com/clan_rumpus.php*
// @include *kingdomofloathing.com/campground.php*
// @include *kingdomofloathing.com/main.php
// @include *127.0.0.1:*/clan_viplounge.php*
// @include *127.0.0.1:*/clan_rumpus.php*
// @include *127.0.0.1:*/main.php
// @include *127.0.0.1:*/choice.php*
// @include *127.0.0.1:*/basement.php
// @include *127.0.0.1:*/friars.php*
// @include *127.0.0.1:*/bigisland.php*
// @include *127.0.0.1:*/postwarisland.php*
// @include *127.0.0.1:*/palinshelves.php
// @include *127.0.0.1:*/campground.php*
// @include *127.0.0.1:*/main.php
// @include *localhost:*/clan_viplounge.php*
// @include *localhost:*/clan_rumpus.php*
// @include *localhost:*/main.php
// @include *localhost:*/choice.php*
// @include *localhost:*/basement.php
// @include *localhost:*/friars.php*
// @include *localhost:*/bigisland.php*
// @include *localhost:*/postwarisland.php*
// @include *localhost:*/palinshelves.php
// @include *localhost:*/campground.php*
// @include *localhost:*/main.php
// @grant GM_log
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_xmlhttpRequest
// @grant GM_registerMenuCommand
// @history 3.15 new Hidden City
// @history 3.14 Dreadsylvania corrections, fix to updater
// @history 3.13 updates for Dreadsylvania
// @history 3.12 updates for AT nemesis, Vamping Out, more hobopolis stuff, parts of Violet fog, sea stuff
// @history 3.11 updates for new giant castle, suspicious guy's psych jar
// @history 3.10 refactor the actual addition of spoiler text to eliminate code duplication; add campground spoilers.
// @history 3.09 updated for new level-9 quest stuff, bugbears/zombies, skeleton usage, etc.
// @history 3.08 updated include list for new choice URL standard, added clan VIP swimming pool
// @history 3.07 added Kloop, new spooky temple
// @history 3.06 added Haunted Sorority house
// @history 3.05 added safety maps
// @history 3.04 added autoupdater
// @history 3.03 added all choices through new knob
// @history 3.02 added all antique maps through August 2010, and new Spooky Forest choice.
// @history 3.01 added Billiards room SR, new > sign choice, Reflection of a map, nemesis map choice.
// @history 3.00 major rewrite of detection logic.
// @description Tard's Kol Scripts - Choice Adventure Rewards kol kingdomofloathing kingdomofloathing.com kingdom of loathing
// @downloadURL https://update.greasyfork.icu/scripts/4091/Tard%27s%20Kol%20Scripts%20-%20Choice%20Adventure%20Rewards.user.js
// @updateURL https://update.greasyfork.icu/scripts/4091/Tard%27s%20Kol%20Scripts%20-%20Choice%20Adventure%20Rewards.meta.js
// ==/UserScript==
var inputs = document.getElementsByTagName('input');
var adventureChoiceNumber = 0, SpoilerSet, imageName;
var n = 0, sp_list = "";
var debug = false;
if (window.location.pathname == "/main.php") { // just logged in, do certain stuff once.
autoUpdate(68727,"3.15");
}
if (window.name == "mainpane") {
if (inputs.length === 0) {return;} //not in a place where we need to do anything.
//get the adventure choice number. Could probably do this without the for-loop.
for (n=0; n < inputs.length; n++) {
if (inputs[n].name === "whichchoice") {
adventureChoiceNumber = inputs[n].value;
break;
}
}
SpoilerSet = GetSpoilersForAdvNumber(adventureChoiceNumber);
if (SpoilerSet === undefined || SpoilerSet === null) {
//find the adventure's image. (in some cases this will not be the first image,
//e.g. when you lose the Stone Wool effect when starting a Hidden Temple choice.)
var imageName = "";
var images = document.getElementsByTagName('img');
for (var foo = 0; foo < images.length; foo++) {
if (images[foo].src.indexOf('adventureimages') != -1) {
imageName = images[foo].src.split('/')[4]; break;
}
}
if (imageName != "") SpoilerSet = GetSpoilersForImageName(adventureChoiceNumber, imageName);
if (SpoilerSet === undefined || SpoilerSet === null) {
var bodyText = document.getElementsByTagName('body')[0].innerHTML; //textContent;
var URL = window.location.pathname;
SpoilerSet = GetSpoilersForBodyText(adventureChoiceNumber, URL, imageName, bodyText);
}
}
if (SpoilerSet !== undefined && SpoilerSet !== null) {
DisplaySpoilers(inputs, SpoilerSet);
} else { // There's always something. Geez.
SpoilerSet = CheckButtonText(inputs, adventureChoiceNumber);
if (SpoilerSet !== undefined && SpoilerSet !== null) {
DisplaySpoilersByButtonText(inputs, SpoilerSet);
} else {
if (debug) ShowButtonIDs(inputs);
}
}
}
return;
function ShowButtonIDs(inputs) {
var cval = -1, n;
for (n=0; n 0)) { // modify button!
inputs[n].value += " -- buttonID = " + cval + ".";
}
}
}
function CheckButtonText(inputs, cNum)
{
var advOptions = {
"594":{"check out the mini-fridge":"enable glasses or pill bottle","turn on the tv":"enable glasses or comb","take a nap":"enable pill bottle or comb","pick up the glasses":"\nafter fridge and tv: acquire glasses","pick up the comb":"\nafter nap and tv: acquire unbreakable comb","open the pill bottle":"\nafter fridge and nap: acquire lost pill bottle","walk out and back in":"keep trying","walk into the room":"get started"},
"524":{"table of contents":"display chapter list","skip to your reward":"acquire skullheads's screw","quit reading":"leave"},
"546":{ "visit vlad's boutique":"proceed to vlad (acquire an effect (+weapon damage / +spell damage / +DR)",
"visit isabella's":"proceed to isabella (gain stats or meat)",
"visit the masquerade":"proceed to masquerade (acquire an item)",
"you know what? never mind.":"leave",
"visit the castle":"\ntoward +weapon dmg (if you have bum & medallion) / mesmerize (if you have bum)",
"stalk the night":"\ntoward +spell damage (if you have bum & mesmerize) / bum (Go here first)",
"skulk in the cemetery":"\ntoward medallion (if you have bum) / +DR (if you have bum + mesmerize)",
"come up to the lab":"\nto lab (acquire +weapon dmg effect if you have bum & medallion)",
"to the boudoir!":"to boudoir (acquire mesmerize if you have bum)",
"wolf out":"\nwith hamethyst medallion: effect: there wolf (30 turns: +100% weapon damage)\nwithout: nothing",
"feed the undead hussies":"\nwith a bum enthralled: learn mesmerize\nwithout: nothing",
"go for the bum":"enthrall a bum",
"follow the girl":"\nwith hypnosis: effect: bat attitude (30 turns) (+100% spell damage)\nwithout hypnosis: nothing",
"check the mausoleum":"\nwith enthralled bum:acquire hamethyst medallion\nwithout: nothing",
"rob the grave":"with hypnosis: effect: mistified (30 turns) (dr +30)\nwithout: nothing",
"see where the night takes you":"get it started",
"head back to vlad's":"back to starting point",
"drain her dry":"+(4x mainstat) muscle (max 500)",
"redirect your desire":"toward mus or mox",
"tell her how you feel":"toward mys or mus or meat",
"go party":"toward mus or mox",
"go to the bar":"toward mox",
"enjoy your vampness":"toward mys or meat",
"brood in solitude":"toward mus or mox",
"go for the jugular":"+(4x mainstat) mus (max 500)",
"go for first base":"toward mox",
"follow her, y'all":"toward mox",
"drink the realblud":"+(4x mainstat) mox (max 500)",
"listen to the cheeldren of the night":"+(4x mainstat) mys (max 500)",
"search for human prey":"+111 meat, -1 to 2 HP",
"find other prey":"+(4x mainstat) mys (max 500)",
"go brood in solitude":"toward mus or mox",
"take a walk":"toward mys or meat"
},
"536":{ "down the hatch!":"To the Tavern",
"have a drink":"to bar (toward pills/harness)",
"check out the coat check":"to coat check (toward effect/EMU harness)",
"go to your campsite, apparently":"to campsite (toward elven items/EMU helmet)",
"go back to the glowy tavern":"back to start (Tavern)",
"try that one door":"to Sleeping quarters (distention pill/dog hair pill/back to start)",
"try the other door, man":"to Warehouse (HP regen effect/EMU harness/back to start)",
"follow captain smirk":"distention pill",
"follow the green girl":"synthetic dog hair pill",
"take the glowing door":"back to start (tavern)",
"cross to the cross":"effect: heal thy nanoself (10 turns: regen 10-20HP/turn)",
"be the duke of the hazard":"to lab (EMU harness)",
"down the hatch":"back to start (tavern)",
"enter the transporter":"E.M.U. harness",
"go back the way you came":"back to warehouse",
"exit, stage left":"to warehouse (effect/EMU harness/start)",
"stage right, even":"to hallway (hardtack&squeeze/EMU helmet)",
"back to the tavern":"back to start (tavern)",
"try the port door":"to closet (2 hardtack and 2 squeeze)",
"try the starboard door":"to lab (EMU helmet)",
"try the aft door":"back to start (tavern)",
"go through the circle":"2 elven hardtack, 2 elven squeeze)",
"step through the transporter":"EMU helmet",
"take the silver door":"to sleeping quarters (distention/dog hair/back to start)",
"take the purple door":"to hallway (toward EMU helmet/hardtack&squeeze)"
}
}
if (advOptions[cNum] !== undefined) return advOptions[cNum];
else return null;
}
function DisplaySpoilersByButtonText(inputs, SpoilerSet) {
var btn, bval, i, n;
for (n = 0; n < inputs.length; n++) {
btn = inputs[n];
if (btn.type === "submit") {
bval = btn.value.toLowerCase();
i = bval.indexOf("[");
if (i != -1) bval = bval.substring(0, i -1);
if (debug && SpoilerSet[bval] === undefined) SpoilerSet[bval] = "(button #" + btn.value + ")";
btn.value += " -- " + SpoilerSet[bval];
}
}
}
//all choice.php buttons have an "option=" setting in their form definition;
//usually a number from 1-6, which corresponds to our array of spoiler text strings.
//this allows us to handle choices where some buttons go missing depending on your game circumstance.
//Buff areas, on the other hand, have no such values and must simply be updated in order.
function DisplaySpoilers(inputs, SpoilerSet) {
var cval = -1, n;
var displayText = "";
for (n=0; n 0)) { // modify button!
if (debug && SpoilerSet[cval] === undefined) displayText = "(button #" + cval + ")";
else if (SpoilerSet[cval] !== "") displayText = " -- " + SpoilerSet[cval];
inputs[n].value += displayText + "";
}
}
if (cval === -1) { // got here without setting a button value? not a Choice.php button set.
cval = 1; // just run through all submit text and put in our info in sequence.
for (n=0; n sign
"451":["Typographical Clutter","acquire (","lose 30 meat, +10-15 Mox\nOR\ngain 500 meat, +10-15 Mox","acquire + (first time) or +10-15 Mus","+10-15 myst, +100 MP","teleportitis (5 turns)"],
//Professor Jacking
"452":["Leave a message and I'll call you back","\nwith raisin in machine: kill spider\nwithout: lose (all?) HP",
"\nif spider alive: tiny fly glasses\nif spider dead: Flyest of Shirts (if torso-aware)/nothing",
"\nif fruit in machine: 3 fruit\notherwise nothing"],
"453":["Getting a leg up","Monster: jungle scabie","gain 30-40 mus, mys, and mox","acquire hair of the calf"],
"454":["Just Like the Ocean Under the Moon","Monster: smooth jazz scabie","gain 90-100 HP and 90-100 MP"],
"455":["Double Trouble in the Stubble","gain 50-60 mus, mys, and mox","\nwith can-you-dig-it:acquire legendary beat\nwithout: lose (lots of) HP"],
"456":["Made it, Ma! Top of the world!","Monster: The Whole Kingdom","effect: Hurricane Force","acquire a dance upon the palate (first time only)","gain 31-40 mus, mys, and mox"],
//Kegger in the woods
"457":["Oh no! Five-Oh!","\nClose area and receive reward:\n<10 numbers: Bronze Handcuffs\n10-19: cuffs, Silver Keg\n20+:cuffs, keg, bottle of GoldSchnockered","nothing (keep area open)"],
//New tavern
"496":["Crate Expectations","acquire 3 base boozes","clear square (no adv loss)"],
"511":["If it's tiny, is it still a mansion?","Monster: Baron von Ratsworth","nothing (no adv loss)"],
"512":["Hot and Cold Running Rats","monster: drunken rat","nothing (no adv loss)"],
"513":["Staring Down the Barrel","3-5 ice-cold willers","clear square (no adv loss)"],
"514":["1984 Had Nothing On This Cellar","3-5 rat whiskers or smiling rat familiar","clear square (no adv loss)"],
"515":["A Rat's Home...","3 bottles of tequila","clear square (no adv loss)"],
//Lab
"516":["Mr. Alarm, I Presarm","unlock Whitey's Grove, continue quest"],
//Neckback Crick
"497":["SHAFT!","Monster: unearthed monstrosity","nothing"],
// vamp out
// "546":["Interview with You","","","","nothing (no turn loss)"],
// haunted sorority house
"548":["Necbromancer","monster: Necbromancer","nothing (no adventure loss)"],
"549":["Dark in the attic",
"\n3 haunted house sorority staff guides (first time only)\notherwise no turn loss",
"\nGhost trap",
"\nIncrease ML",
"\nDecrease ML",
"\nWith silver shotgun shell: clear many werewolves\nwithout: nothing"],
"550":["The Unliving room",
"\nIncrease ML",
"\nDecrease ML",
"\nWith chainsaw chain:clear many zombies\nwithout: nothing",
"\nWith funhouse mirror:clear many skeletons\nwithout: nothing",
"\nitem of haunted sorority makeup"],
"551":["Debasement",
"\nProceed to choice of chainsaw chain/silver shotgun shell/funhouse mirror",
"\nWith plastic vampire fangs:clear many vampires (one time only)\nwithout:nothing",
"\nIncrease ML",
"\nDecrease ML"],
"552":["Prop Deportment",
"Chainsaw chain",
"Proceed to Reloading Bench (silver shotgun shell)",
"Funhouse mirror"],
"553":["Relocked and reloaded",
"Silver shotgun shell",
"Silver shotgun shell",
"Silver shotgun shell",
"Silver shotgun shell",
"Silver shotgun shell",
"Nothing"],
"554":["Behind the spooky curtain",
"\nProceed to choice of staff guides/ghost trap/ML/werewolf-slaying",
"\nProceed to choice of ML/zombie-slaying/skeleton-slaying/random make-up item",
"\nProceed to choice of (chainsaw chain/shotgun shell/funhouse mirror)/vampire-slaying/ML"],
// Kloop:
"560":["Foreshadowing Demon!","\nEnables choice of Thorax/Bat-in-Spats adventure","nothing (no adv loss)"],
"561":["You must choose your destruction!","\nEnable fight with Thorax","\nEnable fight with Bat-in-Spats"],
"563":["A test of your mettle","\nProceed to choice of Thorax or Bat-in-Spats","\nnothing (no adv loss)"],
"564":["A maelstrom of trouble","\nEnable option to fight boss demons (Pinch or Thugs)","\nnothing (no adv loss)"],
"565":["To get groped or get mugged?","\nMonster: The Terrible Pinch","\nMonster: Thug 1 and Thug 2"],
"566":["A choice to be made","\nProceed to choice of The Terrible Pinch or Thugs 1 and 2","\nnothing (no adv loss)"],
"567":["You may be on thin ice","\nenable option to fight boss demons (Mammon or Snitch)","nothing (no adv loss)"],
"568":["Some Sounds Most Unnerving","\nMonster: Mammon the Elephant","\nMonster: The Large-Bellied Snitch"],
"569":["One More demon to slay","\nProceed to choice of Mammon or Snitch","\nnothing (no turn loss)"],
// New hidden temple!
"581":["Such Great Depths","acquire glowing fungus","effect: Hidden Power (+15 all stats)","Monster: clan of cave bars"],
"582":["Fitting In","\nProceed to choice of Mys gain/Hidden City Unlock item/buff extension + 3 turns",
"\nProceed to Hidden Heart of the Hidden Temple\n(Hidden City unlock path)",
"\nProceed to choice of (glowing fungus/buff/fight clan of cave bars)"],
"579":["Such Great Heights",
"\n+(some) Mys","acquire The Nostril of the Serpent\n(first time only)","+3 Adv, +3 turns of effects (first time only)"],
// can't do 580 directly, it's a multi-part choice. bah.
// "580":["Hidden Heart (pikachu)",
// "unlock hidden city",
// "\nwith Nostril of the Serpent: Unconfusing buttons\nwithout: Confusing buttons",
// "+(some) Moxie, effect: somewhat poisoned"],
"584":["Unconfusing Buttons",
"set Hidden Heart adv to Stone (mus/buttons/moxie",
"set Hidden Heart adv to sun (calendar fragment/buttons/moxie",
"set hidden heart adv to gargoyle (+MP/buttons/moxie",
"set hidden heart adv to Pikachulotl (hidden city unlock/buttons/moxie"],
//Twin Peak
"605":["Welcome to the Great Overlook Lodge","/nstart the quest process"],
"606":["Lost in the Great Overlook Lodge",
"\nproceed to Room 237 (need at least 4 levels of stench resistance)",
"\nproceed to Go Check It Out! (need at least +50% item drop (not including your familiar)",
"\nproceed to There's Always Music In the Air (need jar of oil (made from drops at Oil Peak)",
"\nproceed to To Catch a Killer (need at least +40% combat initiative)",
"\nnothing (no turn loss?)"],
"607":["Room 237","\n with 4 or more levels of stench resistance: advance quest status\nwithout: nothing",
"\nnothing"],
"608":["Go Check It Out!","\nwith at least +50% item drop: advance quest status\nwithout: nothing",
"\nnothing"],
"609":["There's Always Music in the Air","\nwith jar of oil: advance quest status\nwithout: nothing",
"\nnothing"],
"610":["To Catch a Killer","\nwith at least +40% combat init: complete this zone\nwithout: nothing",
"\nnothing"],
"616":["He Is the Arm, and He Sounds Like This","\nadvance quest status"],
"617":["Now It's Dark","\ncomplete the zone (receive gold wedding ring)"],
"618":["Cabin Fever","\nkeep zone open","\ncomplete the zone (no gold wedding ring)"],
//A-Boo Peak:
"611":["The Horror...","take increasing Cold & spooky damage, advance zone completion percentage",
"\nleave (no damage, no advancement)"],
//multi-using skeletons
"603":["Skeletons and The Closet",
"\nacquire effect: Skeletal Warrior, 30 turns (delevel, physical damage)",
"\nacquire effect: Skeletal Cleric, 30 turns (hot damage, restore HP)",
"\nacquire effect: Skeletal Wizard, 30 turns (cold damage, restore MP)",
"\nacquire effect: Skeletal Rogue, 30 turns (first-round physical damage, bonus meat drop)",
"\nacquire effect: Skeletal Buddy, 30 turns (+2 stats/fight, delevel enemy defense each round)",
"\ndo nothing (cancel using the skeleton)\n\nnote that acquiring multiple effects simultanously gives additional bonuses\n"
],
//mimes?
"612":["Behind the world there is a door...","\nProceed to Behind The Door There is a Fog","\nleave (no adv loss)"],
"613":["Behind the door there is a fog",
"\nsee part of a message",
"\nMonster: 4-shadowed mime",
"\nproceed to anvil (choice of soul fragment smithings)",
"\nwith soul coin: acquire class-based skill recording\nwithout: nothing (turn is lost)"],
"614":["Near the fog there is an... anvil?",
"soul doorbell",
"soul mask",
"soul knife",
"soul coin",
"nothing",
"nothing"],
//Camp scouts
"595":["Fire! I... have made... Fire!",
"+3 PvP fights (if hippy stone is already broken)",
"regenerate 3-5 MP and 3-5 HP per combat"],
//Gnome at Susie:
"597":["",
"\ngnome breathes underwater; reduce pressure penalty by 10%",
"\ngnome blocks attacks",
"\ngnome attacks in combat",
"\ngnome grants adventures like a riftlet",
"\ngnome delevels like a barrrnacle"],
//Bugbear path
"588":["Machines!",
"\n(should be set to 2)",
"\n(should be set to 4)",
"\n(should be set to 8)"],
"589":["Autopsy Auturvy",
"\nwith tweezers: advance zone\nwithout: nothing",
"\nwith tweezers: advance zone\nwithout: nothing",
"\nwith tweezers: advance zone\nwithout: nothing",
"\nwith tweezers: advance zone\nwithout: nothing",
"\nwith tweezers: advance zone\nwithout: nothing",
"\nnothing"],
"590":["Not Alone in the Dark",
"\nfight Black Ops Bugbear, or nothing",
"\nincrease fight chance when looking for a fight",
"\nnothing (no adv loss)"],
//Old Man's Bathtub
"637":["First Mate set 1",
"\nadd Bristled Man-o-War to available monsters",
"\nblock the Deadly Hydra's crew-stealing (lose 3 crayons)",
"\nlose 1 crew, gain 20-23 bubbles",
"\nblock the giant man-eating shark's crew-stealing (lose 14-16 bubbles)"],
"638":["First Mate set 2",
"\nadd Deadly Hydra to available monsters",
"\ngain 13-19 bubbles",
"\nlose 1 crew, gain 4 bubbles",
"\nblock the Fearsome Giant Squid's crew-stealing (lose 13-20 bubbles)"],
"639":["First Mate set 3",
"\nincrease frequency of log NCs from 1/5 to 1/4 (lose 8 crew, 2-3 crayons, 17-20 bubbles)",
"\ngain 3 crayons",
"\ngain 3 crayons and 16 bubbles (lose 2 crew)",
"\ngain 5 crew (lose 6-16 bubbles, lose 2 crayons)"],
"636":["First Mate set 4",
"\nadd Cray-Kin to available monsters",
"\ngain 3 crew (lose 8-10 bubbles)",
"\ngain 2 crayons, 8-11 bubbles",
"\nblock the Ferocious Roc's crew-stealing (lose 2 crayons)"],
//crackpot mystic
"641":["Stupid Pipes.","lose 250 HP (reduced by Hot Resist","acquire flickering pixel","leave (no adv loss?)"],
"642":["You're Freaking Kidding Me","\nwith at least 100 in all stats: pass\notherwise: fail","acquire flickering pixel","leave (no adv loss?"],
"643":["Great. A Stupid Door. What's Next?","Monster: Anger Man","nothing (no adv loss)"],
"644":["Snakes","\nwith 50 or more Moxie: pass\nelse: fail","acquire flickering pixel","nothing (no adv loss?)"],
"645":["So... Many... Skulls...","lose 250 HP (reduced by Spooky Resist","acquire flickering pixel","leave (no adv loss?)"],
"646":["Oh No... A Door...","Monster: Fear Man","leave (no adv loss)"],
"647":["A Stupid Dummy. Also, a Straw Man.","\nwith 100 or more weapon damage: pass\nelse: fail","acquire flickering pixel","leave (no adv loss?)"],
"648":["Slings and Arrows","\nwith 100 or more HP: pass\nelse: fail","acquire flickering pixel","leave (no adv loss)"],
"649":["A Door. Figures.","Monster: Doubt Man","leave (no adv loss)"],
"650":["This Is Your Life. Your Horrible, Horrible Life.","\nwith 100 or more MP: pass\nelse: fail","acquire flickering pixel","leave (no adv loss)"],
"651":["The Wall of Wailing","with 10 (?) or more prismatic damage: pass\nelse: fail","acquire flickering pixel","leave (no adv loss)"],
"652":["A Door. Too Soon...","Monster: Regret Man","leave (no adv loss)"],
//Chinatown tenement
"654":["Courier? I don't even...","Monster: Yakuza Courier"],
"655":["They Have a Fight, Triangle Loses","acquire strange goggles"],
"656":["Wheels Within Wheels","Monster: Chief Electronic Overseer"],
"657":["You grind 16 rats, and Whaddya Get?",
"\nwith 30 gold pieces: proceed to Debasement (no adv loss)\nwithout: nothing (no adv loss",
"\nnothing (no adv loss)"],
"658":["Debasement","\nMonster: The Server","\nleave (will need to re-acquire 30 gold pieces)"],
//GameInform Magazine:
//659-665 are generated per magazine use and have no set correct answer.
//??
"689":["The Final Reward","fat loot token"],
"690":["The First Chest Isn't the Deepest.","item: ???","skip to room 8 (no adv loss)","nothing (no adv loss, progress to next room)"],
"691":["Second Chest","item: ???","skip to room 13 (no adv loss)","nothing (no adv loss, progress to next room)"],
"692":["A door","trigger trap","pass (no adv loss, 50% chance for key to break)","chance to pass (with no adv loss) or to trigger trap","pass if Mus is high enough","pass if Myst is high enough","pass if Mox is high enough","?","leave (no progress, no adv loss)"],
"693":["It's Almost Certainly a Trap","\nwith appropriate resistance: 1/2 of Max HP in damage, +(some) stats (based on resistance level)\nwithout: Ow.","pass (no adv loss)","leave (no adv loss)"],
//New giant castle
"669":["The Fast and the Furry-ous","proceed to Out in the Open Source","gain ~210 Moxie","?","nothing (no adv loss?)"],
"670":["You Don't Mess Around with Gym","\nfirst time: massive dumbbell\nafter: nothing (no adv loss)",
"\nGain ~200 Muscle",
"\nany 2 of: pec oil, Squat-Thrust Magazine, Giant Jar of Protein Powder",
"\nwith amulet of plot significant equipped: unlock ground floor\nwithout: nothing (no adv loss)",
"\nLeave (no adv loss)"],
"671":["Out in the Open Source",
"\nwith massive dumbbell: unlock ground floor\nwithout: nothing\nwith dumbbell and ground floor unlocked: snide message (no adv loss)",
"Gain ~200 Mysticality",
"O'RLY manual, open sauce",
"Proceed to You Don't Mess Around with Gym"],
"672":["There's No Ability Like Possibility","\nacquire 3 of:\ngiant heirloom grape tomato, open sauce, pec oil, probability potion,\nstolen sushi, worthless gewgaw, worthless knick-knack, worthless trinket, Ye Olde Meade",
"\neffect: Nothing is Impossible (30 turns of +100% spell damage)",
"Leave (no adv loss)"],
"673":["Putting Off is Off-Putting","very overdue library book","effect: Trash-wrapped (30 turns of +10 DR)","nothing (no adv loss)"],
"674":["Huzzah!","pewter claymore","\neffect: Pretending to Pretend (30 turns of +100% weapon damage","nothing (no adv loss)"],
"675":["Melon Collie and the Infinite Lameness",
"\nmonster: Goth Giant",
"\nwith drum 'n' bass 'n' drum 'n' bass record: proceed to Chore Wheel\nwith record and Chore wheel done: waste turn\nwithout: ?",
"3 thin black candles",
"Proceed to Copper Feel\n(complete quest/open HitS/gear)"],
"676":["Flavor of a Raver","Monster: Raver Giant","+1,000 MP, +1,000 HP",
"\nfirst time: drum 'n' bass 'n' drum 'n' bass record\nafter: nothing (no adv loss)",
"\nProceed to Yeah, You're for Me, Punk Rock Giant"],
"677":["Copper Feel",
"\nwith model airship: proceed to Chore Wheel\nwith model airship and Chore wheel done: waste turn\nwithout model airship: fight Steampunk Giant",
"\nfirst time:steam-powered model rocketship (opens Hole in the Sky)\nafter: nothing (no adv loss)",
"\nbrass gear",
"\nProceed to Melon Collie and the Infinite Lameness\n(Goth Giant/complete quest/3 thin black candles)"],
"678":["Yeah, You're For Me, Punk Rock Giant",
"\nmonster: Punk Rock Giant","500-550 meat","Proceed to Copper Feel \n(complete quest/open HitS/fight Steampunk Giant)","Proceed to Flavor of a Raver \n(Raver Giant/+MP,HP/acquire quest item)"],
"679":["Keep On Turnin' the Wheel in the Sky","\ncomplete giant trash quest"],
"680":["Are You a Man or a Mouse?","proceed to Chore Wheel (complete giant trash quest)"],
//the sea
"396":["Woolly Scaly Bully","lose 200-300 HP","lose 200-300 HP","enable The Case of the Closet non-combat (sawdust)"],
"397":["Bored Of Education","lose 200-300 HP","enable No Rest for the Room non-combat (cancersticks)","lose 200-300 HP"],
"398":["A Mer-kin Graffiti","enable Raising Cane non-combat (wordquizzes)","lose 200-300 HP","lose 200-300 HP"],
"399":["The Case of the Closet","fight Mer-kin monitor","acquire Mer-kin sawdust"],
"400":["No Rest for the Room","fight Mer-kin teacher","acquire Mer-kin cancerstick"],
"401":["Raising Cane","fight Mer-kin punisher","\nacquire first item that you don't have from Mer-kin facecowl, mer-kin waistrope, or mer-kin wordquiz\n(acquire 3 wordquizzes if you have a mer-kin bunwig in inventory)"],
"403":["Picking Sides","skate blade","brand new key"],
"701":["Ators gonna Ate","acquire one of:\nMer-kin dodgeball, Mer-kin dragnet, Mer-kin headguard, Mer-kin switchblade, Mer-Kin thighguard, or Mer-kin fastjuice\n(cannot receive equipment that you already have)","leave"],
"705":["Halls Passing in the Night","fight mer-kin specter","acquire mer-kin sawdust","acquire mer-kin cancerstick","\nacquire first item that you don't have from mer-kin facecowl, mer-kin waistrope or mer-kin wordquiz\n (acquire 3 wordquizzes if you have mer-kin bunwig in inventory)"],
//hacienda (AT volcano island)
"409":["","proceed to A Short Hallway"],
"410":["A Short Hallway","\nto left side (kitchen/bedroom/storeroom)\ngo this way if you've seen:\npotato peeler, empty sardine can, apple core, silver pepper-mill, lid from can of sterno,\nempty teacup, small crowbar,pair of needle-nose pliers, or empty rifle cartridge","\nto right side (bedroom/library/parlour)\ngo this way if you've seen:\nlong nightcap with pom-pom on the end, dirty sock, toothbrush, or errant cube of chalk from the pool table.\n(Go this way first to maximize odds of seeing useful clues.)"],
"411":["Hallway Left","to Kitchen\ngo this way for: potato peeler, empty sardine can, apple core","to Dining Room\ngo this way for: silver pepper-mill, lid from a can of sterno, empty teacup","to Storeroom\ngo this way for: small crowbar, pair of needle-nose pliers, empty rifle cartridge","leave"],
"412":["Hallway Right","to Bedroom\ngo this way if you've seen:\nlong nightcap with a pom-pom on the end, dirty sock, or toothbrush","to Library\n(no clues point here)","to Parlour\ngo this way if you've seen:\nerrant cube of chalk from the pool table","leave"],
"413":["Kitchen","\nhacienda key (guaranteed if you've seen a potato peeler)\nOR fight sleepy mariachi OR silver cheese slicer","\nhacienda key (guaranteed if you've seen an empty sardine can) OR 5 taco shells OR (see a clue)","\nhacienda key (guaranteed if you've seen an apple core)\n OR fettucini Inconnu OR fight sleepy mariachi OR (see a clue)","leave"],
"414":["Dining Room","\nhacienda key (guaranteed if you've seen a silver pepper mill)\nOR fight alert mariachi OR silver salt-shaker","\nhacienda key (guaranteed if you've seen a lid from a can of sterno)\nOR fight a mariachi OR 3 cans of sterno OR (see a clue)","\nhacienda key (guaranteed if you've seen an empty teacup)\nOR silver pate knife","leave"],
"415":["Storeroom","hacienda key (guaranteed if you've seen a small crowbar)\nOR fight surprised mariachi OR fancy beef jerky OR (See a clue)","\nhacienda key (guaranteed if you've seen a pair of needle-nose pliers)\nOR fight surprised mariachi OR pipe wrench OR (see a clue)","\nhacienda key (guaranteed if you've seen an empty rifle cartridge)\nOR fight a mariachi OR gun cleaning kit","leave"],
"416":["Bedroom","\nhacienda key (guaranteed if you've seen a long nightcamp with a pom-pom on the end\nOR fight alert mariachi OR sleep mask","\nhacienda key (guaranteed if you've seen a dirty sock)\nOR fight a mariachi OR sock garters OR (see a clue)","\nhacienda key (guaranteed if you've seen a toothbrush)\nOR fight a mariachi OR mariachi toothpaste","\nleave"],
"417":["Library","\nfight surprised mariachi OR heavy leather-bound tome OR hacienda key OR (see a clue)","\nfight a mariachi OR 150-220 meat OR hacienda key OR (see a clue)","\nfight a mariachi OR leather bookmark OR hacienda key OR (see a clue)","leave (no adv loss)"],
"418":["Parlour","hacienda key (guaranteed if you've seen an errant cube of chalk)\nOR fight a mariachi OR ivory cue ball OR (see a clue)","\nfight mariachi OR decanter of fine Scotch OR hacienda key OR (see a clue)","\nfight mariachi OR expensive cigar OR hacienda key","leave"],
"440":["Puttin' on the Wax","record an album","leave (no adv loss)"],
//Greatest American Pants
"508":["Pants-Gazing","\n5 turns of Super Skill (combat skills/spells cost 0)","\n10 turns of Super Structure (+500 DA, +5 resistance to all elements)","\n20 turns of Super Vision (+20% item drop)","\n20 turns of Super Speed (+100% Moxie)","\n10 turns of Super Accuracy (+30% chance of critical hit)","nothing (no charge expended)"],
//SSPD tattoos
"521":["A Wicked Buzz","increase SSPD tattoo completion"],
//puzzle box
"525":["","nothing","nothing","nothing","nothing","nothing","nothing","exit"],
//clan VIP pool
"585":["Screwing Around!",""],
//snow suit
"640":["Tailor the Snow Suit","fam attacks 80% for 3-12 (physical)","fam attacks 100% for 1-10 (cold)","\n+10% item drops, 10% chance to drop carrot (up to 3x/day)","restore 1-20 HP/combat","restore 1-10 MP/combat"],
//Degueulasse Marais
"696":["Stick a Fork In It","\nOpen the Dark and Spooky Swamp","\nOpen the Wildlife Sanctuarrrrrrgh"],
"697":["Sophie's Choice","\nOpen the Corpse Bog","\nOpen the Ruined Wizard Tower"],
"698":["From Bad to Worst","Open Swamp Beaver Territory","Open the Weird Swamp Village"],
//KOLHS
"700":["Delirium in the Cafeterium","\nwith Jamming with the Jocks intrinsic: gain (10-30?) Mus, Mys, and Mox\nwithout: lose (5-20?) HP","\nwith Nerd is the Word intrinsic: gain (10-30?) Mus, Mys, and Mox\nwithout: lose (5-20?) HP","with Greaser Lightnin' intrinsic: gain (10-30?) Mus, Mys, and Mox\nwithout: lose (5-20?) HP"],
"772":["Saved by the Bell","effect: School Spirited","effect: Poetically Licensed","Yearbook Club Camera, monster photo assignment","effect: Cut But Not Dried","effect: Isskay like an Ashtray","craft items with drops from Chemistry class","craft items with drops from Art Class","craft items with drops from Shop Class","Leave (no adv loss)"],
//Friar
"720":["The Florist Friar","","","","","","","","","",""],
//Dreadsylvania
"721":["The Cabin in the Dreadsylvanian woods","to kitchen\n(dread tarragon/grind old dry bone/banish stench monsters)","to basement\n(kruegerrands/+spooky dmg buff/Auditor's badge/lock impression","to attic\n(musicbox parts/lower werewolves/lower vampires/gain mox)","?","mark on your map permanently","leave (no adv loss?)"],
"722":["The Kitchen in the woods","acquire dread tarragon","\nas muscle class with old dry bone: grind it into bone flour\notherwise: nothing (keep choosing)","banish stench monsters","leave (back to cabin)"],
"723":["What Lies Beneath (the cabin)","5-7 Kruegerrands (1st 10 players/instance) or nothing (keep going)","effect: bored stiff (+100 spooky damage)","\nwith replica key: Auditor's Badge (only 1 badge per instance)\notherwise nothing","complicated lock impression","?","leave (back to cabin)"],
"724":["Where It's Attic","\nas AT: acquire intricate music box parts","lower werewolves in forest","lower vampires in the castle","gain (some) moxie"],
"725":["The Tallest Tree in the Forest","\nAs Muscle class: to Top of the tree (shake down fruit/banish sleaze monsters/moon amber)\nelse unable to proceed","\nto fire tower (lower ghosts in village/kruegerrands/gain (some) muscle)","to base (wait for shaken fruit/acquire seed pod)","?","mark on your map permanently","leave (no adv loss)"],
"726":["Top of the Tree, Ma!","\nshake down fruit to a waiting clanmate","banish sleaze monsters from forest","moon-amber (only 1 piece per instance)","leave (back to tallest tree)"],
"727":["All Along the Watchtower","\nlower ghosts in village","7-11 Kruegerrands (1st 10 players/instance) or nothing (keep going)","gain (some) Muscle","?","??","leave (back to tallest tree)"],
"728":["Treebasing","\nreceive shaken fruit (when clanmate shakes it down)","Dreadsylvanian seed pod","folder (owl)","?","?","leave (back to tallest tree)"],
"729":["Below the Roots","\nto Hot Coals (banish hot monsters/+hot damage buff/cool iron ingot)","\nto Heart of the Matter (banish cold monsters/gain myst/+maxHP & HPRegen buff)","\nto Once Midden Twice Shy (lower bugbears/kruegerrands)","?","mark on your map permanently","leave (no adv loss)"],
"730":["Hot Coals","banish hot monsters from forest","effect: Dragged through the coals (+100 hot damage, 100 turns)","convert old ball and chain into cool iron ingot","leave (back to Below the Roots)"],
"731":["The Heart of the Matter","banish cold monsters from forest","gain (some) Myst","effect: Nature's Bounty (+300 MaxHP, +0-180 HPRegen) (100 turns)","leave (back to Below the Roots)"],
"732":["Once Midden, Twice Shy","lower bugbears in forest","5-6 Kruegerrands (1st 10 players per instance only) or nothing (keep going)","?","??","???","leave (back to Below the Roots)"],
"733":["Dreadsylvanian Village Square","to schoolhouse (lower ghosts in village/ghost pencil/gain myst)","to blacksmith (banish cold monsters/kruegerrands)","to gallows (banish spooky monsters from village/dreadsylvanian clockwork key)","?","mark on your map permanently","leave (no adv loss)"],
"734":["Fright School","lower ghosts in village","\nghost pencil (1st 10 players per instance only) or nothing (keep going)","gain (some) Myst","?","??","leave (back to village square)"],
"735":["Smith, Black as Night","banish hot monsters from village","5-6 Kruegerrands","to anvil (?/?/?)","?","?","leave (back to village square)"],
"736":["Gallows","banish spooky monsters from village","\nwait to acquire (hangman's hood/cursed ring finger ring/dreadsylvanian clockwork key)","wait here for another clanmate","drop clanmate (so they acquire item)","leave (back to village square)"],
"737":["The Even More Dreadful Part of Town","\nto sewers (banish stench monsters from village/effect:+stench damage)","\nto tenements (reduce skeletons in castle/banish sleaze monsters from village/gain muscle)","\nas Moxie class: to shack (kruegerrands/replica key/polished moon-amber/mechanical songbird/lengths of old fuse)\notherwise nothing (stay in this choice)","?","mark on your map permanently","Leave (no adv loss)"],
"738":["A Dreadful Smell","banish stench monsters from village","effect: Sewer-drenched (+100 stench damage) (100 turns)","?","??","???","leave (back to tenements)"],
"739":["The Tinker's. Damn.","5-6 kruegerrands","replica key","polished moon-amber","unwound mechanical songbird","3 lengths of old fuse","leave (back to tenements)"],
"740":["Eight,Nine, Tenement","lower skeletons in castle","banish sleaze monsters in village","gain (some) Muscle","?","??","leave (back to tenements)"],
"741":["The Old Duke's Estate","\nTo family plot (lower zombies/kruegerrands/effect:sleaze damage)","to servant quarters (banish hot monsters/gain mox)","to bedroom (lower werewolves in woods/eau de mort/???)","?","mark on your map permanently","leave (no adv loss)"],
"742":["The Plot Thickens","lower zombies in village","5-6 Kruegerrands","\neffect: Fifty Ways to Bereave Your Lover (+100 Sleaze damage) (100 turns)","?","??","leave (back to duke's estate)"],
"743":["No Quarter","banish hot monsters from village","gain (some) moxie","?","??","???","leave (back to duke's estate)"],
"744":["The Master Suite","lower werewolves in forest","eau de mort","\nwith 10 ghost threads: make ghost shawl\notherwise nothing (keep going)","?","?","leave (back to duke's estate)"],
"745":["This hall is really great","To ballroom (lower vampires/gain moxie)","to kitchen (banish cold monsters/effect: +100 cold damage)","To dining room (dreadful roast/banish stench monsters/wax banana)","?","mark on your map permanently","leave (no adv loss)"],
"746":["The Belle of the Ballroom","lower vampires in castle","gain (some) Moxie","","","","leave (back to Hall)"],
"747":["Cold Storage","banish cold monsters from castle","effect: Staying Frosty (+100 cold damage) (100 turns)","?","??","???","Leave (back to Hall)"],
"748":["Dining In (The Castle)","dreadful roast","banish stench monsters in castle","wax banana (1 per instance only)","","","Leave (back to Hall)"],
"749":["tower most tall","\nto lab (reduce bugbears in woods/reduce zombies in village/The Machine)","\nTo Library (reduce skeletons in castle/gain myst/recipe for moon-amber necklace)","\nTo bedroom (banish sleaze monsters from castle/krueggerands/effect:+MaxMP&MPregen)","?","mark on your map permanently","leave (no adv loss)"],
"750":["working in the lab, late one night","lower bugbears in forest","lower zombies in village","\nto The Machine (learn new skill)\n (2 clanmates required)\n (must be unlocked with Skull Capacitor)","bloody kiwitini","","leave (back to Tower)"],
"751":["Among the Quaint and Curious Tomes","reduce skeletons in castle","gain (some) Myst","learn recipe for moon-amber necklace","","","leave (back to Tower)"],
"752":["In the Boudoir","banish sleaze monster from castle","5-6 Krueggerands","effect: Magically Fingered (+150 MaxHP, +50 MP Regen) (100 turns)","","","leave (back to Tower)"],
"753":["The Dungeons","\nTo cell block (banish spooky monsters from castle/gain Musc/restore MP)","\nTo boiler room (banish hot monsters from castle/kruegerrands/gain Mus+Mys+Mox)","\nTo guardroom (agaricus/effect:spore-wreathed)","?","mark on your map permanently","leave (no adv loss)"],
"754":["Live from Dungeon Prison","banish spooky monsters from castle","gain (some) Musc","restore (some) MP","?","??","leave (back to dungeon)"],
"755":["The Hot Bowels","banish hot monsters from castle","5-6 krueggerands","gain (some) Mus + Mys + Mox","?","??","leave (back to dungeon)"],
"756":["Among the Fungus","stinking agaricus","effect: spore-wreathed (reduce enemy defense by 20%) (100 turns)","?","??","???","leave (back to dungeon)"],
"758":["End of the Path","monster: Falls-From-Sky OR Great Wolf of the Air","leave (no adv loss)"],
"759":["You're about to fight city hall","monster: Mayor Ghost OR Zombie Homeowners Association","leave (no adv loss)"],
"760":["Holding Court","monster: Count Drunkula OR The Unkillable Skeleton","leave (no adv loss)"],
"761":["Staring Upwards...","\nreceive blood kiwi (after clanmate shakes it down) or keep waiting for the shake","leave (back to Base of Tree)"],
"762":["Try New Extra-Strength Anvil","cooling iron helmet","cooling iron breastplate","cooling iron greaves","4","5","leave (no adv loss?)"],
"764":["The Machine","help someone get a skill","help someone get a skill","wait to get a skill","keep waiting","Leave"],
"765":["Hello, Gallows","keep waiting","leave (back to Gallows choice)"],
"771":["It Was All a Horrible, Horrible Dream","leave (no adv loss?)"],
//Mini-Adventurer
"768":["The Littlest Identity Crisis","\nL1: does physical damage\nL5:volleyball\nL10: does cold damage\nL15: removes debuffs","\nL1: volleyball\nL5: starfish\nL10: does physical damage, delevels\nL15: does spooky damage","\nL1:Potato (block attacks)\nL5: Ghuol Whelp\nL10: Leprechaun\nL15: does prismatic damage","\nL1: Leprechaun\nL5: does Hot/Cold damage\nL10: cold-aligned starfish\nL15: gives buffs at start of combat","\nL1:Delevels\nL5: fairy\nL10: steals HP\nL15: Does physical deleveling attacks","L1: gives buffs at start of combat\nL5: ghuol whelp\n:10: fairy\nL15: sombrero"],
//tonic djinn
"778":["If You Could Only See","(some) meat","(some) Mus","(some) Mys","(some) Mox","5","nothing (tonic djinn not consumed)"],
//new hidden temple
"780":["Action Elevator","\nwith Thrice-Cursed effect: monster: ancient protector spirit\nelse nothing (no adv loss)","increase your cursedness","\nbanish pygmy witch lawyers from office building","4","5","leave (no adv loss)"],
"781":["Earthbound and down","open Hidden Apartment Building","receive stone triangle","3","4","5","leave (no adv loss)"],
"783":["Water You Dune","open Hidden Hospital","receive stone triangle","3","4","5","leave (no adv loss)"],
"784":["You, M.D.","monster: ancient protector spirit","2","3","4","5","leave (no adv loss)"],
"785":["Air Apparent","open Hidden Office Building","receive stone triangle","3","4","5","leave (no adv loss)"],
"786":["Working Holiday","\nwith complete McClusky file:monster: ancient protector spirit\nelse nothing","get paperclip to complete McClusky file","monster: pygmy witch accountant","4","5","leave (no adv loss)"],
"787":["Fire When Ready","open Hidden Bowling Alley","receive stone triangle","3","4","5","leave (no adv loss)"],
"788":["Life is Like A Cherry of Bowls","\n1st 4 times: progress\n5th time: monster: ancient protector spirit","2","3","4","5","leave (no adv loss)"],
"789":["Where Does the Loan Ranger Take His Garbagester?","\nacquire 2 Hidden City monster-drop items","banish pygmy janitors","3","4","5","leave (no adv loss)"],
// from: tongue depressor, bowling ball, short-handled mop,\nsurgical apron,pill cup, surgical mask,\bloodied surgical dungarees,colorful toad,pygmy briefs,\gold B.A. token, half-size scalpel, bone abacus, head mirror",
"791":["Legend of the Temple in the Hidden City","\nwith 4 triangular pieces: fight boss\nwithout: nothing (no adv loss)","2","3","4","5","leave (no adv loss)"]
};
if (advOptions[advNumber] !== undefined) { return advOptions[advNumber]; }
else { return null; }
}
function GetSpoilersForImageName(advNumber, imageName) {
//data format: advOptions[adventureNumber][imageName] = array of strings.
//array element 0 = optional ID text; 1-n = spoiler text.
var advOptions = {
"580":{
"door_stone.gif":["",
"+100 (?) Mus",
"\nwith Nostril of the Serpent: choose door setting\nwithout: Confusing Buttons",
"+(some) Moxie, effect: somewhat poisoned"],
"door_sun.gif":["",
"ancient calendar fragment",
"\nwith Nostril of the Serpent: choose door setting\nwithout: Confusing Buttons",
"+(some) Moxie, effect: somewhat poisoned"],
"door_gargoyle.gif":["",
"+(some) MP",
"\nwith Nostril of the Serpent: choose door setting\nwithout: Confusing Buttons",
"+(some) Moxie, effect: somewhat poisoned"],
"door_pikachu.gif":["",
"\nto Hidden City unlock (must have 3 turns left)",
"\nwith Nostril of the Serpent: choose door setting\nwithout: Confusing Buttons",
"+(some) Moxie, effect: somewhat poisoned"]
},
"535":{
"rs_3doors.gif":["Anyway, somebody went through a lot",
"to Pool (toward EMU parts or +mys buff or elfpacks)",
"To Armory (toward EMU joystick/elfpacks or +mus/mox buffs)",
"to Mess (toward effects or EMU rocket)"],
"rs_junction.gif":["A blond-haired disembodied head",
"to EMU joystick",
"to elven packs",
"back to Lobby"],
"elf_headcrab.gif":["vast bank of television screens",
"to EMU rocket thrusters",
"effect: +5 myst substat/fight"],
"elfscientist.gif":["could sure use those thrusters",
"EMU rocket thrusters"],
"elfdonfreeman.gif":["There are two joysticks on it",
"EMU joystick"],
"rs_portal.gif":["through into the shaft",
"medi-pack and magi-pack"],
"surv_overarmed.gif":["down the hallway to the armory",
"to Lobby",
"to Keycard",
"to Romance (choice of buffs)"],
"rs_2doors.gif":["sliding towards the male elf",
"effect: +5 mus substat/fight",
"effect: +5 mox substat/fight"],
"surv_unlikely.gif":["You follow the signs to the Mess",
"to Lobby",
"to Romance (choice of buffs)",
"to Headcrab (effect or EMU rocket thrusters)"],
"rs_door.gif":["You follow the map to the secret bunker",
"to Lobby"],
"elfordbrimley.gif":["doesn't look swimmable",
"to Lobby",
"to Headcrab (Effect or EMU rocket thrusters)",
"to Keycard"]
}
};
if ((advOptions[advNumber] !== undefined) && (advOptions[advNumber][imageName] !== undefined)) {
return advOptions[advNumber][imageName];
}
else { return null; }
}
function GetSpoilersForBodyText(advNumber, URL, imageName, bodyText) {
//data format:
// advOption[adventureNumber][Url-or-imagename][sequencenumber] = array of strings.
//array element 0 = required ID text (can be any part of HTML); 1-n = spoiler text.
var i = 0, advOptions ={
"0": {
"/friars.php": {
"0": [
"Brother Flying Burrito, the Deep Fat Friar",
"+30% food drops (20 adv)"
],
"1": [
"Brother Corsican, the Deep Fat Friar",
"+2 familiar experience per combat (20 adv)"
],
"2": [
"Brother Smothers, the Deep Fat Friar",
"+30% booze drops (20 adv)"
]
},
"/basement.php": {
"0": [
"twojackets",
"+(mainstat) Mox",
"+(mainstat) Mus"
],
"1": [
"twopills",
"+(mainstat) Mus",
"+(mainstat) Myst"
],
"2": [
"figurecard",
"+(mainstat) Myst",
"+(mainstat) Mox"
]
},
"/bigisland.php": {
"0": [
"Get Healed",
"+1,000 HP"
],
"1": [
"Get a Massage",
"+1,000 HP, +1,000 MP"
],
"2": [
"Party with the free spirits",
"+5 stats per combat (20 adv)",
"+20% item drops (20 adv)",
"+5lb familiar weight (20 adv)"
],
"3": [
"Try to get into the music",
"+10% all stats (20 adv)",
"+40% meat drops (20 adv)",
"+50% initiative (20 adv)"
]
},
"/postwarisland.php": {
"0": [
"Get Healed",
"+1,000 HP"
],
"1": [
"Get a Massage",
"+1,000 HP, +1,000 MP"
],
"2": [
"Party with the free spirits",
"+5 stats per combat (20 adv)",
"+20% item drops (20 adv)",
"+5lb familiar weight (20 adv)"
],
"3": [
"Try to get into the music",
"+10% all stats (20 adv)",
"+40% meat drops (20 adv)",
"+50% initiative (20 adv)"
]
},
"/palinshelves.php": {
"0": [
"Drawn Onward",
"\nwith photo of God, hard rock candy, ketchup hound and ostrich ",
"nothing (no adv loss)"
]
},
"/clan_viplounge.php": {
"0": [
"You approach the pool table.",
"+5 lb familiar weight/+50% weapon damage (10 adv)",
"+10 MP/turn, +50% spell damage (10 adv)",
"+10% item drops, +50% initiative (10 adv)"
],
"1": [
"You change into your swimsuit",
"\nGet into the pool",
"+30 init, +25 stench damage, +20 ML (50 turns)",
"\ndecreased chance of random PvP, +NC (50 turns)"
]
},
"/clan_rumpus.php": {
"0": [
"This jukebox has a staggering",
"+10% meat drops (10 turns)",
"+3 stats per combat (10 turns)",
"+10% item drops (10 turns)",
"+20% initiative (10 turns)",
"buy a different piece of clan furniture for this spot"
],
"1": [
"There's a ball pit here with",
"+(balls/100)% to all stats (20 turns)"
],
"2": [
"Unfortunately for you, only the three least popular flavors",
"an item giving +30 Mox (10 turns)",
"an item giving +30 Mus (10 turns)",
"an item giving +30 Mysticality (10 turns)",
"buy a different piece of clan furniture for this spot"
]
},
"/campground.php": {
"0": [
"Discount Telescope Warehouse.",
"+(5-35)% to all stats (10 turns)",
"See what's in the NS tower"
]
}
}
};
if (advNumber === 0) {
for (i in advOptions[0][URL]) {
if (bodyText.indexOf(advOptions[0][URL][i][0]) !== -1) {
return advOptions[0][URL][i];
}
}
return null;
} else {
for (i in advOptions[advNumber]) {
if (bodyText.indexOf(advOptions[advNumber][i][0]) !== -1) {
return advOptions[advNumber][i];
}
}
}
return null;
}
function autoUpdate (id, version){
function eliminaElem(e){if(e)e.parentNode.removeChild(e)}
function addGlobalStyle(css){var head,style;head=document.getElementsByTagName('head')[0];style=document.createElement('style');style.type='text/css';style.innerHTML=css;head.appendChild(style)}
function trim(cad){return cad.replace(/^\s+|\s+$/g,"")}
function menuCommand (){
GM_registerMenuCommand ("Turn auto-updater on",
function (){
GM_setValue ("update", new Date ().getTime ().toString () + "#1");
});
}
function showMessage (){
addGlobalStyle (
"#autoUpdater_capaAutopUpdate {" +
"position: absolute;" +
"left: 20px;" +
"width: 280px;" +
"background-color: #EEE;" +
"padding: 7px;" +
"font-family: Calibri;" +
"font-size: 14px;" +
"-moz-border-radius: 5px;" +
"border: solid thin #C7C7C7;" +
"z-index: 100" +
"}"
);
var t;
function move2 (capa){
if (capa.style.left == "-301px"){
clearTimeout (t);
eliminaElem (capa);
}else{
capa.style.left = parseInt (capa.style.left) - 3 + "px";
t = setTimeout (function (){ move2 (capa); }, 20);
}
}
function move (capa){
if (capa.style.top == "20px"){
clearTimeout (t);
t = setTimeout (function (){ move2 (capa); }, 5000);
}else{
capa.style.top = parseInt (capa.style.top) + 1 + "px";
t = setTimeout (function (){ move (capa); }, 20);
}
}
var capa = document.createElement ("div");
capa.id = "autoUpdater_capaAutopUpdate";
capa.innerHTML = "" +
"You can turn the auto-updater on in the Greasemonkey Menu Command.";
document.getElementsByTagName ("body")[0].appendChild (capa);
capa.style.top = "-50px";
capa.style.left = "20px";
move (capa);
}
var ms = new Date ().getTime ();
var update = GM_getValue ("update");
var search = false;
var days;
if (update == undefined){
search = true;
//By default it searches updates every 1 day.
GM_setValue ("update", (24*60*60*1000 + ms).toString () + "#1");
days = 1;
}else{
days = parseInt (update.split ("#")[1]);
if (days != 0){
var next_ms = update.split ("#")[0];
if (ms >= parseInt (next_ms)){
search = true;
GM_setValue ("update", (days*24*60*60*1000 + ms).toString () + "#" + days);
}
}else{
//Register Menu Command
menuCommand ();
}
}
if (!search) return;
GM_xmlhttpRequest ({
method: "GET",
url: "http://userscripts.org/scripts/show/" + id,
headers: {
"User-agent": "Mozilla/5.0",
"Accept": "text/html",
},
onload: function (respuesta){
var userScripts = document.implementation.createDocument ("", "", null);
var html = document.createElement ("html");
html.innerHTML = respuesta.responseText;
userScripts.appendChild (html);
//Get new version
var newVersion = userScripts.getElementById ("content").getElementsByTagName ("b")[1].nextSibling.textContent;
//Get the name of the script
var name = userScripts.getElementById("details").childNodes[1].innerHTML;
if (trim(newVersion) != trim(version)){
//There's a new version
addGlobalStyle (
"#autoUpdater_divVersion { text-align: left; height: 140px; position: fixed; top: 10px; left: 10px; background: #EEE; border: solid thin #C7C7C7; padding: 8px; font-family: Calibri; font-size: 14px; -moz-border-radius: 5px; cursor: default; z-Index: 100;}" +
"#autoUpdater_imgVersion { position: relative; top: 4px; margin-right: 5px; }" +
"#autoUpdater_install { position: absolute; top: 45px; right: 8px; width: 75px; padding: 5px; border: 1px solid #DEDEDE; background-color: #F5F5F5; color: #565656; text-decoration: none; cursor: pointer; }" +
"#autoUpdater_install img { padding: 0; margin: 0 2px 0 2px; position: relative; top: 2px; right: 4px; }" +
"#autoUpdater_install span { position: relative; bottom: 1px; }" +
"#autoUpdater_cancel { position: absolute; bottom: 8px; width: 75px; right: 8px; padding: 5px; border: 1px solid #DEDEDE; background-color: #F5F5F5; color: #565656; text-decoration: none; cursor: pointer; }" +
"#autoUpdater_cancel img { padding: 0; margin: 0 2px 0 2px; position: relative; top: 2px; right: 4px; }" +
"#autoUpdater_cancel span { position: relative; bottom: 1px;}" +
"#autoUpdater_currentVersion { color: #373737; width: 105px; }" +
"#autoUpdater_newVersion { color: #373737; width: 105px; }" +
"#autoUpdater_versionTitle { color: #373737; }" +
"#autoUpdater_numCurrentVersion { color: #232323; }" +
"#autoUpdater_numNewVersion { color: #232323; }" +
"#autoUpdater_text1 { font-size: 14px; color: #373737; position: absolute; bottom: 48px; }" +
"#autoUpdater_text2 { font-size: 11px; color: #373737; position: absolute; bottom: 34px; left: 8px; }" +
"#autoUpdater_text3 { font-size: 14px; color: #373737; position: absolute; bottom: 8px; left: 42px; }" +
"#autoUpdater_input { font-family: Calibri; font-size: 14px; background: #FFF; border: solid thin #232323; color: #232323; width: 23px; height: 15px; position: absolute; bottom: 8px;}" +
"#autoUpdater_table { border-spacing: 0 0; }" +
"#autoUpdater_table td { font-family: Calibri; font-size: 14px; }" +
"#autoUpdater_linkScript { font-family: Calibri; font-size: 14px; color: #000099; text-decoration: none; }"
);
var capa = document.createElement("div");
capa.setAttribute("id", "autoUpdater_divVersion");
capa.innerHTML = "New version available for " + name + "!" +
" " +
"