Skip to content

Commit

Permalink
3.13.0: Updated for Rimworld 1.5
Browse files Browse the repository at this point in the history
- Added mod icon
  • Loading branch information
UnlimitedHugs committed Mar 17, 2024
2 parents a536e12 + d196c67 commit 7c6cb77
Show file tree
Hide file tree
Showing 11 changed files with 74 additions and 11 deletions.
10 changes: 5 additions & 5 deletions AllowTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>false</Optimize>
<OutputPath>Mods\AllowTool\v1.4\Assemblies\</OutputPath>
<OutputPath>Mods\AllowTool\v1.5\Assemblies\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand All @@ -26,16 +26,16 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="0Harmony, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>packages\Lib.Harmony.2.1.0\lib\net472\0Harmony.dll</HintPath>
<Reference Include="0Harmony, Version=2.2.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Lib.Harmony.2.2.2\lib\net472\0Harmony.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>..\RimworldManaged\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="HugsLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>packages\UnlimitedHugs.Rimworld.HugsLib.9.0.0\lib\net472\HugsLib.dll</HintPath>
<Reference Include="HugsLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\UnlimitedHugs.Rimworld.HugsLib.10.0.1\lib\net472\HugsLib.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down
Binary file added ArtSource/modIcon.psd
Binary file not shown.
4 changes: 3 additions & 1 deletion Mods/AllowTool/About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
<li>1.2</li>
<li>1.3</li>
<li>1.4</li>
<li>1.5</li>
</supportedVersions>
<url>https://ludeon.com/forums/index.php?topic=17218.0</url>
<packageId>UnlimitedHugs.AllowTool</packageId>
<description>Version: 3.12.1
<description>Version: 3.13.0

A set of tools to make your life on the Rim a bit easier.
Easily forbid and unforbid items, select similar things, have things hauled urgently and affect the entire map with powerful new tool extensions.
Expand All @@ -21,6 +22,7 @@ All tools are found in the Architect &gt; Orders menu. Right-click tools with th
Pressing the Context Action key ("Equals" by default) will activate the first right-click menu action of the tool you are holding.

All tools are accessible from anywhere by pressing their shortcut key without opening the menu. See the Keyboard configuration panel in the options menu to customize the hotkeys.</description>
<modIconPath IgnoreIfNoMatchingField="True">AllowToolModIcon</modIconPath>
<modDependencies>
<li>
<packageId>UnlimitedHugs.HugsLib</packageId>
Expand Down
2 changes: 1 addition & 1 deletion Mods/AllowTool/About/ModSync.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ModSyncNinjaData>
<ID>e0d34ab2-0085-4745-99b7-9066f2180320</ID>
<ModName>Allow Tool</ModName>
<Version>3.12.1</Version>
<Version>3.13.0</Version>
<SaveBreaking>False</SaveBreaking>
<Host name="Github">
<Owner>UnlimitedHugs</Owner>
Expand Down
6 changes: 5 additions & 1 deletion Mods/AllowTool/LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@
<v1.4>
<li>/</li>
<li>v1.4</li>
</v1.4>
</v1.4>
<v1.5>
<li>/</li>
<li>v1.5</li>
</v1.5>
</loadFolders>
Binary file added Mods/AllowTool/Textures/AllowToolModIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Mods/AllowTool/v1.5/Assemblies/AllowTool.dll
Binary file not shown.
18 changes: 18 additions & 0 deletions Mods/AllowTool/v1.5/Defs/TipSetDefs/AllowToolTips.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<TipSetDef>
<defName>AllowToolTips</defName>
<tips>
<li TKey="ContextKey">The "Equals" key activates the first tool right-click action when something is selected.</li>
<li TKey="MineConnected">Pressing the "Equals" key after selecting a mineable resource will designate the whole cluster for mining.</li>
<li TKey="ToolModifiers">Some tools in the Orders menu behave differently when used with modifier keys. Hover over the tools for more information.</li>
<li TKey="ToolPickup">When something is selected, you can pick up the appropriate tool by holding Shift and clicking one of the command buttons.</li>
<li TKey="ModOptions">Many mods have settings you can tweak to suit your play style. The Mod Settings button is found in the Options menu.</li>
<li TKey="AllowAll">Pressing the "Home" key will allow all forbidden things on the map.</li>
<li TKey="RightClick">Command buttons with a small mouse icon can be right-clicked for additional special commands.</li>
<li TKey="SelectSimilar">The "Select similar" tool has many uses. It can help find ore deposits, harvest wild healroot and deconstruct cables under walls.</li>
</tips>
</TipSetDef>

</Defs>
39 changes: 39 additions & 0 deletions Mods/AllowTool/v1.5/Defs/WorkTypeDefs/AllowToolWorkTypes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<WorkTypeDef>
<defName>HaulingUrgent</defName>
<labelShort>Haul+</labelShort>
<pawnLabel>Urgent hauler</pawnLabel>
<gerundLabel>Hauling urgently</gerundLabel>
<description>High-priority hauling. Works like the regular kind, but only for things that are manually designated. Use &lt;b&gt;Architect &gt; Orders &gt; Haul Urgently&lt;/b&gt; to designate things to haul.\nAdded by the Allow Tool mod. Can be disabled in Options &gt; Mod Settings.</description>
<verb>Haul urgently</verb>
<naturalPriority>1180</naturalPriority>
<alwaysStartActive>true</alwaysStartActive>
<workTags>
<li>ManualDumb</li>
<li>Hauling</li>
<li>AllWork</li>
</workTags>
</WorkTypeDef>

<WorkTypeDef>
<defName>FinishingOff</defName>
<labelShort>Finish</labelShort>
<pawnLabel>Executor</pawnLabel>
<gerundLabel>Finishing off</gerundLabel>
<description>Quickly and painlessly kill downed creatures.\nAdded by the Allow Tool mod. Can be disabled in Options &gt; Mod Settings.</description>
<verb>Finish off</verb>
<naturalPriority>1140</naturalPriority>
<alwaysStartActive>true</alwaysStartActive>
<visible>false</visible>
<relevantSkills>
<li>Melee</li>
</relevantSkills>
<workTags>
<li>Violent</li>
<li>AllWork</li>
</workTags>
</WorkTypeDef>

</Defs>
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.6.0")]
[assembly: AssemblyFileVersion("3.12.1")]
[assembly: AssemblyFileVersion("3.13.0")]
4 changes: 2 additions & 2 deletions packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Lib.Harmony" version="2.1.0" targetFramework="net472" />
<package id="UnlimitedHugs.Rimworld.HugsLib" version="9.0.0" targetFramework="net472" />
<package id="Lib.Harmony" version="2.2.2" targetFramework="net472" />
<package id="UnlimitedHugs.Rimworld.HugsLib" version="10.0.1" targetFramework="net472" />
</packages>

0 comments on commit 7c6cb77

Please sign in to comment.