RimWorld

RimWorld

3,476 ratings
While You're Up (with add-on for PUAH)
11
3
3
22
11
4
3
5
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
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]
Popular Discussions View All (1)
0
14 Jul @ 5:53pm
a bug please
windom86
1,227 Comments
dr_rockzo 4 Sep @ 11:16pm 
Well it's a shame, but to be expected. We can't expect people to play/mod Rimworld forever. After watching mods that I use fall off update, after update, I've kinda gotten used to it.
Darian Stephens 29 Aug @ 8:47am 
@Floaty Bones Steve
5 (Five) comments below yours.
Floaty Bones Steve 28 Aug @ 9:45pm 
Posting just to get notifications in case this gets forked or updated
Nickonil 25 Aug @ 4:34pm 
omg.. i cant belive it, such a important mainstay of a mod.. gone like that.. the rimworld devs should have implemented this tech looooong ago, or paid you, or somthing.. maaaaan now i am upset, currently going through my modlist after not having played for a few years.. and this IS and always has been one of the most valueable mods for Rimworld, were ever you are in the world GIGACHAD modder boss man/gal, hope you know your valued highly by a random person on the internet..:saddeer:
Togie_ 20 Aug @ 7:08am 
@Balthazad that temp mod you linked has a lot of comments complaining about issues, and the creator's steam name is quite sketchy imo. Just putting that out there before people download that one...
MerlinCross 16 Aug @ 10:12pm 
Look I'm just glad you worked on the mod for this long, I've seen other mods over the years just completely vanish or the mod authors get into fights with themselves or the community.

So I just want to leave this post as appreciation for all the work you've already given us with this mod. Hope things stay amazing for you.
L. Velociraptor 14 Aug @ 9:45pm 
I'm a software engineer and the intercompatibility expected of Rimworld mods by users honestly is what keeps me from making anything other than small local mods for personal use. I can handle maintaining things for myself and only have myself to disappoint, so there's relatively no risk of burnout.

It's a lot to think about how much pressure some of the more prolific modders may be under, so I really respect you for making the best decision for yourself and your mental health.

Burnout sucks, said from professional experience. I really enjoyed your mods while you were making them @codeoptimist, so thanks for all the good times and I hope you're doing a bit better these days. I hope you actually get to enjoy Rimworld these days! :p2cube:
Balthazad 9 Aug @ 4:21pm 
burnout is evil, i hope you get better & recommend relaxing headmassages
DragonZephyr 4 Aug @ 1:31pm 
Well damn if you are burned out you are burned out. Hope you can get something fun done instead then!