mirror of
https://gitgud.io/c0ffeeeeeeee/rjw-events.git
synced 2024-08-14 23:57:42 +00:00
update for 1.3
This commit is contained in:
parent
fdb7dbfc86
commit
bc23c0d62f
6 changed files with 6 additions and 5 deletions
BIN
1.3/Assemblies/RJW-Events.dll
Normal file
BIN
1.3/Assemblies/RJW-Events.dll
Normal file
Binary file not shown.
|
@ -40,7 +40,7 @@
|
|||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="RJW">
|
||||
<HintPath>..\rjw-master\1.2\Assemblies\RJW.dll</HintPath>
|
||||
<HintPath>..\rjw\1.3\Assemblies\RJW.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
|
|
|
@ -18,7 +18,8 @@ namespace RJW_Events
|
|||
}
|
||||
protected override bool TryFindGatherSpot(Pawn organizer, out IntVec3 spot)
|
||||
{
|
||||
return RCellFinder.TryFindGatheringSpot_NewTemp(organizer, this.def, false, out spot);
|
||||
|
||||
return RCellFinder.TryFindGatheringSpot(organizer, this.def, false, out spot);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ namespace RJW_Events
|
|||
{
|
||||
if (this.pawn.IsHashIntervalTick(this.ticks_between_hearts))
|
||||
{
|
||||
this.ThrowMetaIcon(this.pawn.Position, this.pawn.Map, ThingDefOf.Mote_Heart);
|
||||
FleckMaker.ThrowMetaIcon(this.pawn.Position, this.pawn.Map, FleckDefOf.Heart);
|
||||
}
|
||||
this.SexTick(this.pawn, this.Partner, true, true);
|
||||
SexUtility.reduce_rest(this.Partner, 1f);
|
||||
|
|
|
@ -61,7 +61,7 @@ namespace RJW_Events
|
|||
{
|
||||
if (this.pawn.IsHashIntervalTick(this.ticks_between_hearts))
|
||||
{
|
||||
base.ThrowMetaIcon(this.pawn.Position, this.pawn.Map, ThingDefOf.Mote_Heart);
|
||||
FleckMaker.ThrowMetaIcon(this.pawn.Position, this.pawn.Map, FleckDefOf.Heart);
|
||||
}
|
||||
};
|
||||
toil.AddEndCondition(delegate
|
||||
|
|
|
@ -55,7 +55,7 @@ namespace RJW_Events
|
|||
return base.VoluntaryJoinPriorityFor(p);
|
||||
}
|
||||
|
||||
public bool IsGatheringAboutToEnd()
|
||||
public new bool IsGatheringAboutToEnd()
|
||||
{
|
||||
return timeoutTrigger.TicksLeft < 300;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue