new yellow tree textures, tweak code
BIN
alt_textures/ethereal_yellow_wood_alt.png
Normal file
After Width: | Height: | Size: 791 B |
2
init.lua
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
-- global
|
-- global
|
||||||
|
|
||||||
ethereal = {version = "20240829"}
|
ethereal = {version = "20240910"}
|
||||||
|
|
||||||
-- setting helper
|
-- setting helper
|
||||||
|
|
||||||
|
16
leaves.lua
@ -638,20 +638,20 @@ if minetest.settings:get_bool("ethereal.leaf_particles") ~= false then
|
|||||||
|
|
||||||
action = function(pos, node)
|
action = function(pos, node)
|
||||||
|
|
||||||
local tex = "ethereal_falling_leaf.png"
|
local text, glow
|
||||||
local glow = nil
|
|
||||||
local can_fall = false
|
|
||||||
|
|
||||||
for n = 1, #leaf_list do
|
for n = 1, #leaf_list do
|
||||||
|
|
||||||
if node.name == leaf_list[n][1] then
|
if node.name == leaf_list[n][1] then
|
||||||
tex = tex .. "^[multiply:#" .. leaf_list[n][2] .. "70"
|
|
||||||
glow = leaf_list[n][3]
|
text = "ethereal_falling_leaf.png^[multiply:#"
|
||||||
can_fall = true ; break
|
.. leaf_list[n][2] .. "70"
|
||||||
|
|
||||||
|
glow = leaf_list[n][3] ; break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if can_fall then
|
if text then
|
||||||
|
|
||||||
minetest.add_particlespawner({
|
minetest.add_particlespawner({
|
||||||
amount = 2,
|
amount = 2,
|
||||||
@ -667,7 +667,7 @@ if minetest.settings:get_bool("ethereal.leaf_particles") ~= false then
|
|||||||
minsize = 0.5,
|
minsize = 0.5,
|
||||||
maxsize = 1.5,
|
maxsize = 1.5,
|
||||||
collisiondetection = false,
|
collisiondetection = false,
|
||||||
texture = tex,
|
texture = text,
|
||||||
vertical = true,
|
vertical = true,
|
||||||
glow = glow
|
glow = glow
|
||||||
})
|
})
|
||||||
|
@ -31,7 +31,9 @@ Textures by NameNotQuality (CC0):
|
|||||||
ethereal_frost_wood.png
|
ethereal_frost_wood.png
|
||||||
ethereal_frost_tree.png
|
ethereal_frost_tree.png
|
||||||
ethereal_frost_tree_top.png
|
ethereal_frost_tree_top.png
|
||||||
|
ethereal_yellow_tree.png
|
||||||
|
ethereal_yellow_tree_top.png
|
||||||
|
ethereal_yellow_wood.png
|
||||||
|
|
||||||
Textures by Jeterel from OpenGameArt.org (CC0):
|
Textures by Jeterel from OpenGameArt.org (CC0):
|
||||||
ethereal_banana_bread.png
|
ethereal_banana_bread.png
|
||||||
@ -147,13 +149,11 @@ Based on texture by ElementW (CC BY-SA 3.0):
|
|||||||
bucket_cactus.png
|
bucket_cactus.png
|
||||||
|
|
||||||
Based on tree textures by ElementW (CC BY-SA 3.0):
|
Based on tree textures by ElementW (CC BY-SA 3.0):
|
||||||
ethereal_yellow_tree.png
|
|
||||||
ethereal_yellow_tree_top.pngethereal_fish_plaice.png
|
|
||||||
ethereal_scorched_tree.png
|
ethereal_scorched_tree.png
|
||||||
ethereal_scorched_tree_top.png
|
ethereal_scorched_tree_top.png
|
||||||
|
|
||||||
Based on wood texture by BlockMen (CC BY-SA 3.0):
|
Based on wood texture by BlockMen (CC BY-SA 3.0):
|
||||||
ethereal_yellow_wood.png [edited by alerikaisattera]
|
ethereal_yellow_wood_alt.png [edited by alerikaisattera]
|
||||||
ethereal_frost_wood_alt.png [edited by alerikaisattera]
|
ethereal_frost_wood_alt.png [edited by alerikaisattera]
|
||||||
|
|
||||||
Based on bottle texture by Thomas-S (CC BY-SA 3.0):
|
Based on bottle texture by Thomas-S (CC BY-SA 3.0):
|
||||||
|
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 351 B |
Before Width: | Height: | Size: 674 B After Width: | Height: | Size: 419 B |
Before Width: | Height: | Size: 800 B After Width: | Height: | Size: 421 B |
Before Width: | Height: | Size: 791 B After Width: | Height: | Size: 357 B |