RimWorld

RimWorld

3,374 ratings
While You're Up (with add-on for PUAH)
9
3
3
21
11
4
3
5
3
2
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
30 May @ 11:30am
81 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]





"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
    Modified to grab only surrounding things whose unload path is also opportunistic.

  2. 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.

  3. 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.

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

  5. Pick Up And Haul "closer to"
    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.



  6. 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.


10 jobs in one tick (Standing)
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 was so I could 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.)

My diagnostic help is CURRENTLY ON PAUSE.


News
2025-06-03
On May 29th I updated this mod to my version 5 for a 24 hour period, but unexpected compatibility issues with other mods caused me to revert the change, and it will be released as a separate mod instead.

It can be extremely frustrating to spend 1,000+ hours on a mod, and 100+ hours on a new update (a merger of PUAH and WYU, simplifying their interaction and compatibility with other mods, and adding multi-slot shelf support for both), have it work beautifully with my usual test suite of mods, and then realize weeks more are required to get it perfectly compatible with other, newer or altered mods, whose code and updates are out of my control.
There are mods now that I'm expected to make mine compatible with, that didn't even exist when I began, and it's the most recently updated mod that is blamed, even though neither author is at fault. And frankly speaking, the people are correct. I *DO* need to make my mod compatible with them. That's the nature of a game like this that thrives on a huge mod ecosystem. It's also why I can't do it anymore.
It's my opinion that this type of C# Harmony modding is a lot more difficult than regular software development because of this shifting landscape of intercompatibility, and it sucks the joy out of programming.

Releasing my v5 as a separate beta mod, may be my last act for RimWorld. Although I believe it to be excellent, I might be too burnt out for that last push of custom coding for compatibility with other mods, so it might just die on the vine instead of flourishing. Does that mean I wasted a few months of my life? Yes it does. But that's okay. I also have an extremely useful mod for diagnosing "10 jobs in one tick" (a general problem with hundreds of mods), that may also never get the final polish to benefit anyone.
Just because these might remain unfinished, with only a "relatively" small amount of work remaining, that doesn't mean that it's the wrong decision to quit. There's a reason it's called the sunk-cost *FALLACY*, because quitting can still be the best decision, regardless of invested work.
Life is going amazing, but I haven't "played" RimWorld in years, and really only one game in the past few. Like Brrainz wrote on his mod descriptions: "It was a great time and now it’s over." It might be over. We will see what next winter brings.


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]
1,183 Comments
FubarXS 3 hours ago 
I just want to confirm — based on the comments, is this mod no longer needed?

Does that also apply to the Pick Up And Haul mod?
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1279012058
TheOneTrueDemoknight 3 hours ago 
This mod does not work with 1.6
nolagirl504 14 hours ago 
Go, enjoy your life and thank you.
thenightgaunt 18 hours ago 
Thank you for all the work you did on this mod.
Darian Stephens 12 Jul @ 3:57am 
Was the beta ever re-released? That was the update which got me using this mod in the first place, and I loved it so much that I added PUAH when it got reverted just to keep this.
TAWM 12 Jul @ 3:00am 
Today I noticed that version 1.6 of the game seems to have incorporated some features of that mod. My pawn, despite having hauling disabled, picked up some steel on the way to bed...
Willow 12 Jul @ 2:06am 
Appreciate your message on how difficult this has been to keep up with. I am sorry if this does not get updated as your efforts were appreciated. Hope you stick around after a much needed break though. The creators of rimworld really should appreciate what the modders have done for this game over the years and how less fulfilling this game would have been without them.
比烧酒 11 Jul @ 8:28pm 
Thank you for using this mod all this time
Giggles 11 Jul @ 7:51pm 
Thank you for all your work, I've been using this for YEARS and it's genuinely bittersweet seeing you hang-up your hat.

Good luck in life <3
Yoku 11 Jul @ 2:20pm 
Thank you, you made my 1000++ hours of rimworld experience way better!