|
|
@ -38,21 +38,23 @@ namespace DFHack
|
|
|
|
{
|
|
|
|
{
|
|
|
|
namespace Kitchen
|
|
|
|
namespace Kitchen
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// print the exclusion list, with the material index also translated into its token (for organics) - for debug really
|
|
|
|
|
|
|
|
DFHACK_EXPORT void debug_print(color_ostream &out);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Kitchen exclusions manipulator. Currently geared towards plants and seeds.
|
|
|
|
* Kitchen exclusions manipulator. Currently geared towards plants and seeds.
|
|
|
|
* \ingroup grp_modules
|
|
|
|
* \ingroup grp_modules
|
|
|
|
* \ingroup grp_kitchen
|
|
|
|
* \ingroup grp_kitchen
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// print the exclusion list, with the material index also translated into its token (for organics) - for debug really
|
|
|
|
|
|
|
|
DFHACK_EXPORT void debug_print(color_ostream &out);
|
|
|
|
|
|
|
|
|
|
|
|
// remove this plant from the exclusion list if it is in it
|
|
|
|
// remove this plant from the exclusion list if it is in it
|
|
|
|
DFHACK_EXPORT void allowPlantSeedCookery(int32_t plant_id);
|
|
|
|
DFHACK_EXPORT void allowPlantSeedCookery(int32_t plant_id);
|
|
|
|
|
|
|
|
|
|
|
|
// add this plant to the exclusion list, if it is not already in it
|
|
|
|
// add this plant to the exclusion list, if it is not already in it
|
|
|
|
DFHACK_EXPORT void denyPlantSeedCookery(int32_t plant_id);
|
|
|
|
DFHACK_EXPORT void denyPlantSeedCookery(int32_t plant_id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DFHACK_EXPORT std::size_t size();
|
|
|
|
|
|
|
|
|
|
|
|
// Finds the index of a kitchen exclusion in plotinfo.kitchen.exc_types. Returns -1 if not found.
|
|
|
|
// Finds the index of a kitchen exclusion in plotinfo.kitchen.exc_types. Returns -1 if not found.
|
|
|
|
DFHACK_EXPORT int findExclusion(df::kitchen_exc_type type,
|
|
|
|
DFHACK_EXPORT int findExclusion(df::kitchen_exc_type type,
|
|
|
|
df::item_type item_type, int16_t item_subtype,
|
|
|
|
df::item_type item_type, int16_t item_subtype,
|
|
|
@ -68,7 +70,5 @@ DFHACK_EXPORT bool removeExclusion(df::kitchen_exc_type type,
|
|
|
|
df::item_type item_type, int16_t item_subtype,
|
|
|
|
df::item_type item_type, int16_t item_subtype,
|
|
|
|
int16_t mat_type, int32_t mat_index);
|
|
|
|
int16_t mat_type, int32_t mat_index);
|
|
|
|
|
|
|
|
|
|
|
|
DFHACK_EXPORT std::size_t size();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|