fixed textures in framedglass mod without option connected_glass
@ -39,7 +39,7 @@ minetest.register_craft({
|
|||||||
minetest.register_node("framedglass:wooden_framed_glass", {
|
minetest.register_node("framedglass:wooden_framed_glass", {
|
||||||
description = "Wooden-framed Glass",
|
description = "Wooden-framed Glass",
|
||||||
drawtype = "glasslike_framed_optional",
|
drawtype = "glasslike_framed_optional",
|
||||||
tiles = {"framedglass_wooden_frame.png","framedglass_glass_face_streaks.png"},
|
tiles = {"framedglass_woodenglass_face_streaks_frame.png","framedglass_glass_face_streaks.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||||
@ -49,7 +49,7 @@ minetest.register_node("framedglass:wooden_framed_glass", {
|
|||||||
minetest.register_node("framedglass:steel_framed_glass", {
|
minetest.register_node("framedglass:steel_framed_glass", {
|
||||||
description = "Steel-framed Glass",
|
description = "Steel-framed Glass",
|
||||||
drawtype = "glasslike_framed_optional",
|
drawtype = "glasslike_framed_optional",
|
||||||
tiles = {"framedglass_steel_frame.png","framedglass_glass_face_streaks.png"},
|
tiles = {"framedglass_steelglass_face_streaks_frame.png","framedglass_glass_face_streaks.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||||
@ -59,7 +59,7 @@ minetest.register_node("framedglass:steel_framed_glass", {
|
|||||||
minetest.register_node("framedglass:wooden_framed_obsidian_glass", {
|
minetest.register_node("framedglass:wooden_framed_obsidian_glass", {
|
||||||
description = "Wooden-framed Obsidian Glass",
|
description = "Wooden-framed Obsidian Glass",
|
||||||
drawtype = "glasslike_framed_optional",
|
drawtype = "glasslike_framed_optional",
|
||||||
tiles = {"framedglass_wooden_frame.png","framedglass_glass_face_clean.png"},
|
tiles = {"framedglass_woodenglass_face_clean_frame.png","framedglass_glass_face_clean.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||||
@ -69,17 +69,17 @@ minetest.register_node("framedglass:wooden_framed_obsidian_glass", {
|
|||||||
minetest.register_node("framedglass:steel_framed_obsidian_glass", {
|
minetest.register_node("framedglass:steel_framed_obsidian_glass", {
|
||||||
description = "Steel-framed Obsidian Glass",
|
description = "Steel-framed Obsidian Glass",
|
||||||
drawtype = "glasslike_framed_optional",
|
drawtype = "glasslike_framed_optional",
|
||||||
tiles = {"framedglass_steel_frame.png","framedglass_glass_face_clean.png"},
|
tiles = {"framedglass_steelglass_face_clean_frame.png","framedglass_glass_face_clean.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
function add_coloured_framedglass(name, desc, dye, texture)
|
function add_coloured_framedglass(name, desc, dye)
|
||||||
minetest.register_node( "framedglass:steel_framed_obsidian_glass"..name, {
|
minetest.register_node( "framedglass:steel_framed_obsidian_glass"..name, {
|
||||||
description = "Steel-framed "..desc.." Obsidian Glass",
|
description = "Steel-framed "..desc.." Obsidian Glass",
|
||||||
tiles = {"framedglass_steel_frame.png",texture},
|
tiles = {"framedglass_".. name.. "glass_frame.png", "framedglass_".. name.. "glass.png"},
|
||||||
drawtype = "glasslike_framed_optional",
|
drawtype = "glasslike_framed_optional",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
@ -101,18 +101,18 @@ function add_coloured_framedglass(name, desc, dye, texture)
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
add_coloured_framedglass ("red","Red","group:basecolor_red","framedglass_redglass.png")
|
add_coloured_framedglass ("red","Red","group:basecolor_red")
|
||||||
add_coloured_framedglass ("green","Green","group:basecolor_green","framedglass_greenglass.png")
|
add_coloured_framedglass ("green","Green","group:basecolor_green")
|
||||||
add_coloured_framedglass ("blue","Blue","group:basecolor_blue","framedglass_blueglass.png")
|
add_coloured_framedglass ("blue","Blue","group:basecolor_blue")
|
||||||
add_coloured_framedglass ("cyan","Cyan","group:basecolor_cyan","framedglass_cyanglass.png")
|
add_coloured_framedglass ("cyan","Cyan","group:basecolor_cyan")
|
||||||
add_coloured_framedglass ("darkgreen","Dark Green","group:unicolor_dark_green","framedglass_darkgreenglass.png")
|
add_coloured_framedglass ("darkgreen","Dark Green","group:unicolor_dark_green")
|
||||||
add_coloured_framedglass ("violet","Violet","group:excolor_violet","framedglass_violetglass.png")
|
add_coloured_framedglass ("violet","Violet","group:excolor_violet")
|
||||||
add_coloured_framedglass ("pink","Pink","group:unicolor_light_red","framedglass_pinkglass.png")
|
add_coloured_framedglass ("pink","Pink","group:unicolor_light_red")
|
||||||
add_coloured_framedglass ("yellow","Yellow","group:basecolor_yellow","framedglass_yellowglass.png")
|
add_coloured_framedglass ("yellow","Yellow","group:basecolor_yellow")
|
||||||
add_coloured_framedglass ("orange","Orange","group:basecolor_orange","framedglass_orangeglass.png")
|
add_coloured_framedglass ("orange","Orange","group:basecolor_orange")
|
||||||
add_coloured_framedglass ("brown","Brown","group:unicolor_dark_orange","framedglass_brownglass.png")
|
add_coloured_framedglass ("brown","Brown","group:unicolor_dark_orange")
|
||||||
add_coloured_framedglass ("white","White","group:basecolor_white","framedglass_whiteglass.png")
|
add_coloured_framedglass ("white","White","group:basecolor_white")
|
||||||
add_coloured_framedglass ("grey","Grey","group:basecolor_grey","framedglass_greyglass.png")
|
add_coloured_framedglass ("grey","Grey","group:basecolor_grey")
|
||||||
add_coloured_framedglass ("darkgrey","Dark Grey","group:excolor_darkgrey","framedglass_darkgreyglass.png")
|
add_coloured_framedglass ("darkgrey","Dark Grey","group:excolor_darkgrey")
|
||||||
add_coloured_framedglass ("black","Black","group:basecolor_black","framedglass_blackglass.png")
|
add_coloured_framedglass ("black","Black","group:basecolor_black")
|
||||||
|
|
||||||
|
BIN
mods/framedglass/textures/framedglass_blackglass_frame.png
Executable file
After Width: | Height: | Size: 556 B |
BIN
mods/framedglass/textures/framedglass_blueglass_frame.png
Normal file
After Width: | Height: | Size: 660 B |
BIN
mods/framedglass/textures/framedglass_brownglass_frame.png
Executable file
After Width: | Height: | Size: 632 B |
BIN
mods/framedglass/textures/framedglass_cyanglass_frame.png
Executable file
After Width: | Height: | Size: 637 B |
BIN
mods/framedglass/textures/framedglass_darkgreenglass_frame.png
Executable file
After Width: | Height: | Size: 644 B |
BIN
mods/framedglass/textures/framedglass_darkgreyglass_frame.png
Executable file
After Width: | Height: | Size: 665 B |
Before Width: | Height: | Size: 926 B After Width: | Height: | Size: 133 B |
Before Width: | Height: | Size: 951 B After Width: | Height: | Size: 177 B |
BIN
mods/framedglass/textures/framedglass_greenglass_frame.png
Executable file
After Width: | Height: | Size: 679 B |
BIN
mods/framedglass/textures/framedglass_greyglass_frame.png
Executable file
After Width: | Height: | Size: 564 B |
BIN
mods/framedglass/textures/framedglass_orangeglass_frame.png
Executable file
After Width: | Height: | Size: 634 B |
BIN
mods/framedglass/textures/framedglass_pinkglass_frame.png
Executable file
After Width: | Height: | Size: 629 B |
BIN
mods/framedglass/textures/framedglass_redglass_frame.png
Executable file
After Width: | Height: | Size: 675 B |
After Width: | Height: | Size: 358 B |
After Width: | Height: | Size: 423 B |
BIN
mods/framedglass/textures/framedglass_violetglass_frame.png
Executable file
After Width: | Height: | Size: 634 B |
BIN
mods/framedglass/textures/framedglass_whiteglass_frame.png
Executable file
After Width: | Height: | Size: 558 B |
After Width: | Height: | Size: 285 B |
After Width: | Height: | Size: 344 B |
BIN
mods/framedglass/textures/framedglass_yellowglass_frame.png
Executable file
After Width: | Height: | Size: 615 B |