summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2015-04-08 01:03:54 -0700
committerAuke Kok <auke-jan.h.kok@intel.com>2015-04-08 01:03:54 -0700
commit1fa945bf6b4a491dd89d7fe53837cc079c4175e6 (patch)
tree1174836a716f1766971ba1ba1bc538980238aa1a /init.lua
Initial commit.
This should be entirely working now - MELONS! Work as expected. A seed grows to a plant, plant flowers and an adjacent melon block grows, and is attached with a stem. Once the melon block is harvested (which drops 3-5 melon slices), the stem is lost and the plant will grow a new melon from it's mature stage.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.lua b/init.lua
new file mode 100644
index 0000000..d936b63
--- /dev/null
+++ b/init.lua
@@ -0,0 +1,2 @@
+
+dofile(minetest.get_modpath(minetest.get_current_modname()) .. "/melon.lua")