diff --git a/crafts.lua b/crafts.lua index 8513526..bb61914 100644 --- a/crafts.lua +++ b/crafts.lua @@ -68,6 +68,11 @@ cooking.register_craft({ recipe = "farming:bread", output = "cooking:bread_sliced 6" }) +cooking.register_craft({ + type = "press", + recipe = "default:blueberries", + output = "cooking:blueberry_jam 4" +}) foodspoil_register("cooking:bread_sliced", 4) cooking.register_craft({ type = "stack", diff --git a/init.lua b/init.lua index 4d2f147..b2b4e1c 100644 --- a/init.lua +++ b/init.lua @@ -34,20 +34,20 @@ local function table_to_string(tbl) end local crafttypelist = { - stack = {"Stacking", "default_tool_steelpick.png"}, - mix = {"Mixing", "default_tool_steelpick.png"}, - cut = {"Cutting", "default_tool_steelpick.png"}, - press = {"Pressing", "default_tool_steelpick.png"}, - roll = {"Rolling", "default_tool_steelpick.png"}, - stove = {"Stove", "default_tool_steelpick.png"}, - oven = {"Oven", "default_tool_steelpick.png"}, - soup = {"Soup", "default_tool_steelpick.png"}, + stack = "Stacking", + mix = "Mixing", + cut = "Cutting", + press = "Pressing", + roll = "Rolling", + stove = "Stove", + oven = "Oven", + soup = "Soup", } if craftguide then for craftname, tbl in pairs(crafttypelist) do craftguide.register_craft_type(craftname, { description = tbl[1], - icon = tbl[2], + icon = "craftguide_"..craftname.."_icon.png", }) end end diff --git a/license.txt b/license.txt index db998f6..8d91bb1 100644 --- a/license.txt +++ b/license.txt @@ -1,4 +1,4 @@ -in ovenstove.lua there is some copied and edited code from minetest_game, which is under the following license: +in ovenstove.lua there is some copied and edited code from minetest_game default mod, which is under the following license: ---------------------- GNU Lesser General Public License, version 2.1 @@ -26,7 +26,14 @@ ShadowNinja VanessaE And many others... -jelys_pizzaria_rolling_pin_inv.png +craftguide_cut_icon.png contains default_sword_steel.png from minetest_game default mod, which is under the following license: +------------------------------- +Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) +Attribution 3.0 Unported (CC BY 3.0) +CC0 1.0 Universal (CC0 1.0) Public Domain Dedication +See https://github.com/minetest/minetest_game/blob/master/mods/default/license.txt for more infomation + +jelys_pizzaria_rolling_pin_inv.png and craftguide_roll_icon.png ------------------------------ Attribution-ShareAlike 3.0 (CC BY-SA 3.0) Extex inspired by https://www.brik.co/blogs/pixel-art/rolling-pin-pixel-art diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..5582ab0 Binary files /dev/null and b/screenshot.png differ diff --git a/textures/craftguide_cut_icon.png b/textures/craftguide_cut_icon.png new file mode 100644 index 0000000..704c0d9 Binary files /dev/null and b/textures/craftguide_cut_icon.png differ diff --git a/textures/craftguide_mix_icon.png b/textures/craftguide_mix_icon.png new file mode 100644 index 0000000..8948368 Binary files /dev/null and b/textures/craftguide_mix_icon.png differ diff --git a/textures/craftguide_oven_icon.png b/textures/craftguide_oven_icon.png new file mode 100644 index 0000000..71b10dc Binary files /dev/null and b/textures/craftguide_oven_icon.png differ diff --git a/textures/craftguide_press_icon.png b/textures/craftguide_press_icon.png new file mode 100644 index 0000000..62411bc Binary files /dev/null and b/textures/craftguide_press_icon.png differ diff --git a/textures/craftguide_roll_icon.png b/textures/craftguide_roll_icon.png new file mode 100644 index 0000000..0202a9b Binary files /dev/null and b/textures/craftguide_roll_icon.png differ diff --git a/textures/craftguide_soup_icon.png b/textures/craftguide_soup_icon.png new file mode 100644 index 0000000..f2b4fee Binary files /dev/null and b/textures/craftguide_soup_icon.png differ diff --git a/textures/craftguide_stack_icon.png b/textures/craftguide_stack_icon.png new file mode 100644 index 0000000..c52dcda Binary files /dev/null and b/textures/craftguide_stack_icon.png differ diff --git a/textures/craftguide_stove_icon.png b/textures/craftguide_stove_icon.png new file mode 100644 index 0000000..01be7fb Binary files /dev/null and b/textures/craftguide_stove_icon.png differ