diff options
Diffstat (limited to 'pumpkin.lua')
-rw-r--r-- | pumpkin.lua | 26 |
1 files changed, 26 insertions, 0 deletions
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"), |