#include "lua_api/l_craft.h"
#include "lua_api/l_internal.h"
#include "lua_api/l_item.h"
#include "common/c_converter.h"
#include "common/c_content.h"
#include "server.h"
#include "craftdef.h"
Functions | |
static void | push_craft_recipe (lua_State *L, IGameDef *gdef, const CraftDefinition *recipe, const CraftOutput &tmpout) |
static void | push_craft_recipes (lua_State *L, IGameDef *gdef, const std::vector< CraftDefinition * > &recipes, const CraftOutput &output) |
|
static |
References CRAFT_METHOD_COOKING, CRAFT_METHOD_FUEL, CRAFT_METHOD_NORMAL, CraftDefinition::getInput(), CraftDefinition::getOutput(), CraftOutput::item, CraftInput::items, CraftInput::method, setintfield(), and CraftInput::width.
Referenced by ModApiCraft::l_get_craft_recipe(), and push_craft_recipes().
|
static |
References push_craft_recipe().
Referenced by ModApiCraft::l_get_all_craft_recipes().