summaryrefslogtreecommitdiff
path: root/init.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 /init.lua
parent0d5fb9800aec6399f7939d0b6f58fa5186d086b5 (diff)
added crop information to farming.registered_plants table20181016
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index ba5747a..04fe300 100644
--- a/init.lua
+++ b/init.lua
@@ -585,7 +585,7 @@ farming.register_plant = function(name, def)
-- add to farming.registered_plants
farming.registered_plants[mname .. ":" .. pname] = {
- name = mname .. ":" .. pname,
+ crop = mname .. ":" .. pname,
seed = mname .. ":seed_" .. pname,
steps = def.steps,
minlight = def.minlight,