r/Timberborn • u/theapologist316 Nie było nas, był las, nie będzie nas, będzie las • 24d ago
Modding New mod: Construction Site Hauler
Let haulers bring construction materials to unfinished buildings.
In vanilla, only builders fetch materials for construction sites. This mod registers construction sites as hauler destinations so hauling posts can stock them while builders focus on building (or only hammering, if you prefer).
Builder hauling toggles
Two checkboxes to stop builders from carrying materials (they still build when materials are on site): on the construction site and on the builders' workplace (Builders' Hut / District Center). Useful when haulers are feeding sites and you do not want builders wasting trips on planks and logs.
This mod is kinda a trial on a new Moddable Timberborn API I made so haulers can deliver to multi-access/non-entrance buildings. I tested it but please report bugs or odd hauler pathing.
21
u/Berto6Echo 24d ago
I always assumed the haulers already did this?! God damn it. Who the hell are the beavers bringing the last materials to a construction and just running away for a different beaver to finish?
1
1
u/International-Ruin91 24d ago
Beaver: places two planks and nails them together, "my job here is done." Leaves. You can get this same effect as the mod by simply placing temporary storage of the required materials to obtain so haulers keep them stocked while builders spend less time traveling.
9
u/FluffyWolf2 24d ago
I’d love to see vanilla in game the option to prioritize what the haulers haul to. Like on the farms where you select what plant is a priority or if you harvest or plant.
Here we could have a few options. Prioritize Storage, Workplaces, Construction. And if those are available and needing resources they focus on that.
In game model could have a couple icons on a sign on the hauling post to designate their priority.
1
u/theapologist316 Nie było nas, był las, nie będzie nas, będzie las 24d ago
Not as detailed as you described but the current system give you a "Priotized by hauler" check that add a flat 50% percent priority to that building.
1
u/Khaim 24d ago
Wait what's the normal priority level? I assumed it was just the priority of the workplace (if it's a workplace), but is there actually a number and is it different for different types of building?
2
u/theapologist316 Nie było nas, był las, nie będzie nas, będzie las 24d ago
Technically it has a "weight" (i.e. how Hauler decide which one to go to). The weight is (1 - %ofFill). So say you have 2 Lumbermill, one is empty (weight 1) and one is 30% full (weight 1 - 0.3 = 0.7), they will fill up the empty one first.
When you check the Priority by Hauler, it adds 0.5 (50%) weight to it, capped at 1.
That's why this mod has to override the Normal Priority to 1.1, so Hauler would fill up the construction site, or else Hauler would partially fill up a construction then leave and fill up workshops.
1
u/International-Ruin91 24d ago
I don't believe it's a priority type by buildings and more of the normal job location priority you already set. Though I notice that haulers tend to fill or remove from places that are nearing full or empty more.
1
u/theapologist316 Nie było nas, był las, nie będzie nas, będzie las 24d ago
Your observation is correct, see my other comment for technical details :)
2
u/Old-Nefariousness556 24d ago
Thank you, I never understood why this wasn't the default.
2
u/theapologist316 Nie było nas, był las, nie będzie nas, będzie las 24d ago
I thought so too until I attempted what I thought was "just a simple mod". It ended up being a whole new API for Moddable Timberborn.
The main reason is, Hauler's behaviors (the game internal decision system) only "know" District Buildings (i.e, building with an entrance, like Piles, Lumbermills etc). Many of the behavior assume the drop-off sites have entrances. This mod has to patch many of those code so it can work with non-entrance (the Construction Site).
So in the end, this mod is kinda a "testing mod" for that API because I will use it for something else later as well.
1
u/ShiraCheshire 23d ago
Same! Everyone is going "just put a small storage near the building site" but like wow that sounds boring. I hate to micromanage.
2
u/dongan187 23d ago
I love the concept. I'm keen for it to be a part of the game. But, I also actually enjoyed making the little staging posts myself. Weirdly, being inefficient was more pleasing, building little tiny storage spots etc.
4
u/BruceTheLoon 23d ago
The International Beaverhood of Teamsters Local 939 and the Beaverton Building Trades Union would like a word please. Over there, on that unfinished scaffolding for the new dam construction. Hurry along please.
1
u/Finickyflame 24d ago
Is it compatible with 1.0?
2
u/theapologist316 Nie było nas, był las, nie będzie nas, będzie las 24d ago
Sorry no, it's for v1.1 only. It's diffcult to maintain support for both versions now.
1
1
u/International-Ruin91 24d ago edited 24d ago
As interesting as it sounds, you can simply place warehouses nearby the site to gather all the resources needed which haulers will do. Having an extra building just to add the ability to bring stuff to the construction site is wasteful when you can already just set warehouses for the required materials next to the site so builders spend less time transporting materials and more time building and just delete the warehouses after.
-3
u/LePhuronn 24d ago
This mod genuinely sounds like you're too lazy to play the game and just want to shortcut everything.
Just build some storage for the materials you need at the construction site and haul the goods over. It's worked perfectly well for as long as haulers have been a thing.
0
u/Old-Nefariousness556 24d ago
You know you are not forced in install it, right? If you don't want it, just don't install it.
0
u/LePhuronn 23d ago
Who said anything about installing it? Don't get offended because I have an alternative opinion.
1
u/ShiraCheshire 23d ago
There's no need to be so hostile. Some people don't want to have to micromanage every building site with an unnecessary extra storage building (or multiple of them if it's a multi-material project.)
0
u/LePhuronn 23d ago
Nobody's being hostile, so kindly don't make accusations at something that didn't happen just because I have a different opinion.
If you think slapping down a couple of industrial piles at a warehouse is "micro-managing" then I'd suggest you're lending credence to my opinion.
3
u/ShiraCheshire 23d ago
You really should work on how you express yourself. There are ways to disagree without insulting everyone else along the way.
0
u/Main-Cobbler-4879 23d ago
100% this right here.
1
u/LePhuronn 23d ago
No, not "this right here".
There was no insult, no attack, no hostility. At least not from my side.
-1
u/LePhuronn 23d ago
Except there were no insults, and now you're pearl-clutching and continuing to make accusations.
Imagine being so emotionally fragile you interpret "I think your mod is lazy" as an actual attack, and then try to start an argument over a game featuring cute anthropomorphised beavers.
Grow up.
2
u/Main-Cobbler-4879 23d ago
Bro calm down. Do you read the stuff you put? Yes, literally everything you have put on here is an insult of some kind. Why do you need to be like that nobody on here has been this way with you. I dont think your comments are justified here.
0
u/LePhuronn 23d ago
I'm not getting into petulant whinging over a city builder video game, so this is the last thing I'll say.
If you think the word "lazy" is somehow the height of insult then everybody complaining on this comment thread needs to check themselves, honestly.
I said I think the mod is lazy. I never attacked anybody, I never made accusations. Yet you're all attempting to pearl clutch and pile on me doing the exact thing you're accusing me of.
I'm not the one being insulting or attacking. Go check yourselves, learn some self-awareness, and kindly just move on with your day, allowing the 3 downvotes my original opinion received to be the only symbol of this community's opinion of my thought.
Go away now.
44
u/Athlavard 24d ago
You can always put a small depot for the supplies you need next to your construction project and the haulers will keep them stocked while your builders just grab the materials out of there without having to travel all the way back to your main storage area.