* added a check for the midnight rollover of timeofday
* the manual tracking orientation is now synchronized with the sun position update
* now checking if the solar panel/tracker/computer is not already in the solars_list before adding it
* added a message noticing the beginning of a solar panel/tracker deconstruction
* tweaked the manual tracking for better accuracy : the orientation is increased/decrease internally and updated altogether the sun.
* Changed the way the sun was orbiting around the station (or is it the other way around ?), based on real time rather than an inaccurate ticks counter.
* The sun can now be up to twice as fast or slow as standard rotation (1h)
* The sun start with a random angle to the station at round start
* The sun can rotate clockwise or counter-clockwise
Changes to Solars :
* The panels calculate the shortest rotation to get from their position to another.
That also fixed the bug where the panel would backtrack all the way when finished a full rotation (e.g 355° to 1°)
* The exposition to the sun of a panel is now correctly calculated (fixed the bug, where
if the sun was, for example, at 1° and the panel at 359°, no light would arrives to the panel)
* Corrected the timers for the timed rotation.
* Panels made with reinforced glass now have the double of health
Sprites by Ausop, which he posted in his sprite thread.
The gravity generator is very sturdy, as it is almost indestructible, but explosions can break it and it will need repairs.
Changed C4 to stop del()'ing and instead will only use ex_act().
Added an interact_offline variable for machines that will allow you to interact with them even if they are depowered. The gravity generator only uses this at the moment.
Removed the stun that people get when gravity changes.
Shuttles have gravity still.
Added a gravity generator room to the west of Engineering. It is very secure, with a foyer and requiring CE or Captain access. There are instructions on the table for repairing and enabling/disabling the machine.
Before: If you turned off the breaker and fiddled with on/off states and turned on the breaker it wouldn't update the overlay because the check_updates wasn't doing an if(operating) check and would think it didn't need to update the overlays once you turned on the breaker.
After: Check_update() now takes into account the operating (breaker on/off) variable and accounts for it in update_overlay.
Thanks Razharas from /tg/ #coderbus for bringing this to my attention.
Hopefully nothing went wrong but you never know.
Conflicts:
code/FEA/FEA_fire.dm
code/controllers/supply_shuttle.dm
code/game/gamemodes/changeling/changeling_powers.dm
code/game/machinery/autolathe.dm
code/game/machinery/drying_rack.dm
code/modules/hydroponics/hydroponics.dm
code/modules/projectiles/projectile/magic.dm
code/modules/reagents/Chemistry-Recipes.dm
code/modules/reagents/reagent_dispenser.dm