diff --git a/README.txt b/README.txt index 896aaa4..0bed17a 100644 --- a/README.txt +++ b/README.txt @@ -13,6 +13,7 @@ This mod works by adding your new plant to the {growing=1} group and numbering t Changelog: +1.34 - Added scarecrow Base (5x sticks in a cross shape) 1.33 - Added cooking utensils (wooden bowl, saucepan, cooking pot, baking tray, skillet, cutting board, mortar & pestle, juicer, glass mixing bowl) for easier food crafts. 1.32 - Added Pea plant (textures by Andrey01) - also added Wooden Bowl and Pea Soup crafts 1.31 - Added Pineapple which can be found growing in savannah areas (place pineapple in crafting to obtain 5x rings to eat and a top for re-planting), also Salt which is made from cooking a bucket of water, added food groups so it's more compatible with Ruben's food mods. diff --git a/chili.lua b/chili.lua index a961993..9889162 100644 --- a/chili.lua +++ b/chili.lua @@ -25,7 +25,7 @@ minetest.register_craft({ recipe = { "group:food_chili_pepper", "group:food_barley", "group:food_tomato", "group:food_beans", "group:food_bowl" - } + }, }) -- chili can be used for red dye diff --git a/compatibility.lua b/compatibility.lua index d32cae6..ccc46a5 100644 --- a/compatibility.lua +++ b/compatibility.lua @@ -107,7 +107,6 @@ minetest.register_alias("farming:big_pumpkin_side", "air") minetest.register_alias("farming:big_pumpkin_corner", "air") minetest.register_alias("farming:big_pumpkin_top", "air") minetest.register_alias("farming:scarecrow", "farming:jackolantern") -minetest.register_alias("farming:scarecrow_bottom", "default:fence_wood") minetest.register_alias("farming:scarecrow_light", "farming:jackolantern_on") minetest.register_alias("farming:pumpkin_flour", "farming:pumpkin_dough") diff --git a/init.lua b/init.lua index 4faa222..1bb33c9 100644 --- a/init.lua +++ b/init.lua @@ -648,14 +648,14 @@ if farming.rhubarb then dofile(farming.path.."/rhubarb.lua") end if farming.beans then dofile(farming.path.."/beanpole.lua") end if farming.grapes then dofile(farming.path.."/grapes.lua") end if farming.barley then dofile(farming.path.."/barley.lua") end -if farming.chili then dofile(farming.path.."/chili.lua") end if farming.hemp then dofile(farming.path.."/hemp.lua") end -if farming.donuts then dofile(farming.path.."/donut.lua") end if farming.garlic then dofile(farming.path.."/garlic.lua") end if farming.onion then dofile(farming.path.."/onion.lua") end if farming.pepper then dofile(farming.path.."/pepper.lua") end if farming.pineapple then dofile(farming.path.."/pineapple.lua") end if farming.peas then dofile(farming.path.."/pea.lua") end +if farming.chili then dofile(farming.path.."/chili.lua") end +if farming.donuts then dofile(farming.path.."/donut.lua") end dofile(farming.path.."/mapgen.lua") dofile(farming.path.."/compatibility.lua") -- Farming Plus compatibility diff --git a/pumpkin.lua b/pumpkin.lua index cb96cf5..d8e8ec6 100644 --- a/pumpkin.lua +++ b/pumpkin.lua @@ -103,6 +103,32 @@ minetest.register_craft({ } }) +--- wooden scarecrow base +minetest.register_node("farming:scarecrow_bottom", { + paramtype = "light", + sunlight_propagates = true, + paramtype2 = "facedir", + tiles = {"default_wood.png"}, + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-1/16, -8/16, -1/16, 1/16, 8/16, 1/16}, + {-12/16, 4/16, -1/16, 12/16, 2/16, 1/16}, + }, + }, + groups = {snappy = 3, flammable = 2}, +}) + +minetest.register_craft({ + output = "farming:scarecrow_bottom", + recipe = { + {"", "group:stick", "",}, + {"group:stick", "group:stick", "group:stick",}, + {"", "group:stick", "",} + } +}) + -- pumpkin bread minetest.register_craftitem("farming:pumpkin_bread", { description = S("Pumpkin Bread"),