mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-22 16:10:18 +01:00
limited door alpha usage to just the exterior fancy door
since it's the only one that actually needs it.
This commit is contained in:
parent
77d192aa5f
commit
f383207166
@ -23,6 +23,10 @@ for i in ipairs(sides) do
|
||||
local doordesc = homedecor_door_models[j][2]
|
||||
local nodeboxes_top = nil
|
||||
local nodeboxes_bottom = nil
|
||||
local texalpha = false
|
||||
if doorname == "exterior_fancy" then
|
||||
texalpha = true
|
||||
end
|
||||
|
||||
if side == "left" then
|
||||
nodeboxes_top = homedecor_door_models[j][3]
|
||||
@ -77,7 +81,7 @@ for i in ipairs(sides) do
|
||||
groups = {snappy=3, not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
walkable = true,
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = texalpha,
|
||||
selection_box = selectboxes_top,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
@ -104,7 +108,7 @@ for i in ipairs(sides) do
|
||||
groups = {snappy=3},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
walkable = true,
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = texalpha,
|
||||
selection_box = selectboxes_bottom,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
|
Loading…
Reference in New Issue
Block a user