diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-09-12 23:11:30 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-09-12 23:11:30 -0400 |
commit | 02d2154bbdfcfca4cd764b090b3529152ad1d2fe (patch) | |
tree | 179075dd419b97b3773a24a41a367f7979d29de6 /unifiedmesecons | |
parent | 818eabb92fe8646db505fe985d16e65c9df1b761 (diff) | |
download | dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.tar dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.tar.gz dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.tar.bz2 dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.tar.xz dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.zip |
update blox, bobblocks, homedecor, plasticbox, solidcolor, stained glass,
unifieddyes, and unifiedmesecons
Diffstat (limited to 'unifiedmesecons')
-rw-r--r-- | unifiedmesecons/init.lua | 34 |
1 files changed, 13 insertions, 21 deletions
diff --git a/unifiedmesecons/init.lua b/unifiedmesecons/init.lua index b7ee369..7b621a0 100644 --- a/unifiedmesecons/init.lua +++ b/unifiedmesecons/init.lua @@ -1,24 +1,7 @@ -local hues = { - "red", - "orange", - "yellow", - "lime", - "green", - "aqua", - "cyan", - "skyblue", - "blue", - "violet", - "magenta", - "redviolet", - "pink", - "dark_green", - "brown", - "black", - "dark_grey", - "grey", - "white", -} +local hues = table.copy(unifieddyes.HUES_WITH_GREY) +for _,i in ipairs({"pink","dark_green","brown","black","dark_grey","white"}) do + table.insert(hues, i) +end local function insulated_wire_get_rules(node) local rules = {{x = 1, y = 0, z = 0}, @@ -477,3 +460,12 @@ for _,color in pairs(hues) do -- allow re-dying of grey wires since they're so l }) end end + +for _,a in ipairs({{"skyblue","azure"}, {"redviolet","rose"}, {"aqua","spring"}}) do + for _,s in ipairs({"_", "_corner_", "_tjunction_"}) do + minetest.register_alias("mesecons_extrawires:insulated"..s..a[1].."_off", + "mesecons_extrawires:insulated"..s..a[2].."_off") + minetest.register_alias("mesecons_extrawires:insulated"..s..a[1].."_on", + "mesecons_extrawires:insulated"..s..a[2].."_on") + end +end |