summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-08 15:44:44 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-08 15:44:44 +0000
commitdc604a391596398d824429d374169cb72c576d68 (patch)
treee4cc0fd4c5c8a669fc7a6bf5437ebc55b6adca2d
parent021677931bb034f235240c9754afa9aca8923b85 (diff)
added hemp block
-rw-r--r--hemp.lua17
-rw-r--r--textures/farming_hemp_block.pngbin0 -> 149 bytes
2 files changed, 17 insertions, 0 deletions
diff --git a/hemp.lua b/hemp.lua
index 29b6a42..aa2691d 100644
--- a/hemp.lua
+++ b/hemp.lua
@@ -94,6 +94,23 @@ minetest.register_craft( {
replacements = {{ "bucket:bucket_river_water", "bucket:bucket_empty"}}
})
+-- hemp block
+minetest.register_node("farming:hemp_block", {
+ description = S("Hemp Block"),
+ tiles = {"farming_hemp_block.png"},
+ paramtype = "light",
+ groups = {snappy = 1, oddly_breakable_by_hand = 1, flammable = 2}
+})
+
+minetest.register_craft( {
+ output = "farming:hemp_block",
+ recipe = {
+ {"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"},
+ {"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"},
+ {"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"}
+ },
+})
+
-- paper
minetest.register_craft( {
output = "default:paper",
diff --git a/textures/farming_hemp_block.png b/textures/farming_hemp_block.png
new file mode 100644
index 0000000..32fc992
--- /dev/null
+++ b/textures/farming_hemp_block.png
Binary files differ