From a50c8d33ebe0a31f19c955f82b6943948d43a7f5 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 22 Mar 2018 15:57:36 +0000 Subject: add new stage to cocoa, tweak code --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'init.lua') 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, -- cgit v1.2.3