Entryway: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
partially answered RFI
imported>Bale
tested
Line 14: Line 14:
}}|
}}|


function_description=Attempts to complete the entire NS Entryway, from the gates through the statues and returns the attempt's success.|
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.|


code1={{CodeSample|
code1={{CodeSample|
Line 30: Line 31:
cli_equiv=The CLI command "entryway" will perform the same tasks.|
cli_equiv=The CLI command "entryway" will perform the same tasks.|
}}
}}
{{RFI|Can you control clover use, perhaps by having a ten-leaf in inventory (if not, what's the default)?|Without a clover it will do unlucky entryway. With a clover needs to be tested.}}

Revision as of 08:06, 27 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 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.

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