summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-01-12 10:44:35 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2017-01-12 10:44:35 +0000
commit4add54dbd24c820ad2da6b658044186b2818da3e (patch)
treea0fa5d8ef7280f002f586776da4c80420e4aac31
parenteab8b175d3917bae7ccd26992ca34cd73ccafbeb (diff)
new dirt top textures (thanks RQWorldblender) and falling node check for 0.4.14/15
-rw-r--r--bonemeal.lua6
-rw-r--r--crystal.lua3
-rw-r--r--init.lua5
-rw-r--r--textures/ethereal_grass_bamboo_top.pngbin754 -> 390 bytes
-rw-r--r--textures/ethereal_grass_cold_top.pngbin716 -> 390 bytes
-rw-r--r--textures/ethereal_grass_crystal_top.pngbin735 -> 390 bytes
-rw-r--r--textures/ethereal_grass_fiery_top.pngbin677 -> 316 bytes
-rw-r--r--textures/ethereal_grass_gray_top.pngbin384 -> 390 bytes
-rw-r--r--textures/ethereal_grass_grove_top.pngbin749 -> 390 bytes
-rw-r--r--textures/ethereal_grass_jungle_top.pngbin601 -> 390 bytes
-rw-r--r--textures/ethereal_grass_mushroom_top.pngbin702 -> 316 bytes
-rw-r--r--textures/ethereal_grass_prairie_top.pngbin829 -> 461 bytes
-rw-r--r--water.lua5
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
diff --git a/init.lua b/init.lua
index f9ffdd4..e524b87 100644
--- a/init.lua
+++ b/init.lua
@@ -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
index 47109b9..2360d39 100644
--- a/textures/ethereal_grass_bamboo_top.png
+++ b/textures/ethereal_grass_bamboo_top.png
Binary files differ
diff --git a/textures/ethereal_grass_cold_top.png b/textures/ethereal_grass_cold_top.png
index 86f92ce..fae28eb 100644
--- a/textures/ethereal_grass_cold_top.png
+++ b/textures/ethereal_grass_cold_top.png
Binary files differ
diff --git a/textures/ethereal_grass_crystal_top.png b/textures/ethereal_grass_crystal_top.png
index a5d8173..78a7372 100644
--- a/textures/ethereal_grass_crystal_top.png
+++ b/textures/ethereal_grass_crystal_top.png
Binary files differ
diff --git a/textures/ethereal_grass_fiery_top.png b/textures/ethereal_grass_fiery_top.png
index dba09a9..6718300 100644
--- a/textures/ethereal_grass_fiery_top.png
+++ b/textures/ethereal_grass_fiery_top.png
Binary files differ
diff --git a/textures/ethereal_grass_gray_top.png b/textures/ethereal_grass_gray_top.png
index 547b3a4..10f5ecf 100644
--- a/textures/ethereal_grass_gray_top.png
+++ b/textures/ethereal_grass_gray_top.png
Binary files differ
diff --git a/textures/ethereal_grass_grove_top.png b/textures/ethereal_grass_grove_top.png
index b15b5be..2e2351a 100644
--- a/textures/ethereal_grass_grove_top.png
+++ b/textures/ethereal_grass_grove_top.png
Binary files differ
diff --git a/textures/ethereal_grass_jungle_top.png b/textures/ethereal_grass_jungle_top.png
index 9b3e0a1..1faeeee 100644
--- a/textures/ethereal_grass_jungle_top.png
+++ b/textures/ethereal_grass_jungle_top.png
Binary files differ
diff --git a/textures/ethereal_grass_mushroom_top.png b/textures/ethereal_grass_mushroom_top.png
index 90772a7..2365901 100644
--- a/textures/ethereal_grass_mushroom_top.png
+++ b/textures/ethereal_grass_mushroom_top.png
Binary files differ
diff --git a/textures/ethereal_grass_prairie_top.png b/textures/ethereal_grass_prairie_top.png
index b1c227a..2ceecaa 100644
--- a/textures/ethereal_grass_prairie_top.png
+++ b/textures/ethereal_grass_prairie_top.png
Binary files differ
diff --git a/water.lua b/water.lua
index 476045c..3034489 100644
--- a/water.lua
+++ b/water.lua
@@ -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,
})