added utensils for easier food crafting.
@ -13,6 +13,7 @@ This mod works by adding your new plant to the {growing=1} group and numbering t
|
|||||||
|
|
||||||
Changelog:
|
Changelog:
|
||||||
|
|
||||||
|
1.33 - Added cooking utensils (wooden bowl, saucepan, cooking pot, baking tray, skillet, cutting board, mortar & pestle, glass mixing bowl) for easier food crafts.
|
||||||
1.32 - Added Pea plant (textures by Andrey01) - also added Wooden Bowl and Pea Soup crafts
|
1.32 - Added Pea plant (textures by Andrey01) - also added Wooden Bowl and Pea Soup crafts
|
||||||
1.31 - Added Pineapple which can be found growing in savannah areas (place pineapple in crafting to obtain 5x rings to eat and a top for re-planting), also Salt which is made from cooking a bucket of water, added food groups so it's more compatible with Ruben's food mods.
|
1.31 - Added Pineapple which can be found growing in savannah areas (place pineapple in crafting to obtain 5x rings to eat and a top for re-planting), also Salt which is made from cooking a bucket of water, added food groups so it's more compatible with Ruben's food mods.
|
||||||
1.30 - Added Garlic, Pepper and Onions thanks to Grizzly Adam for sharing textures
|
1.30 - Added Garlic, Pepper and Onions thanks to Grizzly Adam for sharing textures
|
||||||
|
2
init.lua
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
farming = {}
|
farming = {}
|
||||||
farming.mod = "redo"
|
farming.mod = "redo"
|
||||||
farming.version = "1.32"
|
farming.version = "1.33"
|
||||||
farming.path = minetest.get_modpath("farming")
|
farming.path = minetest.get_modpath("farming")
|
||||||
farming.select = {
|
farming.select = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
@ -53,13 +53,20 @@ minetest.register_craft({
|
|||||||
output = "farming:pineapple_juice",
|
output = "farming:pineapple_juice",
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
recipe = {"vessels:drinking_glass", "group:food_pineapple_ring",
|
recipe = {"vessels:drinking_glass", "group:food_pineapple_ring",
|
||||||
"group:food_pineapple_ring", "group:food_pineapple_ring"},
|
"group:food_pineapple_ring", "group:food_pineapple_ring",
|
||||||
|
"farming:juicer"},
|
||||||
|
replacements = {
|
||||||
|
{"farming:juicer", "farming:juicer"},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:pineapple_juice 2",
|
output = "farming:pineapple_juice 2",
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
recipe = {"vessels:drinking_glass", "group:food_pineapple"},
|
recipe = {"vessels:drinking_glass", "group:food_pineapple", "farming:juicer"},
|
||||||
|
replacements = {
|
||||||
|
{"farming:juicer", "farming:juicer"},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- crop definition
|
-- crop definition
|
||||||
|
BIN
textures/farming_baking_tray.png
Normal file
After Width: | Height: | Size: 149 B |
BIN
textures/farming_cutting_board.png
Normal file
After Width: | Height: | Size: 189 B |
BIN
textures/farming_juicer.png
Normal file
After Width: | Height: | Size: 155 B |
BIN
textures/farming_mixing_bowl.png
Normal file
After Width: | Height: | Size: 133 B |
BIN
textures/farming_mortar_pestle.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
textures/farming_pot.png
Normal file
After Width: | Height: | Size: 162 B |
BIN
textures/farming_saucepan.png
Normal file
After Width: | Height: | Size: 170 B |
BIN
textures/farming_skillet.png
Normal file
After Width: | Height: | Size: 172 B |
132
utensils.lua
@ -2,6 +2,7 @@
|
|||||||
local S = farming.intllib
|
local S = farming.intllib
|
||||||
|
|
||||||
-- wooden bowl
|
-- wooden bowl
|
||||||
|
|
||||||
minetest.register_craftitem("farming:bowl", {
|
minetest.register_craftitem("farming:bowl", {
|
||||||
description = S("Wooden Bowl"),
|
description = S("Wooden Bowl"),
|
||||||
inventory_image = "farming_bowl.png",
|
inventory_image = "farming_bowl.png",
|
||||||
@ -15,3 +16,134 @@ minetest.register_craft({
|
|||||||
{"", "group:wood", ""},
|
{"", "group:wood", ""},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- saucepan
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:saucepan", {
|
||||||
|
description = S("Saucepan"),
|
||||||
|
inventory_image = "farming_saucepan.png",
|
||||||
|
groups = {food_saucepan = 1, flammable = 2},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:saucepan",
|
||||||
|
recipe = {
|
||||||
|
{"default:steel_ingot", "", ""},
|
||||||
|
{"", "group:stick", ""},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- cooking pot
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:pot", {
|
||||||
|
description = S("Cooking Pot"),
|
||||||
|
inventory_image = "farming_pot.png",
|
||||||
|
groups = {food_pot = 1, flammable = 2},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:pot",
|
||||||
|
recipe = {
|
||||||
|
{"group:stick", "default:steel_ingot", "default:steel_ingot"},
|
||||||
|
{"", "default:steel_ingot", "default:steel_ingot"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- baking tray
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:baking_tray", {
|
||||||
|
description = S("Baking Tray"),
|
||||||
|
inventory_image = "farming_baking_tray.png",
|
||||||
|
groups = {food_baking_tray = 1, flammable = 2},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:baking_tray",
|
||||||
|
recipe = {
|
||||||
|
{"default:clay_brick", "default:clay_brick", "default:clay_brick"},
|
||||||
|
{"default:clay_brick", "", "default:clay_brick"},
|
||||||
|
{"default:clay_brick", "default:clay_brick", "default:clay_brick"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- skillet
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:skillet", {
|
||||||
|
description = S("Skillet"),
|
||||||
|
inventory_image = "farming_skillet.png",
|
||||||
|
groups = {food_baking_tray = 1, flammable = 2},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:skillet",
|
||||||
|
recipe = {
|
||||||
|
{"default:steel_ingot", "", ""},
|
||||||
|
{"", "default:steel_ingot", ""},
|
||||||
|
{"", "", "group:stick"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- mortar and pestle
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:mortar_pestle", {
|
||||||
|
description = S("Mortal and Pestle"),
|
||||||
|
inventory_image = "farming_mortar_pestle.png",
|
||||||
|
groups = {food_mortar_pestle = 1, flammable = 2},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:mortar_pestle",
|
||||||
|
recipe = {
|
||||||
|
{"default:stone", "group:stick", "default:stone"},
|
||||||
|
{"", "default:stone", ""},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- cutting board
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:cutting_board", {
|
||||||
|
description = S("Cutting Board"),
|
||||||
|
inventory_image = "farming_cutting_board.png",
|
||||||
|
groups = {food_cutting_board = 1, flammable = 2},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:cutting_board",
|
||||||
|
recipe = {
|
||||||
|
{"default:steel_ingot", "", ""},
|
||||||
|
{"", "group:stick", ""},
|
||||||
|
{"", "", "group:wood"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- juicer
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:juicer", {
|
||||||
|
description = S("Juicer"),
|
||||||
|
inventory_image = "farming_juicer.png",
|
||||||
|
groups = {food_juicer = 1, flammable = 2},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:juicer",
|
||||||
|
recipe = {
|
||||||
|
{"", "default:stone", ""},
|
||||||
|
{"default:stone", "", "default:stone"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- glass mixing bowl
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:mixing_bowl", {
|
||||||
|
description = S("Glass Mixing Bowl"),
|
||||||
|
inventory_image = "farming_mixing_bowl.png",
|
||||||
|
groups = {food_mixing_bowl = 1, flammable = 2},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:mixing_bowl",
|
||||||
|
recipe = {
|
||||||
|
{"default:glass", "group:stick", "default:glass"},
|
||||||
|
{"", "default:glass", ""},
|
||||||
|
}
|
||||||
|
})
|
||||||
|