We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Guests are in restraints but they DO NOT show they are, because of method:
// RimWorld.RestraintsUtility public static bool ShouldShowRestraintsInfo(Pawn pawn) { return pawn.IsPrisonerOfColony && RestraintsUtility.InRestraints(pawn); }
But they are slowed indeed:
// Verse.Pawn private int TicksPerMove(bool diagonal) { float num = this.GetStatValue(StatDefOf.MoveSpeed, true); if (RestraintsUtility.InRestraints(this)) { num *= 0.35f; } (...) }
I assume making lord NeverInRestraints property to true will solve this issue.
// RimWorld.RestraintsUtility public static bool InRestraints(Pawn pawn) { if (!pawn.Spawned) { return false; } if (pawn.HostFaction == null) { return false; } Lord lord = pawn.GetLord(); return lord == null || lord.LordJob == null || !lord.LordJob.NeverInRestraints; }
btw. great mod, best wishes, Avius
The text was updated successfully, but these errors were encountered:
Thanks for reporting this and including the solution!
Sorry, something went wrong.
It's fixed for the upcoming B18 version.
No branches or pull requests
Hello,
Guests are in restraints but they DO NOT show they are, because of method:
But they are slowed indeed:
I assume making lord NeverInRestraints property to true will solve this issue.
btw. great mod,
best wishes,
Avius
The text was updated successfully, but these errors were encountered: