RimWorld

RimWorld

3,213 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
Mar 25, 2020 @ 9:12am
Apr 14, 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
Jan 22, 2024 @ 4:40pm
Suggestion for creating a mod that automatically sets a queue of work per colonist for optimal distribute workplaces
Aeomanate
1,008 Comments
Arvay6 Mar 27 @ 6:33pm 
Dunno if it's PUAH or this mod but there's a lot of errors from time to time. Still wouldn't get rid of this mod and I hope your new beta version fixes this.
Alfador Mar 20 @ 1:43am 
One pawn of mine got the 10 jobs in a tick randomly, after ten housr of gameplay and not adding more to my excessive mod list. I have no idea.
Toon Toon Mar 12 @ 11:24pm 
Hey. Any update on the beta?
Nanook Feb 28 @ 9:02pm 
is there any mod conflict that increases the chance of 10 jobs in 1 tick bug ? i recently updated some of my modlists (and new additions) and got hit by this bug a lot more recently. ( total current mods ~350)
codeoptimist  [author] Feb 6 @ 9:55am 
@tom, That's an interesting one. You'll have to let me know how it performs on the beta when soon released.

@Kokorocodon, <3
tom Feb 4 @ 5:57pm 
the "improve PUAH" option combined with many gestate lifters from biotech seems to cause huge stuttering with 200ms spikes every half a second or so. mod enabled with the "improve puah" option disabled works fine with negligible performance impact.
Kokorocodon Feb 4 @ 4:43pm 
It's ok, take your time. With things as they are these days the last thing we need to lose is our minds.
codeoptimist  [author] Feb 3 @ 11:58pm 
I'm just waiting on a little bit of free time to write the metadata and publish it as a beta. 😆 I went out of town and then I spent 40 hours creating my own PID controller that does a packing optimization on a hodgepodge of different heaters with different heat settings for Home Assistant. 😆 And now I need to jerry-rig a different 12VDC battery charger because this "smart" one is dying and throws a fit if it doesn't receive perfect AC voltage... 🙄 Hopefully next few days!
Kokorocodon Feb 2 @ 10:59am 
any news?
VitaKaninen Jan 22 @ 8:34pm 
Can't wait!