summaryrefslogtreecommitdiff
path: root/pumpkin.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-24 14:05:42 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-24 14:05:42 +0000
commit31bbee3201cf35140147ad0f5e1f8107a0896a44 (patch)
treef3c8a9a8bf2ce9af57a55f01ea6ea26147208681 /pumpkin.lua
parenta50c8d33ebe0a31f19c955f82b6943948d43a7f5 (diff)
added wooden scarecrow bottom
Diffstat (limited to 'pumpkin.lua')
-rw-r--r--pumpkin.lua26
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"),