summaryrefslogtreecommitdiff
path: root/crops/cotton.lua
diff options
context:
space:
mode:
authorroot <root@linux-forks.de>2018-11-14 12:45:17 +0100
committerroot <root@linux-forks.de>2018-11-14 12:45:17 +0100
commiteb2f1069f7bca09c0c25656db42dc3bfe3bf264a (patch)
tree5d8d0f21d38f7e4fcec6b3687cbd75962191761c /crops/cotton.lua
parenta4014f9d78e3603e01ee4b2cccac982eaf65c85c (diff)
parentefdc816584d08d639b166c7799ea41f10465fccd (diff)
xMerge branch 'master' of https://notabug.org/TenPlus1/farmingHEADmaster
Diffstat (limited to 'crops/cotton.lua')
-rw-r--r--crops/cotton.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/crops/cotton.lua b/crops/cotton.lua
index 7f893ec..24dc7bb 100644
--- a/crops/cotton.lua
+++ b/crops/cotton.lua
@@ -142,6 +142,15 @@ crop_def.drop = {
}
minetest.register_node("farming:cotton_8", table.copy(crop_def))
+-- add to registered_plants
+farming.registered_plants["farming:cotton"] = {
+ crop = "farming:cotton",
+ seed = "farming:seed_cotton",
+ minlight = 13,
+ maxlight = 15,
+ steps = 8
+}
+
--[[ Cotton (example, is already registered in cotton.lua)
farming.register_plant("farming:cotton", {
description = "Cotton seed",