mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
4.1.1 compatibility
This commit is contained in:
parent
2b2eee2e6f
commit
150e567a1d
7 changed files with 34 additions and 38 deletions
|
@ -41,11 +41,10 @@ namespace Rimworld_Animations {
|
|||
get_loved.FailOn(() => Partner.CurJobDef != DefDatabase<JobDef>.GetNamed("JoinInBedAnimation", true));
|
||||
get_loved.defaultCompleteMode = ToilCompleteMode.Never;
|
||||
get_loved.socialMode = RandomSocialMode.Off;
|
||||
get_loved.handlingFacing = true;
|
||||
get_loved.AddPreTickAction(delegate {
|
||||
if (pawn.IsHashIntervalTick(ticks_between_hearts))
|
||||
MoteMaker.ThrowMetaIcon(pawn.Position, pawn.Map, ThingDefOf.Mote_Heart);
|
||||
if (pawn.IsHashIntervalTick(ticks_between_thrusts))
|
||||
xxx.sexTick(pawn, Partner, false);
|
||||
});
|
||||
get_loved.AddFinishAction(delegate {
|
||||
if (xxx.is_human(pawn))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue