diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-06-03 08:57:02 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-06-03 08:57:02 +0100 |
commit | d4192a44dca8ac7588fe3a77cd2aa13ef667bdd8 (patch) | |
tree | dbfcc44d04fffdc29a270cb9ef66244054365bf9 | |
parent | 0a04e8f1b899850b18a04841dd5bd0b723d3631b (diff) |
use groups in craft replacements
-rw-r--r-- | barley.lua | 2 | ||||
-rw-r--r-- | corn.lua | 4 | ||||
-rw-r--r-- | food.lua | 6 | ||||
-rw-r--r-- | pepper.lua | 2 | ||||
-rw-r--r-- | pineapple.lua | 9 | ||||
-rw-r--r-- | rhubarb.lua | 2 | ||||
-rw-r--r-- | wheat.lua | 4 |
7 files changed, 16 insertions, 13 deletions
@@ -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 @@ -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"}, } }) @@ -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 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 @@ -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 |