diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-10 22:30:36 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-10 22:30:36 -0500 |
commit | 9382558d822d9398626b39706fde385507e790c5 (patch) | |
tree | a151412b7cdff51b589d2b8b04e9c15fe380d2dd /extranodes/init.lua | |
parent | 343c7946d9014bf111e25a7a225a1b6f5746992b (diff) |
add insulated cable clip/mount
(purely decorative, uses colorwallmounted mode)
Diffstat (limited to 'extranodes/init.lua')
-rw-r--r-- | extranodes/init.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extranodes/init.lua b/extranodes/init.lua index 22a1d9f..4359c8b 100644 --- a/extranodes/init.lua +++ b/extranodes/init.lua @@ -101,3 +101,17 @@ if minetest.get_modpath("moreblocks") then register_technic_stairs_alias("stairsplus", "marble_bricks", "technic", "marble_bricks") end + +minetest.register_node(":technic:insulator_clip", { + description = "Insulator/cable clip", + drawtype = "mesh", + mesh = "technic_insulator_clip.obj", + tiles = {"technic_insulator_clip.png"}, + is_ground_content = false, + groups = {choppy=1, snappy=1, oddly_breakable_by_hand=1, ud_param2_colorable = 1}, + sounds = default.node_sound_stone_defaults(), + paramtype2 = "colorwallmounted", + palette = "unifieddyes_palette_colorwallmounted.png", + after_place_node = unifieddyes.fix_rotation, + after_dig_node = unifieddyes.after_dig_node, +}) |