Add missing use_texture_alpha to textures with transparency
This commit is contained in:
parent
1ae68c1482
commit
4cc36d487c
|
@ -1571,6 +1571,7 @@ Everness:register_node('everness:hollow_tree', {
|
||||||
'everness_hollow_tree_top.png',
|
'everness_hollow_tree_top.png',
|
||||||
'everness_hollow_tree_side.png'
|
'everness_hollow_tree_side.png'
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = 'clip',
|
||||||
paramtype2 = 'facedir',
|
paramtype2 = 'facedir',
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = { tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2 },
|
groups = { tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2 },
|
||||||
|
@ -3009,6 +3010,7 @@ Everness:register_node('everness:cactus_blue', {
|
||||||
'everness_cactus_blue_top.png',
|
'everness_cactus_blue_top.png',
|
||||||
'everness_cactus_blue_side.png'
|
'everness_cactus_blue_side.png'
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = 'clip',
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
paramtype2 = 'facedir',
|
paramtype2 = 'facedir',
|
||||||
light_source = 7,
|
light_source = 7,
|
||||||
|
@ -3172,6 +3174,7 @@ Everness:register_node('everness:cactus_orange', {
|
||||||
'everness_cactus_top.png',
|
'everness_cactus_top.png',
|
||||||
'everness_cactus_side.png'
|
'everness_cactus_side.png'
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = 'clip',
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
paramtype2 = 'facedir',
|
paramtype2 = 'facedir',
|
||||||
light_source = 4,
|
light_source = 4,
|
||||||
|
@ -3272,6 +3275,7 @@ Everness:register_node('everness:egg_plant', {
|
||||||
'everness_egg_plant_bottom.png',
|
'everness_egg_plant_bottom.png',
|
||||||
'everness_egg_plant_side.png',
|
'everness_egg_plant_side.png',
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = 'clip',
|
||||||
-- Use texture of a taller grass stage in inventory
|
-- Use texture of a taller grass stage in inventory
|
||||||
inventory_image = 'everness_egg_plant_item.png',
|
inventory_image = 'everness_egg_plant_item.png',
|
||||||
wield_image = 'everness_egg_plant_item.png',
|
wield_image = 'everness_egg_plant_item.png',
|
||||||
|
@ -3374,6 +3378,7 @@ Everness:register_node('everness:bamboo_1', {
|
||||||
'everness_bamboo_small_1.png',
|
'everness_bamboo_small_1.png',
|
||||||
'everness_bamboo_small_1.png^[transformFX'
|
'everness_bamboo_small_1.png^[transformFX'
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = 'clip',
|
||||||
drawtype = 'nodebox',
|
drawtype = 'nodebox',
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
@ -3441,6 +3446,7 @@ Everness:register_node('everness:bamboo_2', {
|
||||||
'everness_bamboo_small_2.png',
|
'everness_bamboo_small_2.png',
|
||||||
'everness_bamboo_small_2.png^[transformFX'
|
'everness_bamboo_small_2.png^[transformFX'
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = 'clip',
|
||||||
drawtype = 'nodebox',
|
drawtype = 'nodebox',
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
@ -3510,6 +3516,7 @@ Everness:register_node('everness:bamboo_3', {
|
||||||
'everness_bamboo_large_1.png',
|
'everness_bamboo_large_1.png',
|
||||||
'everness_bamboo_large_1.png^[transformFX'
|
'everness_bamboo_large_1.png^[transformFX'
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = 'clip',
|
||||||
drawtype = 'nodebox',
|
drawtype = 'nodebox',
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
@ -3573,6 +3580,7 @@ Everness:register_node('everness:bamboo_4', {
|
||||||
'everness_bamboo_large_2.png',
|
'everness_bamboo_large_2.png',
|
||||||
'everness_bamboo_large_2.png^[transformFX'
|
'everness_bamboo_large_2.png^[transformFX'
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = 'clip',
|
||||||
drawtype = 'nodebox',
|
drawtype = 'nodebox',
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
@ -3636,6 +3644,7 @@ Everness:register_node('everness:bamboo_5', {
|
||||||
'everness_bamboo_large_3.png',
|
'everness_bamboo_large_3.png',
|
||||||
'everness_bamboo_large_3.png^[transformFX'
|
'everness_bamboo_large_3.png^[transformFX'
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = 'clip',
|
||||||
drawtype = 'nodebox',
|
drawtype = 'nodebox',
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
|
|
@ -21,6 +21,7 @@ local S = minetest.get_translator(minetest.get_current_modname())
|
||||||
xpanes.register_pane('pyrite_pane', {
|
xpanes.register_pane('pyrite_pane', {
|
||||||
description = S('Pyrite Glass Pane'),
|
description = S('Pyrite Glass Pane'),
|
||||||
textures = { 'everness_pyrite_glass.png', '', 'everness_xpanes_edge_pyrite.png' },
|
textures = { 'everness_pyrite_glass.png', '', 'everness_xpanes_edge_pyrite.png' },
|
||||||
|
use_texture_alpha = 'clip',
|
||||||
inventory_image = 'everness_pyrite_glass.png',
|
inventory_image = 'everness_pyrite_glass.png',
|
||||||
wield_image = 'everness_pyrite_glass.png',
|
wield_image = 'everness_pyrite_glass.png',
|
||||||
sounds = Everness.node_sound_glass_defaults(),
|
sounds = Everness.node_sound_glass_defaults(),
|
||||||
|
|
Ŝarĝante…
Reference in New Issue