Difference between revisions of "Hippy stone broken"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
(r10971)
 
(No difference)

Latest revision as of 00:44, 6 November 2014

Function Syntax

boolean hippy_stone_broken()

This function returns true if the Hippy Stone in your campground is currently broken.

Code Sample

Should the CSA fire-starting kit be used for PvP fights or HP/MP restoration?

if( item_amount( $item[CSA fire-starting kit] ) > 0 ) {
   if( can_interact() && hippy_stone_broken() ) {
      set_property( "choiceAdventure595", "1" );
   else
      set_property( "choiceAdventure595", "2" );
   use( 1, $item[CSA fire-starting kit] );
}

See Also

pvp_attacks_left()