summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-11-12 11:03:04 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-11-12 11:03:04 +0000
commitfaab371aa546a669482b66f91b4e0ed7555b67cc (patch)
treee6ccfdad70e90598092afe285191912171e2c5a4
parentc05d4996207ef5dc69b9477c73ccfb0651db960c (diff)
added 13x lucky blocks
-rw-r--r--README.txt3
-rw-r--r--depends.txt1
-rw-r--r--init.lua3
-rw-r--r--lucky_block.lua18
4 files changed, 24 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index 86a5fe3..811a535 100644
--- a/README.txt
+++ b/README.txt
@@ -45,6 +45,9 @@ Changelog:
0.1 - Fixed growing bug
0.0 - Initial release
+Lucky Blocks: 10 (plus 3 for default farming items)
+
+
License of media (textures):
----------------------------
Created by PilzAdam (License: WTFPL):
diff --git a/depends.txt b/depends.txt
index 8c4c21f..3492e4b 100644
--- a/depends.txt
+++ b/depends.txt
@@ -1,3 +1,4 @@
default
wool
intllib?
+lucky_block? \ No newline at end of file
diff --git a/init.lua b/init.lua
index 4c3b945..b08112e 100644
--- a/init.lua
+++ b/init.lua
@@ -1,5 +1,5 @@
--[[
- Minetest Farming Redo Mod 1.23 (14th October 2016)
+ Minetest Farming Redo Mod 1.23 (12th November 2016)
by TenPlus1
NEW growing routine by prestidigitator
auto-refill by crabman77
@@ -710,3 +710,4 @@ dofile(farming.path.."/barley.lua")
dofile(farming.path.."/donut.lua")
dofile(farming.path.."/mapgen.lua")
dofile(farming.path.."/compatibility.lua") -- Farming Plus compatibility
+dofile(farming.path.."/lucky_block.lua")
diff --git a/lucky_block.lua b/lucky_block.lua
new file mode 100644
index 0000000..df5c54f
--- /dev/null
+++ b/lucky_block.lua
@@ -0,0 +1,18 @@
+
+-- add lucky blocks
+
+if minetest.get_modpath("lucky_block") then
+
+ lucky_block:add_blocks({
+ {"dro", {"farming:corn"}, 5},
+ {"dro", {"farming:coffee_cup_hot"}, 1},
+ {"dro", {"farming:bread"}, 5},
+ {"nod", "farming:jackolantern", 0},
+ {"tro", "farming:jackolantern_on"},
+ {"nod", "default:river_water_source", 1},
+ {"dro", {"farming:trellis", "farming:grapes"}, 5},
+ {"dro", {"farming:bottle_ethanol"}, 1},
+ {"nod", "farming:melon", 0},
+ {"dro", {"farming:donut", "farming:donut_chocolate", "farming:donut_apple"}, 5},
+ })
+end