rjw-events/Source/JobDrivers/JobDriver_GetNaked.cs

30 lines
599 B
C#
Raw Normal View History

2021-04-12 07:48:48 +00:00
using rjw;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse.AI;
namespace RJW_Events
{
class JobDriver_GetNaked : JobDriver
{
public override bool TryMakePreToilReservations(bool errorOnFailed)
{
return true;
}
protected override IEnumerable<Toil> MakeNewToils()
{
Toil t = new Toil();
t.AddFinishAction(() => {
SexUtility.DrawNude(pawn);
});
yield return t;
}
}
}