Make water plans unwalkable.
To avoid "sand traps".
This commit is contained in:
parent
1caf0fba61
commit
e6a1a158ed
2 changed files with 2 additions and 3 deletions
|
@ -121,7 +121,7 @@ for _, plant in ipairs(fun_caves.plantlist) do
|
||||||
--light_source = 14,
|
--light_source = 14,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = plant.light_source,
|
light_source = plant.light_source,
|
||||||
walkable = false,
|
walkable = true,
|
||||||
groups = groups,
|
groups = groups,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
|
|
@ -144,7 +144,6 @@ if count > 15 then
|
||||||
'fun_caves:syrup',
|
'fun_caves:syrup',
|
||||||
'group:elixir_ingredient',
|
'group:elixir_ingredient',
|
||||||
'group:elixir_ingredient',
|
'group:elixir_ingredient',
|
||||||
'group:elixir_ingredient',
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -158,7 +157,7 @@ if count > 15 then
|
||||||
local name = old_craft_grid[i]:get_name()
|
local name = old_craft_grid[i]:get_name()
|
||||||
if name ~= '' and name ~= 'fun_caves:syrup' and not name:find('green_slimeball$') then
|
if name ~= '' and name ~= 'fun_caves:syrup' and not name:find('green_slimeball$') then
|
||||||
ingredients[#ingredients+1] = name
|
ingredients[#ingredients+1] = name
|
||||||
print(name)
|
--print(name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue