Skip to content

Commit

Permalink
1.7.3.1 update
Browse files Browse the repository at this point in the history
 + replace (pr.info) with (pr.part.partInfo.title ) Thank you LGG.
+ recompile for 1.7.3
  • Loading branch information
zer0Kerbal committed Aug 8, 2019
1 parent 2a8ea85 commit 125fa60
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 14 deletions.
Binary file added GameData/UpgradesGUI/Plugins/UpgradesGUI.dll
Binary file not shown.
Binary file added GameData/UpgradesGUI/Plugins/UpgradesGUI.dll.mdb
Binary file not shown.
Binary file removed GameData/UpgradesGUI/UpgradesGUI.dll
Binary file not shown.
8 changes: 4 additions & 4 deletions GameData/UpgradesGUI/UpgradesGUI.version
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"KSP_VERSION":
{
"MAJOR":1,
"MINOR":2,
"PATCH":2
"MINOR":7,
"PATCH":3
},
"KSP_VERSION_MIN":
{
Expand All @@ -30,7 +30,7 @@
"KSP_VERSION_MAX":
{
"MAJOR":1,
"MINOR":2,
"PATCH":2
"MINOR":7,
"PATCH":9
}
}
4 changes: 2 additions & 2 deletions UpgradesUIExtensions/EditorTooltipWithUpgrades.cs
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 += "<b>" + pr.info.title + ": </b>" + pr.maxAmount.ToString("F1") + "\n";
basicInfo += "<b>" + pr.part.partInfo.title + ": </b>" + pr.maxAmount.ToString("F1") + "\n";
}

basicInfo += "</color>";
Expand Down
4 changes: 2 additions & 2 deletions UpgradesUIExtensions/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
13 changes: 7 additions & 6 deletions UpgradesUIExtensions/UpgradesGUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\..\Kerbal.Space.Program.v1.2.2.1622.DEV\KSP_x64_Data\Managed\Assembly-CSharp.dll</HintPath>
<HintPath>$(DevDir)\KSP_x64_Data\Managed\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand All @@ -40,10 +40,10 @@
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UnityEngine">
<HintPath>..\..\..\..\Kerbal.Space.Program.v1.2.2.1622.DEV\KSP_x64_Data\Managed\UnityEngine.dll</HintPath>
<HintPath>$(DevDir)\KSP_x64_Data\Managed\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>..\..\..\..\Kerbal.Space.Program.v1.2.2.1622.DEV\KSP_x64_Data\Managed\UnityEngine.UI.dll</HintPath>
<HintPath>$(DevDir)\KSP_x64_Data\Managed\UnityEngine.UI.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand All @@ -57,9 +57,10 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>"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\"</PostBuildEvent>
<PostBuildEvent>
"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\"</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down

0 comments on commit 125fa60

Please sign in to comment.