-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Labels
question질문으로 사용될 이슈질문으로 사용될 이슈
Description
public class WorkGiver_Warden_BreakToNorigae : WorkGiver_Warden
{
public override Job JobOnThing(Pawn pawn, Thing t, bool forced = false)
{
Pawn prisoner = t as Pawn;
if (prisoner == null || !prisoner.IsPrisonerOfColony) return null;
if (prisoner.guest.interactionMode != DefDatabase<PrisonerInteractionModeDef>.GetNamed("Interaction_BreakToNorigae"))
return null;
if (!pawn.CanReserve(prisoner, 1, -1, null, forced)) return null;
if (prisoner.guest.will > 0) return JobMaker.MakeJob(DefDatabase<JobDef>.GetNamed("Job_WardenSexBreak"), prisoner);
return null;
}
}
how can I solution.
It's about making the inmate a new slave settler.
'Pawn_GuestTracker' does not contain a definition for 'interactionMode' and does not have an accessible extended method 'interactionMode' that allows the first argument of the type 'Pawn_GuestTracker'. Make sure there is a using instruction or assembly reference.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
question질문으로 사용될 이슈질문으로 사용될 이슈