Have chef

From Kolmafia
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 have_chef()

Returns true if you have a chef (regular or clockwork) installed at your campground, and false if not.

Code Sample

This example tells you if it's turn-safe to cook.

if (have_chef()) {
   print("It's safe to do a little cooking." , "blue");
} else {
   print("Warning, cooking will consume turns!" , "red");
}

See Also

have_bartender() | print()