Get ignore zone warnings

From Kolmafia
Revision as of 10:44, 15 November 2014 by imported>Bale (r12662)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Syntax

boolean get_ignore_zone_warnings()

Returns the value of the KoL option to disable the "This area might be too tough for you" warnings. If KoL ignores those stat requirement warnings, then this returns true.

Code Samples

If the character can access the White Citadel, this code will buy Cherry Cloaca Colas to restore MP to max.

if( !get_ignore_zone_warnings() && my_buffedstat( my_primestat() ) < my_location().recommended_stat )
   print( "Warning! Your stat is too low!" );

See Also

my_buffedstat() | my_location()