public void PushHeat(float amount) { if (VecNorth.UsesOutdoorTemperature()) { return; } GenTemperature.PushHeat(VecNorth, amount); }
public void PushHeat(float amount) { if (Net) { compAir.SetNetTemperatureDirect(amount); } else { if (VecNorth.UsesOutdoorTemperature(this.Map)) { return; } GenTemperature.PushHeat(VecNorth, this.Map, amount); } }
public override void Tick() { if (!this.IsHashIntervalTick(60)) { return; } neighCooler = AdjacentCooler(); if (compPowerTrader.PowerOn && neighCooler != null && !VecNorth.Impassable()) { isAvailable = true; compPowerTrader.PowerOutput = -compPowerTrader.Props.basePowerConsumption; } else { isAvailable = false; compPowerTrader.PowerOutput = -compPowerTrader.Props.basePowerConsumption * 0.1f; } }