electricity bugfixes, destructable doors, ai improvements, removed rope, container changes

This commit is contained in:
Regalis
2015-05-27 01:02:30 +03:00
parent a1196d1876
commit 80648ffd46
51 changed files with 701 additions and 509 deletions
+3 -2
View File
@@ -126,9 +126,10 @@ namespace Subsurface.Items.Components
if (powerUpTask==null || powerUpTask.IsFinished)
{
powerUpTask = new PropertyTask(Game1.gameSession.taskManager, item, IsRunning, 20.0f, "Power up the reactor");
}
}
}
item.Condition -= temperature*deltaTime*0.00005f;
if (temperature > shutDownTemp)
@@ -157,7 +158,7 @@ namespace Subsurface.Items.Components
FissionRate = Math.Max(fissionRate, heat / 200.0f);
//the power generated by the reactor is equal to the temperature
currPowerConsumption = -temperature;
currPowerConsumption = -temperature*powerPerTemp;
if (item.currentHull != null)
{