use groups in craft replacements

This commit is contained in:
TenPlus1 2018-06-03 08:57:02 +01:00
parent 0a04e8f1b8
commit d4192a44dc
7 changed files with 16 additions and 13 deletions

View File

@ -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

View File

@ -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"},
}
})

View File

@ -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"},
},
})

View File

@ -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

View File

@ -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"},
},
})

View File

@ -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

View File

@ -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