Hi!
Thanks for the mod! :)
I would like to suggest making edits that I make every time you update this mod :))))
--- For some reason the translation into another language is not loading, I haven't figured it out yet. Maybe you can fix it.
--- You can add a startup setting to select the power supply area for the medium pole, I set it like this:
"medium_pole.supply_area_distance = 4.5"
--- You can add a startup setting to select the connection length for the large pole, min and max, I set it like this:
"big_pole.maximum_wire_distance = 32"
--- Make changes so that the large pole visually displays a blue backlight under itself when you place it somewhere:
"big_pole.supply_area_distance = 1"
--- Make changes so that the huge pole visually displays a blue backlight under itself when you place it somewhere:
"eg_huge_electric_pole.supply_area_distance = 1"
and add the visualisation itself:
eg_huge_electric_pole.radius_visualisation_picture =
{
filename = "base/graphics/entity/small-electric-pole/electric-pole-radius-visualization.png",
width = 12,
height = 12,
priority = "extra-high-no-scale"
}
--- I overwrite the connection points in the huge pole, because I use another picture, with slightly better graphics.
Code:
eg_huge_electric_pole.pictures =
{
filename = constants.EG_GRAPHICS .. "/entities/huge-electric-pole.png",
priority = "extra-high",
width = 336,
height = 330,
direction_count = 4,
shift = util.by_pixel(51, -58),
scale = 0.5,
}
eg_huge_electric_pole.connection_points =
{
{
shadow =
{
copper = {2.78, -0.5},
green = {1.875, -0.5},
red = {3.69, -0.5}
},
wire =
{
copper = {0, -4.05},
green = {-0.59375, -4.05},
red = {0.625, -4.05}
}
},
{
shadow =
{
copper = {3.1, -0.648},
green = {2.3, -1.144},
red = {3.8, -0.136}
},
wire =
{
copper = {-0.0525, -3.906},
green = {-0.48, -4.179},
red = {0.36375, -3.601}
}
},
{
shadow =
{
copper = {2.9, -0.564},
green = {3.0, -1.316},
red = {3.0, 0.152}
},
wire =
{
copper = {-0.09375, -3.901},
green = {-0.09375, -4.331},
red = {-0.09375, -3.420}
}
},
{
shadow =
{
copper = {3.3, -0.542},
green = {3.1, -1.058},
red = {2.35, -0.035}
},
wire =
{
copper = {-0.0625, -3.980},
green = {0.375, -4.273},
red = {-0.46875, -3.656}
}
}
}
eg_huge_electric_pole.water_reflection =
{
pictures =
{
filename = constants.EG_GRAPHICS .. "/entities/huge-electric-pole_water_reflection.png",
priority = "extra-high",
width = 34,
height = 33,
shift = util.by_pixel(0, 58),
variation_count = 1,
scale = 5
},
rotate = false,
orientation_to_variation = false
}
--- Well, here's a new picture, if possible, it would be good to change them too :)
Just need to correct the icon size in eg_huge_pole.lua:
huge_pole_item.icon_size = 64
https://drive.google.com/file/d/1nQBtsZm28AcRkwYBGLrNrHo2UIzhrWqA/view?usp=sharing