mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 12:05:28 +01:00
Telecommunications Solar Arrays
- Makes telecommunications solars actually work. They are connected into ring-shaped cable running around whole telecomms, powering single SMES unit which in turn powers the satellite itself. - Installed solars have maximal combined output of 240kW. Real output fluctuates between 120kW and 160kW depending on star orientation. - Fractal generator and relevant breaker removed. RCON control is still possible, by adjusting SMES settings.
This commit is contained in:
@@ -545,6 +545,17 @@ var/list/solars_list = list()
|
||||
broken()
|
||||
src.density = 0
|
||||
|
||||
// Used for mapping in solar array which automatically starts itself (telecomms, for example)
|
||||
/obj/machinery/power/solar_control/autostart
|
||||
track = 2 // Auto tracking mode
|
||||
|
||||
/obj/machinery/power/solar_control/autostart/New()
|
||||
..()
|
||||
spawn(150) // Wait 15 seconds to ensure everything was set up properly (such as, powernets, solar panels, etc.
|
||||
src.search_for_connected()
|
||||
if(connected_tracker && track == 2)
|
||||
connected_tracker.set_angle(sun.angle)
|
||||
src.set_panels(cdir)
|
||||
|
||||
//
|
||||
// MISC
|
||||
|
||||
Reference in New Issue
Block a user