From 3cbb39b1fb13f15d971205ebc903d767d83d60a1 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 11 Feb 2017 21:38:25 +0100 Subject: [PATCH] Rename mcl_farming:wheat_harvested to mcl_farming:wheat_item --- mods/mcl_cake/init.lua | 2 +- mods/mcl_core/crafting.lua | 8 ++++---- mods/mcl_farming/wheat.lua | 8 ++++---- mods/mobs_mc/cow.lua | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mods/mcl_cake/init.lua b/mods/mcl_cake/init.lua index 41b91d454..3e4788805 100644 --- a/mods/mcl_cake/init.lua +++ b/mods/mcl_cake/init.lua @@ -16,7 +16,7 @@ minetest.register_craft({ recipe = { {'mcl_mobitems:milk_bucket', 'mcl_mobitems:milk_bucket', 'mcl_mobitems:milk_bucket'}, {'mcl_core:sugar', 'mcl_throwing:egg', 'mcl_core:sugar'}, - {'mcl_farming:wheat_harvested', 'mcl_farming:wheat_harvested', 'mcl_farming:wheat_harvested'}, + {'mcl_farming:wheat_item', 'mcl_farming:wheat_item', 'mcl_farming:wheat_item'}, }, replacements = { {"mcl_mobitems:milk_bucket", "bucket:bucket_empty"}, diff --git a/mods/mcl_core/crafting.lua b/mods/mcl_core/crafting.lua index 13d77c8ed..73976b143 100644 --- a/mods/mcl_core/crafting.lua +++ b/mods/mcl_core/crafting.lua @@ -420,14 +420,14 @@ minetest.register_craft({ minetest.register_craft({ output = 'mcl_core:haybale', recipe = { - {'mcl_farming:wheat_harvested', 'mcl_farming:wheat_harvested', 'mcl_farming:wheat_harvested'}, - {'mcl_farming:wheat_harvested', 'mcl_farming:wheat_harvested', 'mcl_farming:wheat_harvested'}, - {'mcl_farming:wheat_harvested', 'mcl_farming:wheat_harvested', 'mcl_farming:wheat_harvested'}, + {'mcl_farming:wheat_item', 'mcl_farming:wheat_item', 'mcl_farming:wheat_item'}, + {'mcl_farming:wheat_item', 'mcl_farming:wheat_item', 'mcl_farming:wheat_item'}, + {'mcl_farming:wheat_item', 'mcl_farming:wheat_item', 'mcl_farming:wheat_item'}, } }) minetest.register_craft({ - output = 'mcl_farming:wheat_harvested 9', + output = 'mcl_farming:wheat_item 9', recipe = { {'mcl_core:haybale'}, } diff --git a/mods/mcl_farming/wheat.lua b/mods/mcl_farming/wheat.lua index 9d390c4ba..a68c6b0be 100644 --- a/mods/mcl_farming/wheat.lua +++ b/mods/mcl_farming/wheat.lua @@ -101,7 +101,7 @@ minetest.register_node("mcl_farming:wheat", { { items = {'mcl_farming:wheat_seeds'} }, { items = {'mcl_farming:wheat_seeds'}, rarity = 2}, { items = {'mcl_farming:wheat_seeds'}, rarity = 5}, - { items = {'mcl_farming:wheat_harvested'} } + { items = {'mcl_farming:wheat_item'} } } }, selection_box = { @@ -125,7 +125,7 @@ minetest.register_node("mcl_farming:wheat", { mcl_farming:add_plant("mcl_farming:wheat", {"mcl_farming:wheat_1", "mcl_farming:wheat_2", "mcl_farming:wheat_3"}, 50, 20) -minetest.register_craftitem("mcl_farming:wheat_harvested", { +minetest.register_craftitem("mcl_farming:wheat_item", { description = "Wheat", inventory_image = "farming_wheat_harvested.png", groups = { craftitem = 1 }, @@ -134,14 +134,14 @@ minetest.register_craftitem("mcl_farming:wheat_harvested", { minetest.register_craft({ output = "mcl_farming:bread", recipe = { - {'mcl_farming:wheat_harvested', 'mcl_farming:wheat_harvested', 'mcl_farming:wheat_harvested'}, + {'mcl_farming:wheat_item', 'mcl_farming:wheat_item', 'mcl_farming:wheat_item'}, } }) minetest.register_craft({ output = "mcl_farming:cookie 8", recipe = { - {'mcl_farming:wheat_harvested', 'mcl_dye:brown', 'mcl_farming:wheat_harvested'}, + {'mcl_farming:wheat_item', 'mcl_dye:brown', 'mcl_farming:wheat_item'}, } }) diff --git a/mods/mobs_mc/cow.lua b/mods/mobs_mc/cow.lua index 8a71cbda2..23fe8300a 100644 --- a/mods/mobs_mc/cow.lua +++ b/mods/mobs_mc/cow.lua @@ -75,7 +75,7 @@ mobs:register_mob("mobs_mc:cow", { end, ]] --from mobs_animals - follow = "mcl_farming:wheat_harvested", + follow = "mcl_farming:wheat_item", view_range = 7, replace_rate = 10, replace_what = {"mcl_core:tallgrass",},