mirror of
https://github.com/mt-mods/basic_signs.git
synced 2025-01-10 18:20:18 +01:00
Fix use_texture_alpha = "opaque" to use_texture_alpha = "clip"
Needed for hanging signs.
This commit is contained in:
parent
472f977779
commit
e588072095
6
init.lua
6
init.lua
@ -23,7 +23,7 @@ signs_lib.register_sign("basic_signs:sign_wall_locked", {
|
|||||||
allow_onpole = true,
|
allow_onpole = true,
|
||||||
allow_onpole_horizontal = true,
|
allow_onpole_horizontal = true,
|
||||||
allow_yard = true,
|
allow_yard = true,
|
||||||
use_texture_alpha = "opaque",
|
use_texture_alpha = "clip",
|
||||||
})
|
})
|
||||||
|
|
||||||
signs_lib.register_sign("basic_signs:sign_wall_glass", {
|
signs_lib.register_sign("basic_signs:sign_wall_glass", {
|
||||||
@ -94,7 +94,7 @@ signs_lib.register_sign("basic_signs:sign_wall_plastic", {
|
|||||||
allow_onpole = true,
|
allow_onpole = true,
|
||||||
allow_onpole_horizontal = true,
|
allow_onpole_horizontal = true,
|
||||||
allow_yard = true,
|
allow_yard = true,
|
||||||
use_texture_alpha = "opaque",
|
use_texture_alpha = "clip",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- array : color, translated color, default text color
|
-- array : color, translated color, default text color
|
||||||
@ -138,7 +138,7 @@ for i, color in ipairs(sign_colors) do
|
|||||||
allow_onpole = true,
|
allow_onpole = true,
|
||||||
allow_onpole_horizontal = true,
|
allow_onpole_horizontal = true,
|
||||||
allow_yard = true,
|
allow_yard = true,
|
||||||
use_texture_alpha = "opaque",
|
use_texture_alpha = "clip",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_alias("basic_signs:sign_wall_steel_"..color[1].."_onpole", "basic_signs:sign_steel_"..color[1].."_onpole")
|
minetest.register_alias("basic_signs:sign_wall_steel_"..color[1].."_onpole", "basic_signs:sign_steel_"..color[1].."_onpole")
|
||||||
|
Loading…
Reference in New Issue
Block a user