new dirt top textures (thanks RQWorldblender) and falling node check for 0.4.14/15

master
TenPlus1 2017-01-12 10:44:35 +00:00
parent eab8b175d3
commit 4add54dbd2
13 changed files with 10 additions and 9 deletions

View File

@ -105,15 +105,15 @@ local function more_tree(pos, object)
-- grow L-system tree
minetest.remove_node(pos)
minetest.spawn_tree(pos, object)
print ("--- table")
elseif type(object) == "string" and minetest.registered_nodes[object] then
-- place node
minetest.set_node(pos, {name = object})
print ("--- string")
elseif type(object) == "function" then
-- function
object(pos)
print ("--- function")
end
end

View File

@ -193,8 +193,7 @@ minetest.register_tool("ethereal:shovel_crystal", {
minetest.remove_node(pointed_thing.under)
nodeupdate(pos)
--minetest.check_for_falling(pos)
ethereal.check_falling(pos)
if minetest.setting_getbool("creative_mode") then

View File

@ -1,6 +1,6 @@
--[[
Minetest Ethereal Mod (7th January 2017)
Minetest Ethereal Mod (12th January 2017)
Created by ChinChow
@ -52,6 +52,9 @@ else
end
ethereal.intllib = S
-- Falling node function
ethereal.check_falling = minetest.check_for_falling or nodeupdate
local path = minetest.get_modpath("ethereal")
dofile(path .. "/plantlife.lua")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 B

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 716 B

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 735 B

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 677 B

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 749 B

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 601 B

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 702 B

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 829 B

After

Width:  |  Height:  |  Size: 461 B

View File

@ -74,7 +74,7 @@ minetest.register_abm({
},
neighbors = {
"fire:basic_fire", "default:lava_source", "default:lava_flowing",
"default:furnace_active", "default:torch"
"default:furnace_active", "group:torch", "default:torch"
},
interval = 5,
chance = 4,
@ -100,8 +100,7 @@ minetest.register_abm({
minetest.swap_node(pos, {name = "default:dirt_with_grass"})
end
nodeupdate(pos)
--minetest.check_for_falling(pos)
ethereal.check_falling(pos)
end,
})