[0.18.1722] Pawn doing a job shes incapable of

Started by Chais, November 26, 2017, 09:37:25 AM

Previous topic - Next topic

Chais

I got this exception:
Attempted to calculate value for disabled stat RecruitPrisonerChance; this is meant as a consistency check, either set the stat to neverDisabled or ensure this pawn cannot accidentally use this stat (thing=Rissa)
Verse.Log:Error(String)
Verse.Log:ErrorOnce(String, Int32)
RimWorld.StatWorker:GetValueUnfinalized(StatRequest, Boolean)
RimWorld.StatWorker:GetValue(StatRequest, Boolean)
RimWorld.StatWorker:GetValue(Thing, Boolean)
RimWorld.StatExtension:GetStatValue(Thing, StatDef, Boolean)
RimWorld.InteractionWorker_RecruitAttempt:Interacted(Pawn, Pawn, List`1)
RimWorld.Pawn_InteractionsTracker:TryInteractWith(Pawn, InteractionDef)
RimWorld.<TryRecruit>c__AnonStorey5:<>m__0()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
RimWorld.<GotoInteractablePosition>c__AnonStorey0:<>m__0()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:Notify_PatherArrived()
Verse.AI.Pawn_PathFollower:PatherArrived()
Verse.AI.Pawn_PathFollower:StartPath(LocalTargetInfo, PathEndMode)
RimWorld.<GotoPrisoner>c__AnonStorey1:<>m__0()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:DriverTick()
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

Rissa is one of my pawns. She is not working as a warden. I do have a prisoner right now. Rissa is currently cleaning. I wasn't looking when the exception was thrown, only a couple of seconds later. I have two mods active: Custom Music and Tech Advancing, but I doubt they have anything to do with it, as they don't interfere with prisoner mechanics at all.
Savegame (password: rimworld)

Chais

Ok. Got the same exception again. And now I know why. The pawn Rissa is incapable of social, thus has wardening disabled but still tried to recruit the prisoner. Oddly enough, she succeeded this time  :o
I'm currently playing with debug mode enabled but that shouldn't make a difference, unless it somehow enables pawns doing jobs they ought to be incapable of.
The game was started with the first 0.18 release, if that makes any difference.

[attachment deleted by admin: too old]

Snafu_RW

Was this save continued from an earlier build? My colony has1 pawn now 'incapable of fighting' (& hence has 'hunter lacks ranged weapon' permanently displayed) when I reloaded the save from an unstable A18 build to v x.1772; it seems that traits aren't persistent thru unstable -> stable saves :(
Dom 8-)

Chais

Quote from: Chais on November 26, 2017, 02:23:44 PM
The game was started with the first 0.18 release, if that makes any difference.
That meant the first A18 pre-release.

NeverPire

Crosslink with this topic :
https://ludeon.com/forums/index.php?topic=37180.0

Game started in 0.18.1704, pawn was a wanderer.
Same issue with the social skill but with a passion at the same time.
No mods, vanilla version.
Bug still active in 0.18.1722.
Savefile available in the topic above.
I will never do worse than what I do now.
It's what self-improvement means.