Author Topic: Highly Efficient Gas System Manager  (Read 10521 times)

TromboneShorty

  • Starting Member
  • *
  • Posts: 11
  • Karma: +0/-0
  • Stop using that fucking ZPM hub you don't need it.
    • View Profile
  • IGN: Trombone Shorty
Highly Efficient Gas System Manager
« on: August 09, 2017, 12:08:13 am »
Code: [Select]
@name Life_Support_Manager
@inputs E_Storage O_Storage T_Storage D_Storage M_Storage
@outputs T_Collector D_Collector M_Collector T_Inverter D_Inverter M_Inverter Collector_Mult Inverter_Mult Mute

Collector_Mult = 100
Inverter_Mult = 10
Mute = 1

 if (E_Storage)
{
T_Collector = 1
D_Collector = 1
M_Collector = 1
}
else
{
T_Collector = 0
D_Collector = 0
M_Collector = 0
}

if (T_Storage >= 5000)
{
    T_Inverter = 1
}
else
{
    T_Inverter = 0
}

if (D_Storage >= 5000)
{
    D_Inverter = 1
}
else
{
    D_Inverter = 0
}

if (M_Storage >= 5000)
{
    M_Inverter = 1
}
else
{
    M_Inverter = 0
}

You can guess it...
  • Mult is multiplier, make sure to connect to the right components.
  • E_Storage is value from the Battery Cells / Resource caches
  • T is Tritium
  • D is Deuterium
  • M is Methane.
Not really complicated E2, but operates on duped if wired correctly. and i made this because I'm lazy and I hate wiring LS every time I build a ship..