mirror of
https://gitgud.io/c0ffeeeeeeee/rjw-toys-and-masturbation.git
synced 2024-08-15 00:43:44 +00:00
better bed positioning + mirroring
This commit is contained in:
parent
fbac7e273d
commit
d617dc6a1b
10 changed files with 10 additions and 12 deletions
|
@ -34,14 +34,12 @@ namespace RJW_ToysAndMasturbation {
|
|||
else {
|
||||
|
||||
yield return new FloatMenuOption(FloatMenuOptionLabel(pawn), delegate {
|
||||
Building_Bed bed = pawn.ownership?.OwnedBed;
|
||||
if (bed != null && (WanderUtility.InSameRoom(bed.Position, parent.Position, pawn.Map) || RJWPreferenceSettings.FapInBed && pawn.jobs.curDriver is JobDriver_LayDown)) {
|
||||
|
||||
if (RJWPreferenceSettings.FapInBed && pawn.jobs.curDriver is JobDriver_LayDown down) {
|
||||
Building_Bed bed = down.Bed;
|
||||
if (bed != null) {
|
||||
Job j = JobMaker.MakeJob(MasturbateToyDefOf.MasturbateWithToy, parent, bed, bed.Position);
|
||||
j.count = 1;
|
||||
pawn.jobs.TryTakeOrderedJob(j);
|
||||
}
|
||||
Job j = JobMaker.MakeJob(MasturbateToyDefOf.MasturbateWithToy, parent, bed, bed.Position);
|
||||
j.count = 1;
|
||||
pawn.jobs.TryTakeOrderedJob(j);
|
||||
}
|
||||
else {
|
||||
Job j = JobMaker.MakeJob(MasturbateToyDefOf.MasturbateWithToy, parent, null, FapLocation(pawn));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue