new yellow tree textures, tweak code

This commit is contained in:
tenplus1 2024-09-10 07:23:22 +01:00
parent 04d1de67b7
commit ae0d31202e
8 changed files with 13 additions and 13 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

View File

@ -8,7 +8,7 @@
-- global
ethereal = {version = "20240829"}
ethereal = {version = "20240910"}
-- setting helper

View File

@ -638,20 +638,20 @@ if minetest.settings:get_bool("ethereal.leaf_particles") ~= false then
action = function(pos, node)
local tex = "ethereal_falling_leaf.png"
local glow = nil
local can_fall = false
local text, glow
for n = 1, #leaf_list do
if node.name == leaf_list[n][1] then
tex = tex .. "^[multiply:#" .. leaf_list[n][2] .. "70"
glow = leaf_list[n][3]
can_fall = true ; break
text = "ethereal_falling_leaf.png^[multiply:#"
.. leaf_list[n][2] .. "70"
glow = leaf_list[n][3] ; break
end
end
if can_fall then
if text then
minetest.add_particlespawner({
amount = 2,
@ -667,7 +667,7 @@ if minetest.settings:get_bool("ethereal.leaf_particles") ~= false then
minsize = 0.5,
maxsize = 1.5,
collisiondetection = false,
texture = tex,
texture = text,
vertical = true,
glow = glow
})

View File

@ -31,7 +31,9 @@ Textures by NameNotQuality (CC0):
ethereal_frost_wood.png
ethereal_frost_tree.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):
ethereal_banana_bread.png
@ -147,13 +149,11 @@ Based on texture by ElementW (CC BY-SA 3.0):
bucket_cactus.png
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_top.png
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]
Based on bottle texture by Thomas-S (CC BY-SA 3.0):

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 B

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 674 B

After

Width:  |  Height:  |  Size: 419 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 800 B

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 791 B

After

Width:  |  Height:  |  Size: 357 B