summaryrefslogtreecommitdiff
path: root/mesecons_extrawires/crossing.lua
diff options
context:
space:
mode:
authorkhonkhortisan <khonkhortisan@gmail.com>2013-08-27 22:22:30 -0700
committerkhonkhortisan <khonkhortisan@gmail.com>2013-08-27 22:22:30 -0700
commit913e355a718c41551fe0e29ff1356e11d669ac73 (patch)
treea1ae8ead16928c75e5d27c7b1191e3bb033b24a5 /mesecons_extrawires/crossing.lua
parent96011bc71816b5e9eb2cc6c86f009198dfb1146c (diff)
parent885899cbaf6ccb2d22a3495131204ea0d01131ed (diff)
downloadmesecons-913e355a718c41551fe0e29ff1356e11d669ac73.tar
mesecons-913e355a718c41551fe0e29ff1356e11d669ac73.tar.gz
mesecons-913e355a718c41551fe0e29ff1356e11d669ac73.tar.bz2
mesecons-913e355a718c41551fe0e29ff1356e11d669ac73.tar.xz
mesecons-913e355a718c41551fe0e29ff1356e11d669ac73.zip
Merge pull request #112 from khonkhortisan/multi_rules
Multi rules Merged for near-future textures to be merged cleanly.
Diffstat (limited to 'mesecons_extrawires/crossing.lua')
-rw-r--r--mesecons_extrawires/crossing.lua49
1 files changed, 0 insertions, 49 deletions
diff --git a/mesecons_extrawires/crossing.lua b/mesecons_extrawires/crossing.lua
deleted file mode 100644
index 9b381bf..0000000
--- a/mesecons_extrawires/crossing.lua
+++ /dev/null
@@ -1,49 +0,0 @@
--- CODE NOT ACTIVE
-
-local crossing_get_rules = function(node)
- --TODO: calculate the real port states and use rules to link to them only if
-end
-
-minetest.register_node("mesecons_extrawires:crossing_on", {
- drawtype = "nodebox",
- tiles = {"jeija_insulated_wire_sides_on.png"},
- paramtype = "light",
- walkable = false,
- stack_max = 99,
- selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}},
- node_box = {
- type = "fixed",
- fixed = {
- { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 },
- { -3/32, -17/32, -16/32-0.001, 3/32, -13/32, -6/32 },
- { -3/32, -13/32, -9/32, 3/32, -6/32, -6/32 },
- { -3/32, -9/32, -9/32, 3/32, -6/32, 9/32 },
- { -3/32, -13/32, 6/32, 3/32, -6/32, 9/32 },
- { -3/32, -17/32, 6/32, 3/32, -13/32, 16/32+0.001 },
- },
- },
- groups = {dig_immediate=3, mesecon=3, mesecon_conductor_craftable=1, not_in_creative_inventory=1},
- mesecons = {
- receptor = {
- state = mesecon.state.on,
- rules = crossing_get_rules,
- }
- },
-})
-
-minetest.register_craft({
- type = "shapeless",
- output = "mesecons_extrawires:crossing",
- recipe = {
- "mesecons_insulated:insulated_off",
- "mesecons_insulated:insulated_off",
- },
-})
-
-minetest.register_craft({
- type = "shapeless",
- output = "mesecons_insulated:insulated_off 2",
- recipe = {
- "mesecons_extrawires:crossing",
- },
-})