Vanessa Ezekowitz
2017-04-13 170d3e09c55cf982a6ed180b4bdf755cabbe864c
clean-up battery box images, make more consistent
added tube or cable entry overlays as appropriate.
deleted a couple of obsolete textures
3 files deleted
2 files added
10 files modified
16 ■■■■■ changed files
technic/machines/register/battery_box.lua 16 ●●●●● patch | view | raw | blame | history
technic/textures/technic_battery_box_side.png patch | view | raw | blame | history
technic/textures/technic_battery_box_side8.png patch | view | raw | blame | history
technic/textures/technic_battery_box_side_mv.png patch | view | raw | blame | history
technic/textures/technic_hv_battery_box_bottom.png patch | view | raw | blame | history
technic/textures/technic_hv_battery_box_front.png patch | view | raw | blame | history
technic/textures/technic_hv_battery_box_side.png patch | view | raw | blame | history
technic/textures/technic_hv_battery_box_top.png patch | view | raw | blame | history
technic/textures/technic_lv_battery_box_bottom.png patch | view | raw | blame | history
technic/textures/technic_lv_battery_box_side.png patch | view | raw | blame | history
technic/textures/technic_lv_battery_box_top.png patch | view | raw | blame | history
technic/textures/technic_mv_battery_box_bottom.png patch | view | raw | blame | history
technic/textures/technic_mv_battery_box_front.png patch | view | raw | blame | history
technic/textures/technic_mv_battery_box_side.png patch | view | raw | blame | history
technic/textures/technic_mv_battery_box_top.png patch | view | raw | blame | history
technic/machines/register/battery_box.lua
@@ -3,6 +3,7 @@
local S = technic.getter
local tube_entry = "^pipeworks_tube_connection_metallic.png"
local cable_entry = "^technic_cable_connection_overlay.png"
local fs_helpers = pipeworks.fs_helpers
@@ -208,20 +209,25 @@
            groups.tubedevice_receiver = 1
        end
        local front_tex = "technic_"..ltier.."_battery_box_front.png^technic_power_meter"..i..".png"
        local tentry = tube_entry
        local bentry = tube_entry
        if ltier == "lv" then
            front_tex = "technic_"..ltier.."_battery_box_side.png^technic_power_meter"..i..".png"
            tentry = ""
            bentry = cable_entry
        end
        minetest.register_node("technic:"..ltier.."_battery_box"..i, {
            description = S("%s Battery Box"):format(tier),
            tiles = {
                "technic_"..ltier.."_battery_box_top.png"..tentry,
                "technic_"..ltier.."_battery_box_bottom.png"..tentry,
                "technic_"..ltier.."_battery_box_side.png^technic_power_meter"..i..".png",
                "technic_"..ltier.."_battery_box_side.png^technic_power_meter"..i..".png",
                "technic_"..ltier.."_battery_box_side.png^technic_power_meter"..i..".png",
                "technic_"..ltier.."_battery_box_side.png^technic_power_meter"..i..".png"},
                "technic_"..ltier.."_battery_box_bottom.png"..bentry,
                "technic_"..ltier.."_battery_box_side.png"..tentry,
                "technic_"..ltier.."_battery_box_side.png"..tentry,
                "technic_"..ltier.."_battery_box_side.png"..tentry,
                front_tex},
            groups = groups,
            connect_sides = {"bottom"},
            tube = data.tube and tube or nil,
technic/textures/technic_battery_box_side.png
Binary files differ
technic/textures/technic_battery_box_side8.png
Binary files differ
technic/textures/technic_battery_box_side_mv.png
Binary files differ
technic/textures/technic_hv_battery_box_bottom.png

technic/textures/technic_hv_battery_box_front.png
technic/textures/technic_hv_battery_box_side.png

technic/textures/technic_hv_battery_box_top.png

technic/textures/technic_lv_battery_box_bottom.png

technic/textures/technic_lv_battery_box_side.png

technic/textures/technic_lv_battery_box_top.png

technic/textures/technic_mv_battery_box_bottom.png

technic/textures/technic_mv_battery_box_front.png
technic/textures/technic_mv_battery_box_side.png

technic/textures/technic_mv_battery_box_top.png