RimWorld

RimWorld

3,156 ratings
While You're Up (with add-on for PUAH)
6
3
20
2
8
2
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.1, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
1.002 MB
25 Mar, 2020 @ 9:12am
14 Apr, 2024 @ 1:51pm
76 Change Notes ( view )

Subscribe to download
While You're Up (with add-on for PUAH)

Description
Opportunistic hauling.
Haul-to-inventory improvements (if Pick Up And Haul is installed).

Any load order. Add/Remove any time.

GitHub[github.com] Discord[discord.gg] Ko-fi[ko-fi.com]





Much of this mod is improving Pick Up And Haul (optional; installed separately).
If you already use PUAH, you want this mod too.

"But my pawns are walking farther!"
Yes. A slightly longer journey now to avoid a much longer journey next time.


Features
  1. Pick Up And Haul "efficiently unloading"
    We enhance all inventory hauling by unloading only once at each storage destination, in closest order.
    We cache haulable destinations to improve performance.


  2. Opportunistic hauls "on the way to"
    Vanilla has support for opportunities, but with limitations: haulable near your start position, and storage near your job.
    We prefer these, but drop them as requirements to include hauls along the path.

    We skip opportunities when bleeding or forming a caravan.

    Pick Up And Haul
    Modified to grab only surrounding things whose unload path is also opportunistic.


  3. Supplies & ingredients "closer to"
    If hauling resources to storage would bring them closer to their job, do that first (grabbing extra).

    Pick Up And Haul
    Modified to grab extra things headed to the same storage (when higher priority) unless bleeding.
    Grab extra supplies & ingredients headed to the same storage (when equal priority).

    Your builder will never again cross the map to retrieve a single component.




  4. Storage building filters
    Permit or deny for any storage building through settings, or leave automatically managed with mod updates.



Compatibility
Common Sense? Yes. (I prevent incompatible settings from being on at the same time.)
LWM's Deep Storage? Yes. But off by default for Opportunities because storing items takes time.
Perfect Pathfinding? Yes, both of our "Pathfind" settings should be compatible.

@Modders, Since RimWorld v1.0, you can set your JobDef to:
<allowOpportunisticPrefix>true</allowOpportunisticPrefix>


Performance
Vanilla's opportunistic hauling was well-optimized for performance, which this mod painstakingly preserves in its enhancements.
Likewise we aggressively cache all haul destination lookups for all features, even base Pick Up And Haul.




Troubleshooting
• Enable Draw colored path detours in settings.
• Pay attention to job descriptions, is it "on the way to" or "closer to"?
(Moody can display them all.)
• Remember you can disable features without restarting.


Get It Fixed
1. Please save a game when a bug occurs, then reload to verify it reoccurs.
2. Disable the mod from its own options menu - did the bug stop? If so...
3. Send me[discord.gg] your save (Options → Open save data folder). (They zip much smaller.)
I can now fix your bug in days instead of months! 🎉🥳


History
I intended to fork[gist.github.com] the original While You're Up, until I saw RimWorld 1.0 added it[github.com]. This mod improves vanilla's integration, as a successor to the original 💜.


10 jobs in one tick (Standing)
Use "Share logs" and post a link in the comments! <3

This error isn't caused by While You're Up (at least not in years), it's just a link in the chain. WYU, by increasing pawn activity, makes these already-existing issues more visible.

The warning with a link to my Discord is so I can charitably diagnose the actual cause using an unpublished diagnostic mod I've written. (Or at least gather logs to data mine for the cause.)

Diagnosing it usually requires a save file, and < 100 mods. (Too many and I can't load your save, though possibly with Owlchemist's Mid-saver Saver. Or sending me your entire Mods folder.)

2024-05-30
My diagnostics are on pause while waiting for a RimPy update, working on WYU, or enjoying the summer. 😅

You can still join the Discord to send me a save file for later though, and/or to hassle me to get my own diagnostic tool release-ready.


Known Issues
2024-05-30
Pawns should unload before reaching a workbench (like in v1.4), not after. Fix is in progress.
I've also just personally finished adding 3-item shelf support to Pick Up And Haul, but it's not yet live. I may provide a link for beta testing.


Author
Thank you for enjoying my work! ❤️
- Christopher "CodeOptimist" Galpin
My intellectual primer for escaping depression.[weirdist.com]


[github.com] [discord.gg]
[ko-fi.com]
Popular Discussions View All (5)
0
22 Jan, 2024 @ 4:40pm
Suggestion for creating a mod that automatically sets a queue of work per colonist for optimal distribute workplaces
Aeomanate
999 Comments
VitaKaninen 22 Jan @ 8:34pm 
Can't wait!
codeoptimist  [author] 22 Jan @ 8:14pm 
The new WYU version will be published as a separate beta this weekend (maybe Friday even).
codeoptimist  [author] 22 Jan @ 1:12am 
@Black_moons, good question. The answer is no. Having "Enabled" unchecked is as equivalent as possible to having the mod removed. Purpose was so people didn't have to relaunch their game.

The new version is basically done by the way. All I need to do is launch it as a BETA.

The new version has a separate checkbox for both WYU, and PUAH, since they both work perfectly fine separately. (But way better together, of course.)
Black_moons 20 Jan @ 11:46pm 
When the mod 'enabled (for debugging)' toggle is off on the mod options, but the 'pick up and haul' expansion button is checked, does it still improve pick up and haul?
KilledJoy 19 Jan @ 11:46pm 
Realized the 10 job bug hit a slave of mine.. rip lil guy
VitaKaninen 16 Jan @ 8:00am 
Can't wait! I love this mod!
codeoptimist  [author] 16 Jan @ 1:30am 
Huge v5 update IS ALMOST HERE.
Full container & multi-slot shelf support.
Code is simpler than EVER because PUAH is included & integrated.
It gonna be significant. Couldn't contain my excitement had to drop a hint.
Krypto 13 Jan @ 9:41pm 
something has happened in the last day that has made this mod make my game unplayably laggy
Morph_Kogan 30 Dec, 2024 @ 3:21pm 
Out of my massive modlist, this mod randomly started causing some items on the ground right clickable and were basically stuck there. I am using an older version 1.3 tho
Halfelfaedyn 25 Dec, 2024 @ 5:52pm 
This causes some lag but I literally hate playing without it. My pawns don't even manually pick up anything.