summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-06-03 08:57:02 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-06-03 08:57:02 +0100
commitd4192a44dca8ac7588fe3a77cd2aa13ef667bdd8 (patch)
treedbfcc44d04fffdc29a270cb9ef66244054365bf9
parent0a04e8f1b899850b18a04841dd5bd0b723d3631b (diff)
use groups in craft replacements
-rw-r--r--barley.lua2
-rw-r--r--corn.lua4
-rw-r--r--food.lua6
-rw-r--r--pepper.lua2
-rw-r--r--pineapple.lua9
-rw-r--r--rhubarb.lua2
-rw-r--r--wheat.lua4
7 files changed, 16 insertions, 13 deletions
diff --git a/barley.lua b/barley.lua
index 4005d2c..f509335 100644
--- a/barley.lua
+++ b/barley.lua
@@ -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
diff --git a/corn.lua b/corn.lua
index 7f922e7..4847903 100644
--- a/corn.lua
+++ b/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"},
}
})
diff --git a/food.lua b/food.lua
index 9feed98..777e317 100644
--- a/food.lua
+++ b/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"},
},
})
diff --git a/pepper.lua b/pepper.lua
index e79efa9..f700e35 100644
--- a/pepper.lua
+++ b/pepper.lua
@@ -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
diff --git a/pineapple.lua b/pineapple.lua
index 6376f2f..3525136 100644
--- a/pineapple.lua
+++ b/pineapple.lua
@@ -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"},
},
})
diff --git a/rhubarb.lua b/rhubarb.lua
index 1fa897f..90a2d8b 100644
--- a/rhubarb.lua
+++ b/rhubarb.lua
@@ -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
diff --git a/wheat.lua b/wheat.lua
index 1b22723..68296cc 100644
--- a/wheat.lua
+++ b/wheat.lua
@@ -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