Little farmyard fixes

Bunch of little things. Make sure restraints setting isn't lost, some fixes from static analysis and sanity checker, etc.

@DCoded - $FarmerDevotionThreshold, $FarmerTrustThreshold, and $FarmerHealthBonus are all undefined and will lead to NaN errors for farm workers. Please take a look at that. They should probably be constants anyway, if there's no way for the player to change them.

Merge request reports

Loading