From 73e258b005bad86aa61be87a25e35f76937ae169 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 12 Nov 2016 11:00:09 +0000 Subject: [PATCH] added 2x lucky blocks --- README.md | 2 ++ depends.txt | 3 ++- description.txt | 1 + init.lua | 11 +++++++++++ mod.conf | 1 + 5 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 description.txt create mode 100644 mod.conf diff --git a/README.md b/README.md index d2a2610..ded99e2 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,5 @@ Change log: - 0.9 - Added support for Wine mod's wine barrels - 1.0 - New furances do not work properly with hoppers so old reverted to abm furnaces - 1.1 - Hoppers now work with new node timer Furnaces. Reduced Abm's and tidied code. + +Lucky Blocks: 2 diff --git a/depends.txt b/depends.txt index 331d858..8035459 100644 --- a/depends.txt +++ b/depends.txt @@ -1 +1,2 @@ -default \ No newline at end of file +default +lucky_block? \ No newline at end of file diff --git a/description.txt b/description.txt new file mode 100644 index 0000000..3412ccd --- /dev/null +++ b/description.txt @@ -0,0 +1 @@ +Adds hoppers to transport items between chests/furnace etc. \ No newline at end of file diff --git a/init.lua b/init.lua index 2e20057..b185198 100644 --- a/init.lua +++ b/init.lua @@ -393,4 +393,15 @@ minetest.register_craft({ }, }) +-- add lucky blocks + +-- Hopper mod +if minetest.get_modpath("lucky_block") then + + lucky_block:add_blocks({ + {"dro", {"hopper:hopper"}, 3}, + {"nod", "default:lava_source", 1}, + }) +end + print ("[MOD] Hopper loaded") diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..aa82692 --- /dev/null +++ b/mod.conf @@ -0,0 +1 @@ +name = hopper \ No newline at end of file