Skip to content

Commit

Permalink
remove EVA counter. we relly need a rewrite of the habitat code.
Browse files Browse the repository at this point in the history
Fixes #348
Fixes #349
Fixes #350
  • Loading branch information
SirMortimer committed Jul 16, 2019
1 parent 77a0b95 commit 7575f1b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/Kerbalism/UI/Planner/Planner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,6 @@ private static void AddSubPanelHabitat(Panel p)
p.AddContent("scrubbing", waste_status, waste_tooltip);
p.AddContent("humidity", moist_status, moist_tooltip);
p.AddContent("pressurization", atmo_status, atmo_tooltip);
p.AddContent("EVA's available", env_analyzer.breathable ? "infinite" : Lib.HumanReadableInteger(vessel_analyzer.evas),
env_analyzer.breathable ? "breathable atmosphere" : "approx (derived from stored N2)");
}
#endregion

Expand Down
4 changes: 0 additions & 4 deletions src/Kerbalism/UI/Planner/VesselAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ void Analyze_habitat(List<Part> parts, ResourceSimulator sim, EnvironmentAnalyze
// determine if the vessel has pressure control capabilities
pressurized = sim.Resource("Atmosphere").produced > 0.0 || env.breathable;

// determine number of EVA's using available Nitrogen
evas = (uint)(Math.Max(0, sim.Resource("Nitrogen").amount - 330) / PreferencesLifeSupport.Instance.evaAtmoLoss);

// determine if the vessel has scrubbing capabilities
scrubbed = sim.Resource("WasteAtmosphere").consumed > 0.0 || env.breathable;

Expand Down Expand Up @@ -257,7 +254,6 @@ void Analyze_qol(List<Part> parts, ResourceSimulator sim, EnvironmentAnalyzer en
public double volume; // total volume in m^3
public double surface; // total surface in m^2
public bool pressurized; // true if the vessel has pressure control capabilities
public uint evas = 0; // number of EVA's using available Nitrogen
public bool scrubbed; // true if the vessel has co2 scrubbing capabilities
public bool humid; // true if the vessel has co2 scrubbing capabilities

Expand Down

0 comments on commit 7575f1b

Please sign in to comment.