summaryrefslogtreecommitdiff
path: root/crops/pineapple.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-09-29 16:53:18 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-09-29 16:53:18 +0100
commitd7bc9b16fc68af6fbd643c6afdf619a0478a8579 (patch)
treea93d0f772286595492f28592dc5b1ab1a024c78d /crops/pineapple.lua
parent0d5fb9800aec6399f7939d0b6f58fa5186d086b5 (diff)
added crop information to farming.registered_plants table20181016
Diffstat (limited to 'crops/pineapple.lua')
-rw-r--r--crops/pineapple.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/crops/pineapple.lua b/crops/pineapple.lua
index 3525136..8a60310 100644
--- a/crops/pineapple.lua
+++ b/crops/pineapple.lua
@@ -127,3 +127,12 @@ crop_def.drop = {
}
}
minetest.register_node("farming:pineapple_8", table.copy(crop_def))
+
+-- add to registered_plants
+farming.registered_plants["farming:pineapple"] = {
+ crop = "farming:pineapple",
+ seed = "farming:pineapple_top",
+ minlight = 13,
+ maxlight = 15,
+ steps = 8
+}