Difference between revisions of "Entryway"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
(tested)
imported>Bale
Line 15: Line 15:
  
 
function_description=Attempts to complete the entire NS Entryway, from the gates through the statues and returns the attempt's success. </p>
 
function_description=Attempts to complete the entire NS Entryway, from the gates through the statues and returns the attempt's success. </p>
<p>If you do not have a clover it will use the unlucky entryway method of healing whenever HP are too low to use the skeleton key. If you have a ten-leaf clover then that clover will automatically be used.|
+
<p>If you do not have a ten-leaf clover in inventory it will use the unlucky entryway method of healing whenever HP are too low to use the skeleton key. If you have a ten-leaf clover then that clover will automatically be used by KoL and you will roll 11.|
  
 
code1={{CodeSample|
 
code1={{CodeSample|

Revision as of 01:50, 28 April 2010

Function Syntax

boolean entryway()

Attempts to complete the entire NS Entryway, from the gates through the statues and returns the attempt's success.

If you do not have a ten-leaf clover in inventory it will use the unlucky entryway method of healing whenever HP are too low to use the skeleton key. If you have a ten-leaf clover then that clover will automatically be used by KoL and you will roll 11.

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