summaryrefslogtreecommitdiff
path: root/framedglass
diff options
context:
space:
mode:
authorkpoppel <poulsen.kim@gmail.com>2013-05-06 20:55:33 +0200
committerkpoppel <poulsen.kim@gmail.com>2013-05-06 20:55:33 +0200
commitd98405f1299c8d73956b7ff560515d4a5c35529f (patch)
treeabd4cc55c1b2d9981eb6273b757a30d55acd1c49 /framedglass
parent6463b77e60639f4012b702fef344cc7e201d3e3a (diff)
parent2239a4447b43fe5beb034ba185288d948daa311b (diff)
Merge branch 'master' of https://github.com/kpoppel/technic
Diffstat (limited to 'framedglass')
-rw-r--r--framedglass/depends.txt1
-rw-r--r--framedglass/init.lua77
-rw-r--r--framedglass/textures/framedglass_glass_face_clean.pngbin0 -> 926 bytes
-rw-r--r--framedglass/textures/framedglass_glass_face_streaks.pngbin0 -> 951 bytes
-rw-r--r--framedglass/textures/framedglass_steel_frame.pngbin0 -> 740 bytes
-rw-r--r--framedglass/textures/framedglass_wooden_frame.pngbin0 -> 387 bytes
6 files changed, 78 insertions, 0 deletions
diff --git a/framedglass/depends.txt b/framedglass/depends.txt
new file mode 100644
index 0000000..4ad96d5
--- /dev/null
+++ b/framedglass/depends.txt
@@ -0,0 +1 @@
+default
diff --git a/framedglass/init.lua b/framedglass/init.lua
new file mode 100644
index 0000000..ebe88ea
--- /dev/null
+++ b/framedglass/init.lua
@@ -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(),
+})
diff --git a/framedglass/textures/framedglass_glass_face_clean.png b/framedglass/textures/framedglass_glass_face_clean.png
new file mode 100644
index 0000000..385d6d2
--- /dev/null
+++ b/framedglass/textures/framedglass_glass_face_clean.png
Binary files differ
diff --git a/framedglass/textures/framedglass_glass_face_streaks.png b/framedglass/textures/framedglass_glass_face_streaks.png
new file mode 100644
index 0000000..eb169d1
--- /dev/null
+++ b/framedglass/textures/framedglass_glass_face_streaks.png
Binary files differ
diff --git a/framedglass/textures/framedglass_steel_frame.png b/framedglass/textures/framedglass_steel_frame.png
new file mode 100644
index 0000000..383eab7
--- /dev/null
+++ b/framedglass/textures/framedglass_steel_frame.png
Binary files differ
diff --git a/framedglass/textures/framedglass_wooden_frame.png b/framedglass/textures/framedglass_wooden_frame.png
new file mode 100644
index 0000000..66f2b72
--- /dev/null
+++ b/framedglass/textures/framedglass_wooden_frame.png
Binary files differ