summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-22 15:57:36 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-22 15:57:36 +0000
commita50c8d33ebe0a31f19c955f82b6943948d43a7f5 (patch)
treec503426f8d25106ca7c17db1c44be407ad2bff32 /init.lua
parent7a972937da8a116e1d285531749c4c3f47341f96 (diff)
add new stage to cocoa, tweak code
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 8a9165c..4faa222 100644
--- a/init.lua
+++ b/init.lua
@@ -211,7 +211,7 @@ local function reg_plant_stages(plant_name, stage, force_last)
end
-register_plant_node = function(node)
+local register_plant_node = function(node)
local plant_name, stage = plant_name_stage(node)
@@ -554,8 +554,8 @@ farming.register_plant = function(name, def)
waving = 1,
tiles = {mname .. "_" .. pname .. "_" .. i .. ".png"},
paramtype = "light",
- paramtype2 = def.paramtype2 or nil,
- place_param2 = def.place_param2 or nil,
+ paramtype2 = def.paramtype2,
+ place_param2 = def.place_param2,
walkable = false,
buildable_to = true,
drop = drop,