Add framedglass mod that uses new drawtype
This commit is contained in:
parent
a594c5feef
commit
4b0aef17a0
1
framedglass/depends.txt
Normal file
1
framedglass/depends.txt
Normal file
@ -0,0 +1 @@
|
||||
default
|
77
framedglass/init.lua
Normal file
77
framedglass/init.lua
Normal file
@ -0,0 +1,77 @@
|
||||
-- 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(),
|
||||
})
|
BIN
framedglass/textures/framedglass_glass_face_clean.png
Normal file
BIN
framedglass/textures/framedglass_glass_face_clean.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 926 B |
BIN
framedglass/textures/framedglass_glass_face_streaks.png
Normal file
BIN
framedglass/textures/framedglass_glass_face_streaks.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 951 B |
BIN
framedglass/textures/framedglass_steel_frame.png
Normal file
BIN
framedglass/textures/framedglass_steel_frame.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 740 B |
BIN
framedglass/textures/framedglass_wooden_frame.png
Normal file
BIN
framedglass/textures/framedglass_wooden_frame.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 387 B |
Loading…
Reference in New Issue
Block a user