[REQUEST] 1X1 mini solar panel

This is the place to request new mods or give ideas about what could be done.
User avatar
sporefreak
Fast Inserter
Fast Inserter
Posts: 185
Joined: Sun Apr 17, 2016 12:55 am
Contact:

[REQUEST] 1X1 mini solar panel

Post by sporefreak »

I would like a 1X1 solar panel I can put in odd places around my base that only produce 4-6kw (less efficient than normal ones but enough for an inserter or lamp)
Would hardly be game breaking and not entirely useful but yeah.
User avatar
ArderBlackard
Long Handed Inserter
Long Handed Inserter
Posts: 74
Joined: Thu May 05, 2016 12:41 pm
Contact:

Re: [REQUEST] 1X1 mini solar panel

Post by ArderBlackard »

I hope this will do the thing.
It adds the "Small solar panel" entity which is researched along with the "Solar panel" and is capable to produce 5 kW (the cost is 1/5 of the large solar panel cost)
Attachments
mini-solar-panel_1.0.0.zip
(10 KiB) Downloaded 98 times
Gib dich hin bis du Glück bist
User avatar
sporefreak
Fast Inserter
Fast Inserter
Posts: 185
Joined: Sun Apr 17, 2016 12:55 am
Contact:

Re: [REQUEST] 1X1 mini solar panel

Post by sporefreak »

Awesome, Thanks! I tried looking into adding my own but I seem to be unable to change the size of the panels (I couldn't get them smaller than 3X3)
User avatar
ArderBlackard
Long Handed Inserter
Long Handed Inserter
Posts: 74
Joined: Thu May 05, 2016 12:41 pm
Contact:

Re: [REQUEST] 1X1 mini solar panel

Post by ArderBlackard »

You are welcome!
If it may be of any help for the future - besides changing the image you need to set proper values for collision_box and selection_box like this:

Vanilla (3x3):

Code: Select all

  {
    ...
    collision_box = {{-1.4, -1.4}, {1.4, 1.4}},
    selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
    ...
  }
Small (1x1):

Code: Select all

  {
    ...
    collision_box = {{-0.4, -0.4}, {0.4, 0.4}},
    selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
    ...
  }
Gib dich hin bis du Glück bist
Post Reply

Return to “Ideas and Requests For Mods”