summaryrefslogtreecommitdiff
path: root/cotton.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-06-04 15:00:53 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-06-04 15:00:53 +0100
commit38b411187860ca47a59f1cbe64c02173f2c1bc84 (patch)
treedf560fea82eaddf9db9d2504b09befb8e5ed4cd9 /cotton.lua
parentcbf7bee93af73f0c5fc3098a81149fb3b884b91b (diff)
Tweaked code slightly
Diffstat (limited to 'cotton.lua')
-rw-r--r--cotton.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/cotton.lua b/cotton.lua
index b3e131b..eef6425 100644
--- a/cotton.lua
+++ b/cotton.lua
@@ -114,3 +114,10 @@ crop_def.drop = {
}
}
minetest.register_node("farming:cotton_8", table.copy(crop_def))
+
+--[[ Cotton (example, is already registered in cotton.lua)
+farming.register_plant("farming:cotton", {
+ description = "Cotton seed",
+ inventory_image = "farming_cotton_seed.png",
+ steps = 8,
+})]]