| 601 | // |
| 602 | |
| 603 | static const char * get_protect_str(bool protect_brewable, bool protect_edible, bool protect_cookable) { |
| 604 | if (!protect_brewable && !protect_edible && !protect_cookable) |
| 605 | return " "; |
| 606 | if (!protect_brewable && !protect_edible && protect_cookable) |
| 607 | return " z"; |
| 608 | if (!protect_brewable && protect_edible && !protect_cookable) |
| 609 | return " e "; |
| 610 | if (!protect_brewable && protect_edible && protect_cookable) |
| 611 | return " ez"; |
| 612 | if (protect_brewable && !protect_edible && !protect_cookable) |
| 613 | return "b "; |
| 614 | if (protect_brewable && !protect_edible && protect_cookable) |
| 615 | return "b z"; |
| 616 | if (protect_brewable && protect_edible && !protect_cookable) |
| 617 | return "be "; |
| 618 | if (protect_brewable && protect_edible && protect_cookable) |
| 619 | return "bez"; |
| 620 | return ""; |
| 621 | } |
| 622 | |
| 623 | static void autochop_printStatus(color_ostream &out) { |
| 624 | DEBUG(control,out).print("entering autochop_printStatus\n"); |
no outgoing calls
no test coverage detected