Skip to content
Snippets Groups Projects
Commit 3d4586f5 authored by Ed86's avatar Ed86
Browse files

reduced maximum slider value of maxDistancetowalk to 5000, added check if it...

reduced maximum slider value of maxDistancetowalk to 5000, added check if it is less than 100 to use DistanceToSquared instead of pather, which should have less perfomance impact, but who knows is its even noticable
parent b1a66efe
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@
<StackRjwParts_name>Rjw parts stacking</StackRjwParts_name>
<StackRjwParts_desc>Stack rjw parts in pawn health tab \n(Label x count)</StackRjwParts_desc>
<maxDistancetowalk_name>Sex distance limit</maxDistancetowalk_name>
<maxDistancetowalk_desc>Sets how much effort pawn AI willing to do to reach sex destination/target. This is affected by obstacles, pawn speed and ground modifiers.\n Default 250 ~20 cells.</maxDistancetowalk_desc>
<maxDistancetowalk_desc>Sets how much effort pawn AI willing to do to reach sex destination/target(PawnPath). This is affected by obstacles, pawn speed and ground modifiers.\n Default 250 ~20 cells.\n\n If set less than 100, switches to cells distance(DistanceToSquared), which is probably less stressfull than pathing, but ignores obstacles (e.g. walls, mountains)</maxDistancetowalk_desc>
<WildMode_name>Wild mode</WildMode_name>
<WildMode_desc>EXPERIMENTAL - DO NOT REPORT BUGS IF THIS IS ENABLED. \n\nNo rules for sex. Most limiting requirements are turned off. Enjoy the wildest side of Rimworld.</WildMode_desc>
......
......@@ -19,7 +19,7 @@ namespace rjw
listingStandard.CheckboxLabeled("StackRjwParts_name".Translate(), ref RJWSettings.StackRjwParts, "StackRjwParts_desc".Translate());
listingStandard.Gap(5f);
listingStandard.Label("maxDistancetowalk_name".Translate() + ": " + (RJWSettings.maxDistancetowalk), -1f, "maxDistancetowalk_desc".Translate());
RJWSettings.maxDistancetowalk = listingStandard.Slider((int)RJWSettings.maxDistancetowalk, 0, 50000);
RJWSettings.maxDistancetowalk = listingStandard.Slider((int)RJWSettings.maxDistancetowalk, 0, 5000);
//listingStandard.Gap(30f);
listingStandard.NewColumn();
......
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