diff options
-rw-r--r-- | bonemeal.lua | 6 | ||||
-rw-r--r-- | crystal.lua | 3 | ||||
-rw-r--r-- | init.lua | 5 | ||||
-rw-r--r-- | textures/ethereal_grass_bamboo_top.png | bin | 754 -> 390 bytes | |||
-rw-r--r-- | textures/ethereal_grass_cold_top.png | bin | 716 -> 390 bytes | |||
-rw-r--r-- | textures/ethereal_grass_crystal_top.png | bin | 735 -> 390 bytes | |||
-rw-r--r-- | textures/ethereal_grass_fiery_top.png | bin | 677 -> 316 bytes | |||
-rw-r--r-- | textures/ethereal_grass_gray_top.png | bin | 384 -> 390 bytes | |||
-rw-r--r-- | textures/ethereal_grass_grove_top.png | bin | 749 -> 390 bytes | |||
-rw-r--r-- | textures/ethereal_grass_jungle_top.png | bin | 601 -> 390 bytes | |||
-rw-r--r-- | textures/ethereal_grass_mushroom_top.png | bin | 702 -> 316 bytes | |||
-rw-r--r-- | textures/ethereal_grass_prairie_top.png | bin | 829 -> 461 bytes | |||
-rw-r--r-- | water.lua | 5 |
13 files changed, 10 insertions, 9 deletions
diff --git a/bonemeal.lua b/bonemeal.lua index 0596893..fae717b 100644 --- a/bonemeal.lua +++ b/bonemeal.lua @@ -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
diff --git a/crystal.lua b/crystal.lua index e3782f6..8ee06ed 100644 --- a/crystal.lua +++ b/crystal.lua @@ -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 @@ -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")
diff --git a/textures/ethereal_grass_bamboo_top.png b/textures/ethereal_grass_bamboo_top.png Binary files differindex 47109b9..2360d39 100644 --- a/textures/ethereal_grass_bamboo_top.png +++ b/textures/ethereal_grass_bamboo_top.png diff --git a/textures/ethereal_grass_cold_top.png b/textures/ethereal_grass_cold_top.png Binary files differindex 86f92ce..fae28eb 100644 --- a/textures/ethereal_grass_cold_top.png +++ b/textures/ethereal_grass_cold_top.png diff --git a/textures/ethereal_grass_crystal_top.png b/textures/ethereal_grass_crystal_top.png Binary files differindex a5d8173..78a7372 100644 --- a/textures/ethereal_grass_crystal_top.png +++ b/textures/ethereal_grass_crystal_top.png diff --git a/textures/ethereal_grass_fiery_top.png b/textures/ethereal_grass_fiery_top.png Binary files differindex dba09a9..6718300 100644 --- a/textures/ethereal_grass_fiery_top.png +++ b/textures/ethereal_grass_fiery_top.png diff --git a/textures/ethereal_grass_gray_top.png b/textures/ethereal_grass_gray_top.png Binary files differindex 547b3a4..10f5ecf 100644 --- a/textures/ethereal_grass_gray_top.png +++ b/textures/ethereal_grass_gray_top.png diff --git a/textures/ethereal_grass_grove_top.png b/textures/ethereal_grass_grove_top.png Binary files differindex b15b5be..2e2351a 100644 --- a/textures/ethereal_grass_grove_top.png +++ b/textures/ethereal_grass_grove_top.png diff --git a/textures/ethereal_grass_jungle_top.png b/textures/ethereal_grass_jungle_top.png Binary files differindex 9b3e0a1..1faeeee 100644 --- a/textures/ethereal_grass_jungle_top.png +++ b/textures/ethereal_grass_jungle_top.png diff --git a/textures/ethereal_grass_mushroom_top.png b/textures/ethereal_grass_mushroom_top.png Binary files differindex 90772a7..2365901 100644 --- a/textures/ethereal_grass_mushroom_top.png +++ b/textures/ethereal_grass_mushroom_top.png diff --git a/textures/ethereal_grass_prairie_top.png b/textures/ethereal_grass_prairie_top.png Binary files differindex b1c227a..2ceecaa 100644 --- a/textures/ethereal_grass_prairie_top.png +++ b/textures/ethereal_grass_prairie_top.png @@ -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, }) |