summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2015-04-10 11:08:27 -0700
committerAuke Kok <auke-jan.h.kok@intel.com>2015-04-10 11:08:27 -0700
commit25f37fbd0d92ca4960d97cf7fcaab155cfa5f789 (patch)
tree90ac4c2cff6a028766ace5b1a3f329a63d793981 /init.lua
parent9d54e7af933edd68088f123ca573c34f440d79e1 (diff)
Corn.
Corn plants are 2 blocks high, and yield corn cobs. These can be cooked to corn-on-the-cob, or processed to make corn seed (corn kernels, basically). Digging a mature plant yields the corn cob. A harvested corn plant "wilts", and needs to be dug away to make the land usable, or can be left as ornamental 2-block plant. Digging either top or bottom block works in all cases, although I need to verify that I've covered every block combo.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 8f3ed2c..faf4ad3 100644
--- a/init.lua
+++ b/init.lua
@@ -11,5 +11,6 @@ of the license, or (at your option) any later version.
--]]
dofile(minetest.get_modpath(minetest.get_current_modname()) .. "/melon.lua")
+dofile(minetest.get_modpath(minetest.get_current_modname()) .. "/corn.lua")
minetest.log("action", "[crops] loaded.")