From dc604a391596398d824429d374169cb72c576d68 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 8 Mar 2018 15:44:44 +0000 Subject: added hemp block --- hemp.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'hemp.lua') 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", -- cgit v1.2.3