summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-12-10 11:08:48 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-12-10 11:08:48 +0000
commit769f2bb6e8f32880f5d044ad70f8b8fba8a85ff4 (patch)
tree5a3a7bb619abe8aaa74b1d01ba00ddcc47c0b102
parentb5fb2767cd3a8967c21f1e738fd7992cda811270 (diff)
Added 7 lucky blocks, removed farming dependency
-rw-r--r--README.md2
-rw-r--r--depends.txt2
-rw-r--r--init.lua15
3 files changed, 18 insertions, 1 deletions
diff --git a/README.md b/README.md
index 45e41c0..e25c84f 100644
--- a/README.md
+++ b/README.md
@@ -13,3 +13,5 @@ Change log:
- 0.3 - New barrel model from cottages mod (thanks Napiophelios), also wine glass can be placed
- 0.4 - Added ability to ferment barley from farming redo into beer and also honey from mobs redo into honey mead
- 0.5 - Added apple cider
+
+Lucky Blocks: 7
diff --git a/depends.txt b/depends.txt
index 657056a..53a9e75 100644
--- a/depends.txt
+++ b/depends.txt
@@ -1,3 +1,3 @@
default
-farming
intllib?
+lucky_block?
diff --git a/init.lua b/init.lua
index 1db8585..7466722 100644
--- a/init.lua
+++ b/init.lua
@@ -321,4 +321,19 @@ minetest.register_abm({
end,
})
+-- add lucky blocks
+
+if minetest.get_modpath("lucky_block") then
+
+lucky_block:add_blocks({
+ {"dro", {"wine:glass_wine"}, 5},
+ {"dro", {"wine:glass_beer"}, 5},
+ {"dro", {"wine:glass_mead"}, 5},
+ {"dro", {"wine:glass_cider"}, 5},
+ {"nod", "wine:bottle_wine"},
+ {"nod", "wine:wine_barrel"},
+ {"tel", 5, 1},
+})
+end
+
print (S("[MOD] Wine loaded"))