diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-12-01 09:06:00 -0500 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-12-01 09:06:00 -0500 |
commit | 856b86858ebfa4af2c352b022188f82dcff7ed92 (patch) | |
tree | 867b0323f38e6b582b3fa3e4e1e896607493d5b1 /digistuff/conductors.lua | |
parent | 2d8ff9f889450fb5c36016276997544aae98a350 (diff) | |
download | dreambuilder_modpack-856b86858ebfa4af2c352b022188f82dcff7ed92.tar dreambuilder_modpack-856b86858ebfa4af2c352b022188f82dcff7ed92.tar.gz dreambuilder_modpack-856b86858ebfa4af2c352b022188f82dcff7ed92.tar.bz2 dreambuilder_modpack-856b86858ebfa4af2c352b022188f82dcff7ed92.tar.xz dreambuilder_modpack-856b86858ebfa4af2c352b022188f82dcff7ed92.zip |
update basic_materials, biome_lib, technic, digilines, digistuff,
gloopblocks, homedecor, moreblocks, pipeworks, prefab_redo
Diffstat (limited to 'digistuff/conductors.lua')
-rw-r--r-- | digistuff/conductors.lua | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/digistuff/conductors.lua b/digistuff/conductors.lua new file mode 100644 index 0000000..77229e2 --- /dev/null +++ b/digistuff/conductors.lua @@ -0,0 +1,62 @@ +minetest.register_node("digistuff:digimese", { + description = "Digimese", + tiles = {"digistuff_digimese.png"}, + paramtype = "light", + light_source = 3, + groups = {cracky = 3, level = 2}, + is_ground_content = false, + sounds = default and default.node_sound_stone_defaults(), + digiline = { wire = { 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}}}} +}) + +minetest.register_node("digistuff:junctionbox", { + description = "Digilines Junction Box", + tiles = {"digistuff_junctionbox.png"}, + paramtype = "light", + paramtype2 = "facedir", + groups = {cracky = 3}, + is_ground_content = false, + paramtype = "light", + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-0.1,-0.15,0.35,0.1,0.15,0.5}, + } + }, + sounds = default and default.node_sound_stone_defaults(), + digiline = { + receptor = {}, + wire = { + rules = { + {x = 1,y = 0,z = 0}, + {x = -1,y = 0,z = 0}, + {x = 0,y = 0,z = 1}, + {x = 0,y = 0,z = -1}, + {x = 0,y = 1,z = 0}, + {x = 0,y = -1,z = 0}, + {x = 0,y = -2,z = 0}, + {x = 0,y = 2,z = 0}, + {x = -2,y = 0,z = 0}, + {x = 2,y = 0,z = 0}, + {x = 0,y = 0,z = -2}, + {x = 0,y = 0,z = 2}, + } + }, + }, +}) + +minetest.register_craft({ + output = "digistuff:junctionbox", + recipe = { + {"homedecor:plastic_sheeting","digilines:wire_std_00000000","homedecor:plastic_sheeting",}, + {"digilines:wire_std_00000000","digilines:wire_std_00000000","digilines:wire_std_00000000",}, + {"homedecor:plastic_sheeting","digilines:wire_std_00000000","homedecor:plastic_sheeting",}, + } +}) |