Circumstances: Every game with pets.
What happened: Pets never nuzzle the colonists.
What you expected to happen: They nuzzle colonists giving them a mood boost.
How we can reproduce the bug:
The class jobgiver_nuzzle has the line
where p.RaceProps.Humanlike && p.SpawnedInWorld && p.Position.InHorDistOf(pawn.Position, 15f) && pawn.GetRoom() == p.GetRoom() && !p.Position.IsForbidden(pawn) && !pawn.CasualInterruptibleNow()
!pawn.CasualInterruptibleNow() appears to mean it only checks for a pawn to nuzzle that is NOT in a position to be interrupted (and therefore nuzzled)?
Changing this to pawn.CasualInterruptibleNow() allows pets to nuzzle colonists as often as it seems intended.
I take that code is in the dll?
Assembly-CSharp.dll, yes.
How can i edit this file? Do i need a program i looked at it through notepad and couldnt make sence of anything. Plz help meh
The "fix" is for the devs, bar modding there isnt a way to fix this...
I may as well post this here in case anyone else wants it?..
It only changes the animal thinktree to point to a different class with the nuzzle checking fixed.
[attachment deleted due to age]
thank you
Quote from: Britnoth on November 10, 2015, 07:08:28 PM
I may as well post this here in case anyone else wants it?..
It only changes the animal thinktree to point to a different class with the nuzzle checking fixed.
Excellent, thank you Britnoth.
Fixed, thanks. I appreciate the fix.