1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-29 23:01:00 +02:00

add new stage to cocoa, tweak code

This commit is contained in:
TenPlus1
2018-03-22 15:57:36 +00:00
parent 7a972937da
commit a50c8d33eb
6 changed files with 14 additions and 9 deletions

View File

@ -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,