diff options
author | Calinou <calinou9999spam@gmail.com> | 2013-08-30 08:56:01 -0700 |
---|---|---|
committer | Calinou <calinou9999spam@gmail.com> | 2013-08-30 08:56:01 -0700 |
commit | d8d84f75797223734add22031b148783703100db (patch) | |
tree | 70ef47bd4aa26981db886b0bea25a5df1a49dbae | |
parent | ee1b3025cc05e94b7311ed42b08142edbfe977e5 (diff) | |
parent | a978ea62e6ea0940823a4a5d3698ff591907c594 (diff) | |
download | moreblocks-d8d84f75797223734add22031b148783703100db.tar.gz moreblocks-d8d84f75797223734add22031b148783703100db.tar.bz2 moreblocks-d8d84f75797223734add22031b148783703100db.zip |
Merge pull request #1 from andersje/master
Added trap_glow_glass and trap_super_glow_glass
-rw-r--r-- | crafting.lua | 14 | ||||
-rw-r--r-- | init.lua | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/crafting.lua b/crafting.lua index 275f9f5..0410ad0 100644 --- a/crafting.lua +++ b/crafting.lua @@ -274,12 +274,26 @@ minetest.register_craft({ }) minetest.register_craft({ + output = "moreblocks:trap_glow_glass 1", + type = "shapeless", + walkable = false, + recipe = {"default:mese_crystal", "default:glass", "default:torch"}, +}) + +minetest.register_craft({ output = "moreblocks:super_glow_glass 1", type = "shapeless", recipe = {"default:torch", "default:torch", "default:glass"}, }) minetest.register_craft({ + output = "moreblocks:trap_super_glow_glass 1", + type = "shapeless", + walkable = false, + recipe = {"default:mese_crystal", "default:glass", "default:torch", "default:torch"}, +}) + +minetest.register_craft({ output = "moreblocks:coal_stone 1", type = "shapeless", recipe = {"default:coal_lump", "default:stone"}, @@ -308,6 +308,18 @@ minetest.register_node("moreblocks:glow_glass", { groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
})
+minetest.register_node("moreblocks:trap_glow_glass", {
+ description = S("Trap Glow Glass"),
+ drawtype = "glasslike",
+ tiles = {"moreblocks_glow_glass.png"},
+ inventory_image = minetest.inventorycube("moreblocks_glow_glass.png"),
+ paramtype = "light",
+ sunlight_propagates = true,
+ light_source = 11,
+ walkable = false,
+ groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
+ sounds = default.node_sound_glass_defaults(),
+})
minetest.register_node("moreblocks:super_glow_glass", {
description = S("Super Glow Glass"),
@@ -321,6 +333,19 @@ minetest.register_node("moreblocks:super_glow_glass", { sounds = default.node_sound_glass_defaults(),
})
+minetest.register_node("moreblocks:trap_super_glow_glass", {
+ description = S("Trap Super Glow Glass"),
+ drawtype = "glasslike",
+ tiles = {"moreblocks_glow_glass.png"},
+ inventory_image = minetest.inventorycube("moreblocks_glow_glass.png"),
+ paramtype = "light",
+ sunlight_propagates = true,
+ light_source = 11,
+ walkable = false,
+ groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
+ sounds = default.node_sound_glass_defaults(),
+})
+
minetest.register_node("moreblocks:rope", {
description = S("Rope"),
drawtype = "signlike",
|