diff --git a/GameData/UpgradesGUI/Plugins/UpgradesGUI.dll b/GameData/UpgradesGUI/Plugins/UpgradesGUI.dll
new file mode 100644
index 0000000..8060ae3
Binary files /dev/null and b/GameData/UpgradesGUI/Plugins/UpgradesGUI.dll differ
diff --git a/GameData/UpgradesGUI/Plugins/UpgradesGUI.dll.mdb b/GameData/UpgradesGUI/Plugins/UpgradesGUI.dll.mdb
new file mode 100644
index 0000000..5d2c98c
Binary files /dev/null and b/GameData/UpgradesGUI/Plugins/UpgradesGUI.dll.mdb differ
diff --git a/GameData/UpgradesGUI/UpgradesGUI.dll b/GameData/UpgradesGUI/UpgradesGUI.dll
deleted file mode 100644
index 2f6b0d4..0000000
Binary files a/GameData/UpgradesGUI/UpgradesGUI.dll and /dev/null differ
diff --git a/GameData/UpgradesGUI/UpgradesGUI.version b/GameData/UpgradesGUI/UpgradesGUI.version
index 072de3b..723a227 100644
--- a/GameData/UpgradesGUI/UpgradesGUI.version
+++ b/GameData/UpgradesGUI/UpgradesGUI.version
@@ -18,8 +18,8 @@
"KSP_VERSION":
{
"MAJOR":1,
- "MINOR":2,
- "PATCH":2
+ "MINOR":7,
+ "PATCH":3
},
"KSP_VERSION_MIN":
{
@@ -30,7 +30,7 @@
"KSP_VERSION_MAX":
{
"MAJOR":1,
- "MINOR":2,
- "PATCH":2
+ "MINOR":7,
+ "PATCH":9
}
}
\ No newline at end of file
diff --git a/UpgradesUIExtensions/EditorTooltipWithUpgrades.cs b/UpgradesUIExtensions/EditorTooltipWithUpgrades.cs
index 3263ae7..0b2e4d0 100644
--- a/UpgradesUIExtensions/EditorTooltipWithUpgrades.cs
+++ b/UpgradesUIExtensions/EditorTooltipWithUpgrades.cs
@@ -1,6 +1,6 @@
/*
FUTURE PLANS :
-Be able to select wich upgarde we want on the part in editor partlist UI :
+Be able to select which upgarde we want on the part in editor partlist UI :
maybe by extending PartListTooltipWidget with a special "upgradewidget" for each active and available update
this widget can be clicked on to be disabled, wich update the part prefab, the widget list and tooltip part stats and widget list with the previous upgrade.
then we need to hook onpartadded to alter the created part according to the tooltip state
@@ -228,7 +228,7 @@ private string GetPartInfo(Part part)
// Resource list in green (note : GetInfo() doesn't have the same format as stock)
foreach (PartResource pr in part.Resources)
{
- basicInfo += "" + pr.info.title + ": " + pr.maxAmount.ToString("F1") + "\n";
+ basicInfo += "" + pr.part.partInfo.title + ": " + pr.maxAmount.ToString("F1") + "\n";
}
basicInfo += "";
diff --git a/UpgradesUIExtensions/Properties/AssemblyInfo.cs b/UpgradesUIExtensions/Properties/AssemblyInfo.cs
index 08d975d..8dd48d9 100644
--- a/UpgradesUIExtensions/Properties/AssemblyInfo.cs
+++ b/UpgradesUIExtensions/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.5.0.0")]
-[assembly: AssemblyFileVersion("1.5.0.0")]
+[assembly: AssemblyVersion("1.5.0.1")]
+[assembly: AssemblyFileVersion("1.5.0.1")]
diff --git a/UpgradesUIExtensions/UpgradesGUI.csproj b/UpgradesUIExtensions/UpgradesGUI.csproj
index 435701d..6b174c9 100644
--- a/UpgradesUIExtensions/UpgradesGUI.csproj
+++ b/UpgradesUIExtensions/UpgradesGUI.csproj
@@ -31,7 +31,7 @@
- ..\..\..\..\Kerbal.Space.Program.v1.2.2.1622.DEV\KSP_x64_Data\Managed\Assembly-CSharp.dll
+ $(DevDir)\KSP_x64_Data\Managed\Assembly-CSharp.dll
@@ -40,10 +40,10 @@
- ..\..\..\..\Kerbal.Space.Program.v1.2.2.1622.DEV\KSP_x64_Data\Managed\UnityEngine.dll
+ $(DevDir)\KSP_x64_Data\Managed\UnityEngine.dll
- ..\..\..\..\Kerbal.Space.Program.v1.2.2.1622.DEV\KSP_x64_Data\Managed\UnityEngine.UI.dll
+ $(DevDir)\KSP_x64_Data\Managed\UnityEngine.UI.dll
@@ -57,9 +57,10 @@
- "C:\Users\Got\Desktop\KSP\Plugins projects\UpgradesUIExtensions\UpgradesUIExtensions\pdb2mdb.exe" "C:\Users\Got\Desktop\KSP\Plugins projects\UpgradesUIExtensions\UpgradesUIExtensions\UpgradesUIExtensions\bin\Debug\UpgradesGUI.dll"
-xcopy /Y "C:\Users\Got\Desktop\KSP\Plugins projects\UpgradesUIExtensions\UpgradesUIExtensions\UpgradesUIExtensions\bin\Debug\UpgradesGUI.dll" "C:\Users\Got\Desktop\KSP\Kerbal.Space.Program.v1.2.2.1622.DEV\GameData\"
-xcopy /Y "C:\Users\Got\Desktop\KSP\Plugins projects\UpgradesUIExtensions\UpgradesUIExtensions\UpgradesUIExtensions\bin\Debug\UpgradesGUI.dll.mdb" "C:\Users\Got\Desktop\KSP\Kerbal.Space.Program.v1.2.2.1622.DEV\GameData\"
+
+ "C:\KSP_DEV\Workspace\UpgradesUIExtensions\pdb2mdb.exe" "C:\KSP_DEV\Workspace\UpgradesUIExtensions\UpgradesUIExtensions\bin\Debug\UpgradesGUI.dll"
+ xcopy /Y "C:\KSP_DEV\Workspace\UpgradesUIExtensions\UpgradesUIExtensions\bin\Debug\UpgradesGUI.dll" "C:\KSP_DEV\Workspace\UpgradesUIExtensions\GameData\UpgradesGUI\Plugins\"
+ xcopy /Y "C:\KSP_DEV\Workspace\UpgradesUIExtensions\UpgradesUIExtensions\bin\Debug\UpgradesGUI.dll.mdb" "C:\KSP_DEV\Workspace\UpgradesUIExtensions\GameData\UpgradesGUI\Plugins\"