RimWorld

RimWorld

970 ratings
While You Are Nearby
3
5
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5
File Size
Posted
Updated
500.613 KB
25 Mar, 2022 @ 4:00pm
7 Jul, 2024 @ 2:17pm
16 Change Notes ( view )

Subscribe to download
While You Are Nearby

In 1 collection by pureMJ
Common Sense +
5 items
Description
Colonist will now be more likely to do jobs nearby instead of walking long distances.



Have you been tired of seeing your colonist walking 100 tiles just to harvest that single corn before walking another 100 tiles back to sow the empty healroot fields, and then walk to the corn again because another corn plant just matured? Fear not as this mod comes into rescue to boost the efficiency of your colony.

Updates
v0.7.1 Emergent bug fix: Error messages by v0.7.0.
v0.7.0 Now mechs from Biotech DLC can work nearby too! (1.4 and older versions will not be updated anymore)
v0.6.0 Now supports 1.5.
v0.5.1 Fixed a major bug introduced by v0.5.0. Now the AI logic won't crash on non-work jobs. As a byproduct, also improved the mod performance.
v0.5.0 Added settings to exclude work types from long distance work and from nearby work.
v0.4.0 Now supports 1.4.
v0.3.0 Added multiple language support. Now has an option to display debug messages in dev mode.
v0.2.4 Fixed a major bug. Colonist will no longer stand still when there are unreachable floors to smooth nearby.
v0.2.3 Fixed minor bugs/conflicts with some other mods so that basic jobs like go to medical beds will no longer by overridden by nearby job search.
v0.2.2 Performance improvement.

Details
- Nearby Job Search
Pawns will now boost priorities of work jobs nearby (12 tiles radius) by 1. This only activates if vanilla decides to give a work job that is too far away (32 tiles away). Non work jobs (eating, sleeping, etc.) are not affected.

- Vanilla Chance:
There is a 5% chance that colonist skip this mod logic and always stick to vanilla behavior. This makes sure that colonist will not be bind to the same location for too long.
(5% means we reduced the long walking cost by 20 times, which should be enough for efficiency purposes)

- Configuration:
The numbers mentioned above can be changed in the mod settings.

Tips: You can set the Priority Boost setting to 0 and it will still have an effect: You pawn will do works nearby first when it has the same priority with a far away job.

Recommendation: Use Fluffy's Work Tab mod so you have more priority tier to configure.

F.A.Q
How much impact does this mod have on performance?
  • In practice I tested multiple games and there is no observable performance impact.
  • Using Dubs Performance Analyzer I measured the impact in real game play and the number is tiny.
  • Theoretically, the average impact of this mod should be almost 0 and the worst case performance is the same as the worst case vanilla game performance.

Misc
Safe to add or remove from saves.

中文教程:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2786959896


Planned Feature Next
- Add more tiers for priority boost based on distance.
- Different settings for each colonist.

Known Issues:
- Occasionally a colonist will stubbornly do what vanilla game tells them to do and ignore this mod for a few seconds. Once that high priority job is done, the colonist will again be able to trigger this mod and search job nearby again. It's harmless and safe to ignore. The root cause is unclear but it's most likely some sort of cached job logic.

Recommended Mods
This mod is in the category of QOL mods that change behavior and make sense.
A few mods of the same type I really like are:
  • Common Sense
  • Pickup and Haul
  • While You're Up / PUAH+

Credits & Links

Many thanks to the members of the #mod-development channel on the Rimworld Discord server!

If you enjoy this mod, please check out my other Rimworld mods on Steam Workshop!
Popular Discussions View All (5)
51
7 Jun @ 10:29pm
Bug Report Thread
pureMJ
1
4 May, 2022 @ 8:53pm
Bug : BurnItForFuel
Winter
0
12 hours ago
the age old "1.6 when"
Kowhaifan
232 Comments
Echowhite 6 hours ago 
1.6寻路更新了,不知道是否还需要这样的mod辅助。感谢dalao的付出。:AST_Anulis:
Felnel 12 hours ago 
1.6?
OTOHAdie 13 hours ago 
1.6會造成人物停止活動
4000 pounds of cocaine 23 hours ago 
hey, do you ever think 1.6 would be possible? Thank you for all the hard work!
大番薯之怒 11 Jul @ 12:35am 
bro 1.6需要你~
Evono 29 May @ 5:05am 
Ah thanks ! and no worries
pureMJ  [author] 29 May @ 4:51am 
@Evono
Sorry, I accidentally deleted your comment.
yes, 'while you are up' is no longer needed.
Evono 28 May @ 6:17am 
@BladeofSharpness observing the same , my Plant pawn ( Priority 1 ) cooks instead ( priority 3 ) because the kitchen and rec room to eat are close together :/
Gerewoatle 26 May @ 12:57pm 
@Evono - They didn't say "Pickup and Haul", they said "While You Are Up", which is a different mod.
Evono 26 May @ 6:52am 
@puremj what do you mean pickup and haul isn't needed anymore and is part of vanilla ? Iam a returning player and didn't knew this , which update is it ? So I can read on it.