forked from mtcontrib/homedecor_modpack
rename and move generic light source textures
This commit is contained in:
parent
4174737a1a
commit
2f3c12eb2a
@ -96,7 +96,7 @@ homedecor.register("wall_lamp", {
|
||||
tiles = {
|
||||
{ name = "homedecor_generic_metal.png", color = homedecor.color_med_grey },
|
||||
homedecor.lux_wood,
|
||||
"homedecor_light.png",
|
||||
"homedecor_generic_light_source_yellow.png",
|
||||
"homedecor_generic_metal_wrought_iron.png"
|
||||
},
|
||||
use_texture_alpha = true,
|
||||
|
@ -264,11 +264,11 @@ for light_brightn_name in pairs(brightn_light_source) do
|
||||
local onflag = (light_brightn_name ~= "off")
|
||||
local nici = (light_brightn_name ~= "on") and 1 or nil
|
||||
|
||||
local gen_ls_tex_white = "homedecor_table_generic_light_source_off.png"
|
||||
if onflag then gen_ls_tex_white = "homedecor_table_generic_light_source_on.png" end
|
||||
local gen_ls_tex_white = "homedecor_generic_light_source_off.png"
|
||||
if onflag then gen_ls_tex_white = "homedecor_generic_light_source_white.png" end
|
||||
|
||||
local gen_ls_tex_yellow = "homedecor_table_generic_light_source_off.png"
|
||||
if onflag then gen_ls_tex_yellow = "homedecor_light.png" end
|
||||
local gen_ls_tex_yellow = "homedecor_generic_light_source_off.png"
|
||||
if onflag then gen_ls_tex_yellow = "homedecor_generic_light_source_yellow.png" end
|
||||
|
||||
local glowlight_nodebox = {
|
||||
half = homedecor.nodebox.slab_y(1/2),
|
||||
|
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 450 B |
Before Width: | Height: | Size: 594 B After Width: | Height: | Size: 594 B |
Before Width: | Height: | Size: 524 B After Width: | Height: | Size: 524 B |
Loading…
Reference in New Issue
Block a user