Chamber: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
Created page with '{{RFI|How much of the chamber does this function handle? I assume just the doors; please advise.}}'
 
imported>Bale
mNo edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RFI|How much of the chamber does this function handle? I assume just the doors; please advise.}}
{{
#vardefine:name|chamber}}{{
#vardefine:return_type|boolean}}{{
 
FunctionPage|
name={{#var:name}}|
 
function1={{Function|
name={{#var:name}}|
aggregate={{#var:aggregate}}|
return_type={{#var:return_type}}|
return_also={{#var:return_also}}|
}}|
 
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|
title=Code Sample|
description=Solve the door puzzle to fight your shadow.|
code=
<syntaxhighlight>
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.");
</syntaxhighlight>
}}|
 
see_also={{SeeAlso|entryway|guardians|hedgemaze|tavern}}|
cli_equiv=The CLI command "chamber" solves the exact same parts of the quest.|
}}
 
[[Category:Adventuring]]

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()