Solar Array Wings for your space stations! Save on foundations, and use S.A.W.s for your Nauvis Science factory today! (Delicate when hit by asteroids, we take no liability to placement choices by user)
Mods introducing new content into the game.
Changes to power production and distribution.
Hello!
I've noticed there is a strange shadow under the solar array; https://drive.google.com/file/d/1pjK7wExqgMWoQh1sAaqcwubpVCGLC-5I/view?usp=sharing
Also, really like the mod :)
wish the picture had loaded, any other ways I can see it?
This is likely a my fault thing in that I forgot to ensure the shadow didn't exist or something...
I've un-embedded the link, so you can click the link :) It looks to me like it is a solar panel shadow that is being displayed.
I've looked at the code, and I think I see the issue. When looking at the game's data.raw file, the solar panel has this property set:
overlay = {layers = { {filename = "__base__/graphics/entity/solar-panel/solar-panel-shadow-overlay.png", height = 180,priority = "high",scale = 0.5,shift = {0.328125,0.1875},width = 214 }}},
And as 'overlay' is optional, I think if you add 'panel.overlay = nil' to your create_directional_panel(cdir) function, it should just work :)
Haha yeap, that sounds about right, I'll do an update, thanks =)