diff options
Diffstat (limited to 'mesecons/mesecons_insulated')
21 files changed, 0 insertions, 82 deletions
diff --git a/mesecons/mesecons_insulated/depends.txt b/mesecons/mesecons_insulated/depends.txt deleted file mode 100644 index acaa924..0000000 --- a/mesecons/mesecons_insulated/depends.txt +++ /dev/null @@ -1 +0,0 @@ -mesecons diff --git a/mesecons/mesecons_insulated/doc/insulated/description.html b/mesecons/mesecons_insulated/doc/insulated/description.html deleted file mode 100644 index df2a6df..0000000 --- a/mesecons/mesecons_insulated/doc/insulated/description.html +++ /dev/null @@ -1 +0,0 @@ - Insulated mesecons are conductors that only conduct in one direction (and also not up or down). diff --git a/mesecons/mesecons_insulated/doc/insulated/preview.png b/mesecons/mesecons_insulated/doc/insulated/preview.png Binary files differdeleted file mode 100644 index bf544e8..0000000 --- a/mesecons/mesecons_insulated/doc/insulated/preview.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/doc/insulated/recipe.png b/mesecons/mesecons_insulated/doc/insulated/recipe.png Binary files differdeleted file mode 100644 index f2a731a..0000000 --- a/mesecons/mesecons_insulated/doc/insulated/recipe.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/init.lua b/mesecons/mesecons_insulated/init.lua deleted file mode 100644 index c6fc05e..0000000 --- a/mesecons/mesecons_insulated/init.lua +++ /dev/null @@ -1,80 +0,0 @@ -function insulated_wire_get_rules(node) - local rules = {{x = 1, y = 0, z = 0}, - {x =-1, y = 0, z = 0}} - if node.param2 == 1 or node.param2 == 3 then - return mesecon.rotate_rules_right(rules) - end - return rules -end - -minetest.register_node("mesecons_insulated:insulated_on", { - drawtype = "nodebox", - description = "Insulated Mesecon", - tiles = { - "jeija_insulated_wire_sides_on.png", - "jeija_insulated_wire_sides_on.png", - "jeija_insulated_wire_ends_on.png", - "jeija_insulated_wire_ends_on.png", - "jeija_insulated_wire_sides_on.png", - "jeija_insulated_wire_sides_on.png" - }, - paramtype = "light", - paramtype2 = "facedir", - walkable = false, - sunlight_propagates = true, - selection_box = { - type = "fixed", - fixed = { -16/32-0.001, -18/32, -7/32, 16/32+0.001, -12/32, 7/32 } - }, - node_box = { - type = "fixed", - fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 } - }, - groups = {dig_immediate = 3, not_in_creative_inventory = 1}, - drop = "mesecons_insulated:insulated_off", - mesecons = {conductor = { - state = mesecon.state.on, - offstate = "mesecons_insulated:insulated_off", - rules = insulated_wire_get_rules - }} -}) - -minetest.register_node("mesecons_insulated:insulated_off", { - drawtype = "nodebox", - description = "Insulated Mesecon", - tiles = { - "jeija_insulated_wire_sides_off.png", - "jeija_insulated_wire_sides_off.png", - "jeija_insulated_wire_ends_off.png", - "jeija_insulated_wire_ends_off.png", - "jeija_insulated_wire_sides_off.png", - "jeija_insulated_wire_sides_off.png" - }, - paramtype = "light", - paramtype2 = "facedir", - walkable = false, - sunlight_propagates = true, - selection_box = { - type = "fixed", - fixed = { -16/32-0.001, -18/32, -7/32, 16/32+0.001, -12/32, 7/32 } - }, - node_box = { - type = "fixed", - fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 } - }, - groups = {dig_immediate = 3}, - mesecons = {conductor = { - state = mesecon.state.off, - onstate = "mesecons_insulated:insulated_on", - rules = insulated_wire_get_rules - }} -}) - -minetest.register_craft({ - output = "mesecons_insulated:insulated_off 3", - recipe = { - {"mesecons_materials:fiber", "mesecons_materials:fiber", "mesecons_materials:fiber"}, - {"mesecons:wire_00000000_off", "mesecons:wire_00000000_off", "mesecons:wire_00000000_off"}, - {"mesecons_materials:fiber", "mesecons_materials:fiber", "mesecons_materials:fiber"}, - } -}) diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_01.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_01.png Binary files differdeleted file mode 100644 index d872b2b..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_01.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_10.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_10.png Binary files differdeleted file mode 100644 index ae06dea..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_10.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_off.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_off.png Binary files differdeleted file mode 100644 index 41b5ff4..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_off.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_on.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_on.png Binary files differdeleted file mode 100644 index 154288b..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_on.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_curved_tb_off.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_curved_tb_off.png Binary files differdeleted file mode 100644 index 85ca90b..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_curved_tb_off.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_curved_tb_on.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_curved_tb_on.png Binary files differdeleted file mode 100644 index 772d9a6..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_curved_tb_on.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_01x.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_01x.png Binary files differdeleted file mode 100644 index b742152..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_01x.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_01z.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_01z.png Binary files differdeleted file mode 100644 index 497a467..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_01z.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_10x.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_10x.png Binary files differdeleted file mode 100644 index d407cff..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_10x.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_10z.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_10z.png Binary files differdeleted file mode 100644 index 830d390..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_10z.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_off.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_off.png Binary files differdeleted file mode 100644 index 89a8385..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_off.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_on.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_on.png Binary files differdeleted file mode 100644 index 75cf435..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_ends_on.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_sides_off.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_sides_off.png Binary files differdeleted file mode 100644 index db33f14..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_sides_off.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_sides_on.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_sides_on.png Binary files differdeleted file mode 100644 index f76e9a8..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_sides_on.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_tjunction_tb_off.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_tjunction_tb_off.png Binary files differdeleted file mode 100644 index a897b29..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_tjunction_tb_off.png +++ /dev/null diff --git a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_tjunction_tb_on.png b/mesecons/mesecons_insulated/textures/jeija_insulated_wire_tjunction_tb_on.png Binary files differdeleted file mode 100644 index 8fc312b..0000000 --- a/mesecons/mesecons_insulated/textures/jeija_insulated_wire_tjunction_tb_on.png +++ /dev/null |