Skip to content

Commit

Permalink
A15 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
notfood committed Aug 29, 2016
1 parent e1331ff commit c56a68b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<name>Mending</name>
<author>notfood</author>
<url>https://ludeon.com/forums/index.php?topic=22894.0</url>
<targetVersion>0.14.1220</targetVersion>
<targetVersion>0.15.0</targetVersion>
<description>Repair the durability of items.</description>
</ModMetaData>
Binary file modified Assemblies/Mending.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/JobDriver_Mend.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private Toil Mend ()
};
toil.defaultCompleteMode = ToilCompleteMode.Never;
toil.WithEffect (() => curJob.bill.recipe.effectWorking, mendTableTI);
toil.WithSustainer (() => toil.actor.CurJob.bill.recipe.soundWorking);
toil.PlaySustainerOrSound (() => toil.actor.CurJob.bill.recipe.soundWorking);
toil.WithProgressBar(mendTableTI, delegate {
return (float)mendObject.HitPoints / (float)mendObject.MaxHitPoints;
}, false, 0.5f);
Expand Down
12 changes: 4 additions & 8 deletions Source/Mending.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,12 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\RimWorldLinux_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Community Core Library">
<HintPath>..\..\Community Core Library\Assemblies\Community Core Library.dll</HintPath>
<Reference Include="UnityEngine">
<HintPath>..\..\..\..\..\Steam\steamapps\common\RimWorld\RimWorldLinux_Data\Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\..\RimWorldLinux_Data\Managed\UnityEngine.dll</HintPath>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\RimWorld1279Linux_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
Expand Down

0 comments on commit c56a68b

Please sign in to comment.