Post by sigma1202 on Aug 19, 2019 8:06:32 GMT -5
Solar panels mod (DISCONTINUED)
Hi there, this is my solar panels mod, if you have solar panels on your lot it will reduce your bills also if you have "off the grid" on the lot it will also restore the electricity, also if you place a water heater while the electricity is restored, it will restore your hot water
Changelog:
Please remove the older version first before installing the newer one
15-Sep-2019:
- Fixed the issue where electricity and water would randomly turn off and on
- Optimized the code, now it should be more performance friendly, now if you remove a solar panel or a water heater and you are under the required number, you'll have to wait a few seconds before one of those utilities disables itself
30-Aug-2019:
- Fixed a last exception
20-Aug-2019:
- Solar panels now work after you exit and re-enter the game
There are 4 versions that you can download; easy, normal, hard, harder. Please just install one of them
the easy version: each solar panel on the lot will give you a discount of 17.5% on the bills, the max discount that you can reach is 70%, so on the easy version after you have placed 4 solar panels you will get your max discount, also after you have placed 4 solar panels you will restore the electricity if "off the grid" is on the lot
the normal version: each solar panel on the lot will give you a discount of 8.75% on the bills, the max discount that you can reach is 70%, so on the normal version after you have placed 8 solar panels you will get your max discount, also after you have placed 8 solar panels you will restore the electricity if "off the grid" is on the lot
the hard version: each solar panel on the lot will give you a discount of 5.83% on the bills, the max discount that you can reach is 70%, so on the hard version after you have placed 12 solar panels you will get your max discount, also after you have placed 12 solar panels you will restore the electricity if "off the grid" is on the lot
the harder version: each solar panel on the lot will give you a discount of 4.37% on the bills, the max discount that you can reach is 70%, so on the harder version after you have placed 16 solar panels you will get your max discount, also after you have placed 16 solar panels you will restore the electricity if "off the grid" is on the lot
Commands:
I also included a console command to change the number of solar panels needed to restore the electricity: "set.solar number"
say you have the harder version, you would need 16 solar panels to restore the electricity, after you type into the console "set.solar 8", you will only have to place 8 to restore electricity, you can input any number
the discount percentage will not change with this, so you will still get 4.37% discount per solar panel
The water heater:
I also made a water heater, if you have restored your electricity with the solar panels, you can just place the electric water heater on the lot and it will restore your hot water
Where to find them:
You can find the solar panel under electronics-->misc
You can find the water heater under bathroom decorations
you can also just type the name in the search bar
Planned features for future versions:
I plan to add some more features with time here's what I want to add so far
- Solar panels will require maintenance or they will break
- Make solar panels react to weather [SEASONS]
Solar panel: 976
water heater: 419
#solar #panel #electricity #water #bills #utilities #script #heater #discount #off #the #grid