Add files via upload
parent
ef91a73302
commit
e6e903caba
4
init.lua
4
init.lua
|
@ -6,7 +6,7 @@
|
|||
-- Parameters
|
||||
|
||||
local YMAX = 170 -- Maximum altitude for pools
|
||||
local FLOW = 32
|
||||
local FLOW = 512
|
||||
|
||||
-- Stuff
|
||||
|
||||
|
@ -16,7 +16,6 @@ highlandpools = {}
|
|||
|
||||
function highlandpools_remtree(x, y, z, area, data)
|
||||
local c_tree = minetest.get_content_id("default:tree")
|
||||
local c_ethbirch = minetest.get_content_id("ethereal:birchtree")
|
||||
local c_apple = minetest.get_content_id("default:apple")
|
||||
local c_leaves = minetest.get_content_id("default:leaves")
|
||||
local c_air = minetest.get_content_id("air")
|
||||
|
@ -26,7 +25,6 @@ function highlandpools_remtree(x, y, z, area, data)
|
|||
local vi = area:index(x+i, y+j, z+k)
|
||||
if data[vi] == c_tree
|
||||
or data[vi] == c_apple
|
||||
or data[vi] == c_ethbirch
|
||||
or data[vi] == c_leaves then
|
||||
data[vi] = c_air
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue