Move framedglass to it's own repository
@ -1 +0,0 @@
|
||||
default
|
@ -1,107 +0,0 @@
|
||||
-- Minetest 0.4.5 mod: framedglass
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'framedglass:wooden_framed_glass 4',
|
||||
recipe = {
|
||||
{'default:glass', 'default:glass', 'default:stick'},
|
||||
{'default:glass', 'default:glass', 'default:stick'},
|
||||
{'default:stick', 'default:stick', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'framedglass:steel_framed_glass 4',
|
||||
recipe = {
|
||||
{'default:glass', 'default:glass', 'default:steel_ingot'},
|
||||
{'default:glass', 'default:glass', 'default:steel_ingot'},
|
||||
{'default:steel_ingot', 'default:steel_ingot', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'framedglass:wooden_framed_obsidian_glass 4',
|
||||
recipe = {
|
||||
{'default:obsidian_glass', 'default:obsidian_glass', 'default:stick'},
|
||||
{'default:obsidian_glass', 'default:obsidian_glass', 'default:stick'},
|
||||
{'default:stick', 'default:stick', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'framedglass:steel_framed_obsidian_glass 4',
|
||||
recipe = {
|
||||
{'default:obsidian_glass', 'default:obsidian_glass', 'default:steel_ingot'},
|
||||
{'default:obsidian_glass', 'default:obsidian_glass', 'default:steel_ingot'},
|
||||
{'default:steel_ingot', 'default:steel_ingot', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("framedglass:wooden_framed_glass", {
|
||||
description = "Wooden-framed Glass",
|
||||
drawtype = "glasslike_framed",
|
||||
tiles = {"framedglass_wooden_frame.png","framedglass_glass_face_streaks.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("framedglass:steel_framed_glass", {
|
||||
description = "Steel-framed Glass",
|
||||
drawtype = "glasslike_framed",
|
||||
tiles = {"framedglass_steel_frame.png","framedglass_glass_face_streaks.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("framedglass:wooden_framed_obsidian_glass", {
|
||||
description = "Wooden-framed Obsidian Glass",
|
||||
drawtype = "glasslike_framed",
|
||||
tiles = {"framedglass_wooden_frame.png","framedglass_glass_face_clean.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("framedglass:steel_framed_obsidian_glass", {
|
||||
description = "Steel-framed Obsidian Glass",
|
||||
drawtype = "glasslike_framed",
|
||||
tiles = {"framedglass_steel_frame.png","framedglass_glass_face_clean.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
function add_coloured_framedglass(name, desc, dye, texture)
|
||||
minetest.register_node( "framedglass:steel_framed_obsidian_glass"..name, {
|
||||
description = "Steel-framed "..desc.." Obsidian Glass",
|
||||
tiles = {"framedglass_steel_frame.png",texture},
|
||||
drawtype = "glasslike_framed",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = true,
|
||||
use_texture_alpha = true,
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
end
|
||||
|
||||
add_coloured_framedglass ("red","Red","","framedglass_redglass.png")
|
||||
add_coloured_framedglass ("green","Green","","framedglass_greenglass.png")
|
||||
add_coloured_framedglass ("blue","Blue","","framedglass_blueglass.png")
|
||||
add_coloured_framedglass ("cyan","Cyan","","framedglass_cyanglass.png")
|
||||
add_coloured_framedglass ("darkgreen","Dark Green","","framedglass_darkgreenglass.png")
|
||||
add_coloured_framedglass ("violet","Violet","","framedglass_violetglass.png")
|
||||
add_coloured_framedglass ("pink","Pink","","framedglass_pinkglass.png")
|
||||
add_coloured_framedglass ("yellow","Yellow","","framedglass_yellowglass.png")
|
||||
add_coloured_framedglass ("orange","Orange","","framedglass_orangeglass.png")
|
||||
add_coloured_framedglass ("brown","Brown","","framedglass_brownglass.png")
|
||||
add_coloured_framedglass ("white","White","","framedglass_whiteglass.png")
|
||||
add_coloured_framedglass ("grey","Grey","","framedglass_greyglass.png")
|
||||
add_coloured_framedglass ("darkgrey","Dark Grey","","framedglass_darkgreyglass.png")
|
||||
add_coloured_framedglass ("black","Black","","framedglass_blackglass.png")
|
||||
|
Before Width: | Height: | Size: 346 B |
Before Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 403 B |
Before Width: | Height: | Size: 442 B |
Before Width: | Height: | Size: 414 B |
Before Width: | Height: | Size: 436 B |
Before Width: | Height: | Size: 926 B |
Before Width: | Height: | Size: 951 B |
Before Width: | Height: | Size: 445 B |
Before Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 412 B |
Before Width: | Height: | Size: 444 B |
Before Width: | Height: | Size: 740 B |
Before Width: | Height: | Size: 418 B |
Before Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 387 B |
Before Width: | Height: | Size: 400 B |
Before Width: | Height: | Size: 444 B |
Before Width: | Height: | Size: 313 B |