// ABOUT ME // Components merged into the Radiator. They combine the three network signals // this mod broadcasts into a single gate, AutoPowerToggle, which mod.rules then // substitutes for the radiator's vanilla PowerToggle on the parts of the // radiator that actually dissipate heat. // // The player's manual on/off switch (PowerToggle) is preserved and still wins: // a radiator the player has switched off stays off. The automation can only // idle a radiator the player has left on. // // A radiator vents when ANY of these hold: // - the heat network is not asking it to hold (no battery, or battery full) // - no launcher on the network is using thermal ammunition // - some part is overflowing heat right now (safety net, overrides all) HoldVentReceiver { Type = NetworkToggleReceiver Categories = [ auto_radiator_hold ] Mode = Any AllowUncategorized = false } ThermalAmmoReceiver { Type = NetworkToggleReceiver Categories = [ auto_radiator_ammo_user ] Mode = Any AllowUncategorized = false } ForceVentReceiver { Type = NetworkToggleReceiver Categories = [ auto_radiator_force_vent ] Mode = Any AllowUncategorized = false } NotHolding { Type = MultiToggle Toggles = [ HoldVentReceiver ] Mode = None } NoThermalAmmo { Type = MultiToggle Toggles = [ ThermalAmmoReceiver ] Mode = None } VentAllowed { Type = MultiToggle Toggles = [ NotHolding, NoThermalAmmo, ForceVentReceiver ] Mode = Any } // The replacement gate. PowerToggle is the radiator's vanilla UIToggle, so the // player's switch remains the master control. AutoPowerToggle { Type = MultiToggle Toggles = [ PowerToggle, VentAllowed ] Mode = All }