summaryrefslogtreecommitdiff
path: root/mesecons/mesecons_random/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-01 21:00:20 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-01 21:10:04 -0400
commit888b0ebfec8c2eff9015163549a7e47443cb8665 (patch)
tree915080159bfaa6ba6e226087c7ce0e8d5464b518 /mesecons/mesecons_random/init.lua
parentda66780a569712c23ae4f2996cfb4608a9f9d69d (diff)
downloaddreambuilder_modpack-888b0ebfec8c2eff9015163549a7e47443cb8665.tar
dreambuilder_modpack-888b0ebfec8c2eff9015163549a7e47443cb8665.tar.gz
dreambuilder_modpack-888b0ebfec8c2eff9015163549a7e47443cb8665.tar.bz2
dreambuilder_modpack-888b0ebfec8c2eff9015163549a7e47443cb8665.tar.xz
dreambuilder_modpack-888b0ebfec8c2eff9015163549a7e47443cb8665.zip
"explode" all modpacks into their individual components
(you can't have a modpack buried inside a modpack)
Diffstat (limited to 'mesecons/mesecons_random/init.lua')
-rw-r--r--mesecons/mesecons_random/init.lua85
1 files changed, 0 insertions, 85 deletions
diff --git a/mesecons/mesecons_random/init.lua b/mesecons/mesecons_random/init.lua
deleted file mode 100644
index 0136309..0000000
--- a/mesecons/mesecons_random/init.lua
+++ /dev/null
@@ -1,85 +0,0 @@
--- REMOVESTONE
-
-minetest.register_node("mesecons_random:removestone", {
- tiles = {"jeija_removestone.png"},
- inventory_image = minetest.inventorycube("jeija_removestone_inv.png"),
- groups = {cracky=3},
- description="Removestone",
- sounds = default.node_sound_stone_defaults(),
- mesecons = {effector = {
- action_on = function (pos, node)
- minetest.remove_node(pos)
- mesecon.update_autoconnect(pos)
- end
- }}
-})
-
-minetest.register_craft({
- output = 'mesecons_random:removestone 4',
- recipe = {
- {"", "default:cobble", ""},
- {"default:cobble", "group:mesecon_conductor_craftable", "default:cobble"},
- {"", "default:cobble", ""},
- }
-})
-
--- GHOSTSTONE
-
-minetest.register_node("mesecons_random:ghoststone", {
- description="ghoststone",
- tiles = {"jeija_ghoststone.png"},
- is_ground_content = true,
- inventory_image = minetest.inventorycube("jeija_ghoststone_inv.png"),
- groups = {cracky=3},
- sounds = default.node_sound_stone_defaults(),
- mesecons = {conductor = {
- state = mesecon.state.off,
- rules = { --axes
- {x = -1, y = 0, z = 0},
- {x = 1, y = 0, z = 0},
- {x = 0, y = -1, z = 0},
- {x = 0, y = 1, z = 0},
- {x = 0, y = 0, z = -1},
- {x = 0, y = 0, z = 1},
- },
- onstate = "mesecons_random:ghoststone_active"
- }}
-})
-
-minetest.register_node("mesecons_random:ghoststone_active", {
- drawtype = "airlike",
- pointable = false,
- walkable = false,
- diggable = false,
- sunlight_propagates = true,
- paramtype = "light",
- mesecons = {conductor = {
- state = mesecon.state.on,
- rules = {
- {x = -1, y = 0, z = 0},
- {x = 1, y = 0, z = 0},
- {x = 0, y = -1, z = 0},
- {x = 0, y = 1, z = 0},
- {x = 0, y = 0, z = -1},
- {x = 0, y = 0, z = 1},
- },
- offstate = "mesecons_random:ghoststone"
- }},
- on_construct = function(pos)
- --remove shadow
- pos2 = {x = pos.x, y = pos.y + 1, z = pos.z}
- if ( minetest.get_node(pos2).name == "air" ) then
- minetest.dig_node(pos2)
- end
- end
-})
-
-
-minetest.register_craft({
- output = 'mesecons_random:ghoststone 4',
- recipe = {
- {"default:steel_ingot", "default:cobble", "default:steel_ingot"},
- {"default:cobble", "group:mesecon_conductor_craftable", "default:cobble"},
- {"default:steel_ingot", "default:cobble", "default:steel_ingot"},
- }
-})