Skip to content

Commit 6dd1644

Browse files
committed
- converted getplanetaryresourcemapdata to a read only property.
-updated changelog
1 parent 69e0017 commit 6dd1644

3 files changed

Lines changed: 11 additions & 9 deletions

File tree

GameData/Interstellar/changelog.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,17 @@ Experimental Version 0.12.0 - for ksp v0.24.2
4040
- Fission and Pfission now both use general EnrichedUranium and DepletedUranium resources. (For compatibility.)
4141
- EnrichedUranium can be mined with the Refinery.
4242
- Corrected power consumption of generators. (rakkhin)
43-
- Corrected behavior or Microwave transmitters. (rakkhin)
43+
- Corrected behavior of Microwave transmitters. (rakkhin)
4444
- Improved he-3 decay tracking. (mellon85)
4545
- Fixed an issue with Vista and MW throttling. (maybe.)
4646
- Many many tooltips have been decluttered.
47+
- Thermal Turbojets will now disable themselves before critical overheating occurs.
48+
- Plasma Thrusters now have thrust vectoring.
49+
- Science lab now has a science container and can do crew reports.
50+
- Support for CommunityResourcePack.
51+
- ORS v 1.2.0
52+
- Fuel resources are now tweakable in the VAB.
53+
- Initial resource cost implimentation. (Better balance will come in a later version.)
4754

4855

4956
Version 0.11.0

OpenResourceSystem/ORSPlanetaryResourceMapData.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -372,14 +372,9 @@ protected static bool lineOfSightToPosition(Vector3d a, CelestialBody referenceB
372372
return true;
373373
}
374374

375-
public static Dictionary<string, ORSPlanetaryResourceInfo> getPlaneteryResourceMapData()
376-
{
377-
378-
return body_resource_maps;
375+
public static Dictionary<string, ORSPlanetaryResourceInfo> getPlaneteryResourceMapData { get { return body_resource_maps; } }
379376

380-
}
381377

382-
383378

384379

385380
}

OpenResourceSystem/ORSResourceScanner.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public override void OnUpdate()
4141
{
4242
ORSPlanetaryResourceMapData.updatePlanetaryResourceMap();
4343
if (resourceInfo == null)
44-
if (ORSPlanetaryResourceMapData.getPlaneteryResourceMapData().ContainsKey(resourceName))
45-
resourceInfo = ORSPlanetaryResourceMapData.getPlaneteryResourceMapData()[resourceName];
44+
if (ORSPlanetaryResourceMapData.getPlaneteryResourceMapData.ContainsKey(resourceName))
45+
resourceInfo = ORSPlanetaryResourceMapData.getPlaneteryResourceMapData[resourceName];
4646
Events["DisplayResource"].active = Events["DisplayResource"].guiActive = !ORSPlanetaryResourceMapData.resourceIsDisplayed(resourceName) && mapViewAvailable;
4747
Events["DisplayResource"].guiName = "Display " + resourceName + " hotspots";
4848
Events["HideResource"].active = Events["HideResource"].guiActive = ORSPlanetaryResourceMapData.resourceIsDisplayed(resourceName) && mapViewAvailable;

0 commit comments

Comments
 (0)