bug fixes
This commit is contained in:
parent
f3572e569f
commit
3ab99e353f
@ -517,8 +517,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||
local z = pr:next(z0, z1)
|
||||
if minetest.get_node({x=x,y=1,z=z}).name == "default:sand" and
|
||||
minetest.find_node_near({x=x,y=1,z=z}, 1, "default:water_source") then
|
||||
schematic = path.."palmtree.mts"
|
||||
minetest.place_schematic({x=x-4,y=2,z=z-4}, schematic, 0, "", 0)
|
||||
minetest.place_schematic({x=x-4,y=2,z=z-4}, path.."palmtree.mts", 0, "", 0)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -574,8 +574,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||
local z = pr:next(z0, z1)
|
||||
if minetest.get_node({x=x,y=1,z=z}).name == "default:sand" and
|
||||
minetest.find_node_near({x=x,y=1,z=z}, 1, "default:water_source") then
|
||||
schematic = path.."palmtree.mts"
|
||||
minetest.place_schematic({x=x-4,y=2,z=z-4}, schematic, 0, '', 0)
|
||||
minetest.place_schematic({x=x-4,y=2,z=z-4}, path.."palmtree.mts", 0, '', 0)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -178,7 +178,7 @@ minetest.register_node("ethereal:orange", {
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.3, -0.2, 0.2, 0.2, 0.2}
|
||||
},
|
||||
groups = {fleshy=3,dig_immediate=3,flammable=2,leafdecay=1,leafdecay_drop=1},
|
||||
groups = {fleshy=3,dig_immediate=3,flammable=2,leafdecay=3,leafdecay_drop=1},
|
||||
on_use = minetest.item_eat(4),
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
after_place_node = function(pos, placer, itemstack)
|
||||
|
@ -129,7 +129,7 @@ minetest.register_abm({
|
||||
|
||||
action = function(pos, node)
|
||||
|
||||
sel = math.random(1,5)
|
||||
local sel = math.random(1,5)
|
||||
if sel == 1 or minetest.get_node(pos).name == "ethereal:seaweed" then
|
||||
|
||||
local height = 0
|
||||
|
Loading…
Reference in New Issue
Block a user