bug fixes

This commit is contained in:
tenplus1 2014-11-25 13:03:30 +00:00
parent f3572e569f
commit 3ab99e353f
4 changed files with 4 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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