Chamber: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
added code sample
imported>Bale
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Adventuring|


function1={{Function|
function1={{Function|
Line 14: Line 13:
}}|
}}|


function_description=Attempts to complete the heavy and light doors section of the NS Chamber and reports its success.|
function_description=Attempts to pass the six levels of the NS Tower, the door puzzle, your shadow and finally the NS's familiars. Returns true if you are ready to fight Her Naughtiness.|


code1={{CodeSample|
code1={{CodeSample|
Line 22: Line 21:
<syntaxhighlight>
<syntaxhighlight>
if(chamber())
if(chamber())
   print("Those doors told the truth, lied and growled at you, but you figured out the code.");
   print("Her Naughtiness awaits!");
else print("You cannot open the door to the NS at this time.");
else print("Sadly you could not overcome all the obstacles at the tower to fight the NS at this time.");
</syntaxhighlight>
</syntaxhighlight>
}}|
}}|


cli_equiv=The CLI command "chamber" does the doors as well as adventuring through the shadow & NS.|
see_also={{SeeAlso|entryway|guardians|hedgemaze|tavern}}|
cli_equiv=The CLI command "chamber" solves the exact same parts of the quest.|
}}
}}


 
[[Category:Adventuring]]
{{RFI|How much of the chamber does this function handle? I assume just the doors; please advise.|Don't know what the CLI command actually handles, either.}}

Latest revision as of 22:19, 21 May 2010

Function Syntax

boolean chamber()

Attempts to pass the six levels of the NS Tower, the door puzzle, your shadow and finally the NS's familiars. Returns true if you are ready to fight Her Naughtiness.

Code Sample

Solve the door puzzle to fight your shadow.

if(chamber())
   print("Her Naughtiness awaits!");
else print("Sadly you could not overcome all the obstacles at the tower to fight the NS at this time.");

CLI Equivalent

The CLI command "chamber" solves the exact same parts of the quest.

See Also

entryway() | guardians() | hedgemaze() | tavern()