mirror of
https://codeberg.org/tenplus1/farming.git
synced 2024-11-05 01:40:40 +01:00
use groups in craft replacements
This commit is contained in:
parent
0a04e8f1b8
commit
d4192a44dc
|
@ -34,7 +34,7 @@ minetest.register_craft({
|
|||
"farming:barley", "farming:barley", "farming:barley",
|
||||
"farming:barley", "farming:mortar_pestle"
|
||||
},
|
||||
replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}},
|
||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}},
|
||||
})
|
||||
|
||||
-- barley definition
|
||||
|
|
4
corn.lua
4
corn.lua
|
@ -46,8 +46,8 @@ minetest.register_craft({
|
|||
{"", "group:food_bowl", ""},
|
||||
},
|
||||
replacements = {
|
||||
{"farming:mortar_pestle", "farming:mortar_pestle"},
|
||||
{"farming:baking_tray", "farming:baking_tray"},
|
||||
{"group:food_mortar_pestle", "farming:mortar_pestle"},
|
||||
{"group:food_baking_tray", "farming:baking_tray"},
|
||||
}
|
||||
})
|
||||
|
||||
|
|
6
food.lua
6
food.lua
|
@ -72,7 +72,7 @@ minetest.register_craft({
|
|||
},
|
||||
replacements = {
|
||||
{"bucket:bucket_water", "bucket:bucket_empty"},
|
||||
{"farming:pot", "farming:pot"},
|
||||
{"group:food_pot", "farming:pot"},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -93,8 +93,8 @@ minetest.register_craft({
|
|||
{"group:food_cornstarch", "group:food_sugar", "dye:pink"},
|
||||
},
|
||||
replacements = {
|
||||
{"farming:cornstarch", "farming:bowl"},
|
||||
{"farming:rose_water", "vessels:glass_bottle"},
|
||||
{"group:food_cornstarch", "farming:bowl"},
|
||||
{"group:food_rose_water", "vessels:glass_bottle"},
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ minetest.register_craft( {
|
|||
output = "farming:pepper_ground",
|
||||
type = "shapeless",
|
||||
recipe = {"group:food_peppercorn", "vessels:glass_bottle", "farming:mortar_pestle"},
|
||||
replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}},
|
||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}},
|
||||
})
|
||||
|
||||
-- crop definition
|
||||
|
|
|
@ -56,16 +56,19 @@ minetest.register_craft({
|
|||
"group:food_pineapple_ring", "group:food_pineapple_ring",
|
||||
"farming:juicer"},
|
||||
replacements = {
|
||||
{"farming:juicer", "farming:juicer"},
|
||||
{"group:food_juicer", "farming:juicer"},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "farming:pineapple_juice 2",
|
||||
type = "shapeless",
|
||||
recipe = {"vessels:drinking_glass", "group:food_pineapple", "farming:juicer"},
|
||||
recipe = {
|
||||
"vessels:drinking_glass", "vessels:drinking_glass",
|
||||
"group:food_pineapple", "farming:juicer"
|
||||
},
|
||||
replacements = {
|
||||
{"farming:juicer", "farming:juicer"},
|
||||
{"group:food_juicer", "farming:juicer"},
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ minetest.register_craft({
|
|||
{"group:food_rhubarb", "group:food_rhubarb", "group:food_rhubarb"},
|
||||
{"group:food_wheat", "group:food_wheat", "group:food_wheat"},
|
||||
},
|
||||
replacements = {{"farming:baking_tray", "farming:baking_tray"}}
|
||||
replacements = {{"group:food_baking_tray", "farming:baking_tray"}}
|
||||
})
|
||||
|
||||
-- rhubarb definition
|
||||
|
|
|
@ -65,7 +65,7 @@ minetest.register_craft({
|
|||
"farming:wheat", "farming:wheat", "farming:wheat",
|
||||
"farming:wheat", "farming:mortar_pestle"
|
||||
},
|
||||
replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}},
|
||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}},
|
||||
})
|
||||
|
||||
-- bread
|
||||
|
@ -95,7 +95,7 @@ minetest.register_craft({
|
|||
type = "shapeless",
|
||||
output = "farming:bread_slice 5",
|
||||
recipe = {"farming:bread", "group:food_cutting_board"},
|
||||
replacements = {{"farming:cutting_board", "farming:cutting_board"}},
|
||||
replacements = {{"group:food_cutting_board", "farming:cutting_board"}},
|
||||
})
|
||||
|
||||
-- toast
|
||||
|
|
Loading…
Reference in New Issue
Block a user