QcBitesDefinition Struct
A block eaten bite by bite where it stands (cake, decision E-773): using it eats one bite of food points; its state bites counts the bites taken, the bite after its last value removes the block. More...
| Header: | #include <common/content/recipes/QcCookingDefinitions.h> |
Public Functions
| bool | isEdible() const |
Public Variables
| int | food |
Related Non-Members
| bool | qcAcceptsRecipeKind(const QStringList &kinds, const QString &kind) |
Detailed Description
Member Function Documentation
bool QcBitesDefinition::isEdible() const
Returns whether the block is eaten bite by bite (food above 0).
Member Variable Documentation
int QcBitesDefinition::food
Food points of one bite ("food" in "bites", 1 to QcItemDefinition::maxFood, default 2); 0 for a block that is not eaten.
Related Non-Members
bool qcAcceptsRecipeKind(const QStringList &kinds, const QString &kind)
Returns whether a smelting recipe of kind (QcSmeltingRecipe::kind, empty: none) works in a machine or campfire that takes kinds (empty: every kind; decision E-770).