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;
|
2021-07-28 06:10:59 +00:00
|
|
|
|
using Verse;
|
2021-04-12 07:48:48 +00:00
|
|
|
|
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(() => {
|
2021-07-28 06:10:59 +00:00
|
|
|
|
GlobalTextureAtlasManager.TryMarkPawnFrameSetDirty(pawn);
|
2021-04-12 07:48:48 +00:00
|
|
|
|
SexUtility.DrawNude(pawn);
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
yield return t;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|