Difference between revisions of "Entryway"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
(added code sample)
imported>Bale
Line 18: Line 18:
 
code1={{CodeSample|
 
code1={{CodeSample|
 
title=Code Sample|
 
title=Code Sample|
description=Solve the door puzzle to fight your shadow.|
+
description=Solve the entry way to the NS Lair, from doors to statue.|
 
code=
 
code=
 
<syntaxhighlight>
 
<syntaxhighlight>

Revision as of 20:06, 10 March 2010

Function Syntax

boolean entryway()

Attempts to complete the NS Entryway and returns its success.

Code Sample

Solve the entry way to the NS Lair, from doors to statue.

if(entryway())
   print("You made it through the entryway to the lair.");
else print("Read the above messages to understand what you need to make it into the NS's lair.");

CLI Equivalent

The CLI command "entryway" will perform the same tasks.

See Also

chamber() | guardians() | hedgemaze() | tavern()


Attention KoLmafia Experts!

We need your help; some details of this function's operation are unknown or unclear.

The following specific questions have been raised:

  • Does this do gates through statues, or just one part?
  • Why doesn't this return the needed item, like guardians(), on failure?
  • Can you control clover use, perhaps by having a ten-leaf in inventory (if not, what's the default)?