Florist available
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Function Syntax
boolean florist_available()
Returns the availability of The Florist Friar's Cottage.
Code Samples
This will plant for a +25% item drop bonus, if possible.
if(florist_available()) {
string plant;
switch( my_location().environment ) {
case "indoor":
plant = "Stealing Magnolia";
break;
case "outdoor":
plant = "Rutabeggar";
break;
case "underground":
plant = "Horn of Plenty";
break;
case "underwater":
plant = "Kelptomaniac";
break;
if( !get_property( "_floristPlantsUsed" ).contains_text( plant ) )
cli_execute( "florist plant " + plant );
}
See Also
Special
When not logged in, this function returns false.