get_florist_plants()

From KoLMafia
Jump to: navigation, search

Function Syntax

string [location] [int] get_florist_plants()

Returns the a map of all plants currently planted at each location.

Code Sample

Print all current plants.

foreach loc, counter, plant in get_florist_plants() {
   if( plant != "" ) {
      print( "Location '" + loc + "'" );
      print( "Plant " + counter + ": '" + plant + "'" );
   }
}

See Also