How to Force Pwns to use new Joy items for testing.

Started by QuantumX, June 02, 2017, 04:03:20 PM

Previous topic - Next topic

QuantumX

Can anybody tell me how i can force a pawn to use a new joy item i created to test its function?

I'm creating a few of them and have used the -20 joy tool but they never use the Joy items usually go stargaze or something, if there a way to force them to use a particular joy item in the debug mode?

Thirite

What I do for testing Jobs is make a Hediff in C# which looks for X (whatever object the job targets) then force gives them the job with X as the target. Then the hediff removes itself, all done on the PostMake method. Then in game I just use developer mode to add that hediff to whatever pawn I want to test the job with.