mirror of
https://gitgud.io/c0ffeeeeeeee/rjw-toys-and-masturbation.git
synced 2024-08-15 00:43:44 +00:00
bonus mood, thinknode AI
This commit is contained in:
parent
1b49e235cf
commit
da8939c4b8
9 changed files with 95 additions and 9 deletions
|
@ -32,7 +32,7 @@ namespace RJW_ToysAndMasturbation {
|
|||
yield return Toils_Goto.GotoThing(TargetIndex.A, PathEndMode.ClosestTouch).FailOnDespawnedNullOrForbidden(TargetIndex.A);
|
||||
yield return Toils_Haul.StartCarryThing(TargetIndex.A);
|
||||
|
||||
if (!SexToyUtility.isRJWAnimationsLoaded || true /*True for now, anims come later; disable once created animations*/) {
|
||||
if (!SexToyUtility.isRJWAnimationsLoaded || true /*True for now*/) {
|
||||
//place down if anims isn't loaded
|
||||
yield return Toils_Haul.CarryHauledThingToCell(TargetIndex.C);
|
||||
yield return Toils_Haul.PlaceHauledThingInCell(TargetIndex.C, Toils_Goto.GotoCell(TargetIndex.C, PathEndMode.OnCell), storageMode: false);
|
||||
|
@ -66,6 +66,8 @@ namespace RJW_ToysAndMasturbation {
|
|||
cleanup.AddQueuedTarget(TargetIndex.A, filth);
|
||||
pawn.jobs.jobQueue.EnqueueFirst(cleanup);
|
||||
}
|
||||
//bonus mood
|
||||
pawn.needs?.mood?.thoughts?.memories?.TryGainMemory(MasturbateToyDefOf.UsedSexToy);
|
||||
|
||||
};
|
||||
yield return AfterToil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue