Skip to content

Commit

Permalink
Update for Rimworld 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jkluch committed Oct 22, 2022
1 parent b4ec4f3 commit 16f82a3
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 10 deletions.
3 changes: 2 additions & 1 deletion About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<li>1.1</li>
<li>1.2</li>
<li>1.3</li>
<li>1.4</li>
</supportedVersions>
<packageId>jkluch.HaulToStack</packageId>
<modDependencies>
Expand All @@ -30,7 +31,7 @@
<li>UnlimitedHugs.HugsLib</li>
</loadAfter>
<description>
&lt;size=18&gt;Compatible with Version 1.0-1.3&lt;/size&gt;
&lt;size=18&gt;Compatible with Version 1.0-1.4&lt;/size&gt;

&lt;size=18&gt;Features&lt;/size&gt;
Haulers will check for an existing stack to add it's item to.
Expand Down
6 changes: 6 additions & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@
<v1.2>
<li>v1.2</li>
</v1.2>
<v1.3>
<li>v1.3</li>
</v1.3>
<v1.4>
<li>v1.4</li>
</v1.4>
</loadFolders>
21 changes: 13 additions & 8 deletions Source/HaulToStack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\v1.3\Assemblies\</OutputPath>
<OutputPath>..\v1.4\Assemblies\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand All @@ -27,19 +27,19 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\v1.3\Assemblies\</OutputPath>
<OutputPath>..\v1.4\Assemblies\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\Rimworld Dependencies\1.2\Assembly-CSharp.dll</HintPath>
<HintPath>..\..\Rimworld Dependencies\1.4\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>..\..\Rimworld Dependencies\1.2\Assembly-CSharp-firstpass.dll</HintPath>
<HintPath>..\..\Rimworld Dependencies\1.4\Assembly-CSharp-firstpass.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand All @@ -50,7 +50,7 @@
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UnityEngine.CoreModule">
<HintPath>..\..\Rimworld Dependencies\1.2\UnityEngine.CoreModule.dll</HintPath>
<HintPath>..\..\Rimworld Dependencies\1.4\UnityEngine.CoreModule.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
Expand All @@ -63,17 +63,22 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Krafs.Rimworld.Ref">
<Version>1.3.3389</Version>
</PackageReference>
<PackageReference Include="Lib.Harmony">
<Version>2.1.0</Version>
<Version>2.2.2</Version>
<ExcludeAssets>runtime</ExcludeAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="UnlimitedHugs.Rimworld.HugsLib">
<Version>9.0.0</Version>
<Version>9.0.1</Version>
<ExcludeAssets>runtime</ExcludeAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>"$(ProjectDir)Install.bat" $(ConfigurationName) "$(ProjectDir)" "$(ProjectName)" "About Assemblies Languages Textures v1.3" "LoadFolders.xml"</PostBuildEvent>
<PostBuildEvent>"$(ProjectDir)Install.bat" $(ConfigurationName) "$(ProjectDir)" "$(ProjectName)" "About Assemblies Languages Textures v1.4" "LoadFolders.xml"</PostBuildEvent>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion SteamDescription.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[h1]Compatible with Versions 1.0, 1.1, 1.3[/h1]
[h1]Compatible with Versions 1.0-1.4[/h1]

[h1]Features[/h1]
Haulers will prioritize hauling to an existing stack even when multiple pawns are hauling.
Expand Down
Binary file added v1.4/Assemblies/HaulToStack.dll
Binary file not shown.
Binary file added v1.4/Assemblies/HaulToStack.pdb
Binary file not shown.

0 comments on commit 16f82a3

Please sign in to comment.