Skip to content
Snippets Groups Projects
Commit 01c63b86 authored by Ed86's avatar Ed86
Browse files

disabled workgivers if direct control/hero off

parent 05299682
No related branches found
No related tags found
No related merge requests found
......@@ -17,11 +17,16 @@ namespace rjw
public override bool HasJobOnThing(Pawn pawn, Thing t, bool forced = false)
{
if (!forced)
//if (!forced && !RJWSettings.WildMode)
//if (!(forced || RJWSettings.WildMode))
{
//Log.Message("[RJW]WorkGiver_RJW_Sexchecks::not player interaction, exit:" + forced);
return false;
}
if (!(RJWSettings.RPG_direct_control || (RJWSettings.RPG_hero_control && pawn.IsDesignatedHero() && pawn.IsHeroOwner())))
{
//Log.Message("[RJW]WorkGiver_RJW_Sexchecks::direct_control disabled or not hero, exit");
return false;
}
Pawn target = t as Pawn;
if (t is Corpse)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment