Adds a wheelbarrow to the game so you can lug all that loot around. Acts as a mobile stash and increases your carry weight while in inventory.
Features
- You can aquire the wheelbarrow by crafting. Better start hoarding the scrap metal.
- Having it in inventory increases carry weight by 420 kg (modifiable with MCM). It's a really sturdy and well-greased wheelbarrow.
- If you drop the wheelbarrow the ordinary way (drag & drop or "drop" from right click context menu) then a stash is created and all gear is transferred to the stash in the exact same way as you'd click "Move all". This works also with favorited items and magazines (see goes well with section).
- If you start sprinting (disableable with MCM) or select "Put down" from the context menu (right click on the wheelbarrow) then you'll drop the wheelbarrow but items are transferred like with the quick release system. You can edit the items that are kept in your inventory in the same file that quick release system uses. It's in gamedata/configs/items/settings/backpack_stash.ltx under [actor_backpack_keep_items]. I added the file to the mod as an optional addon and made changes so that the most basic items (eg. bandage) are kept in the inventory.
- Trying to put the wheelbarrow in a container won't work. Like, how do you fit a wheelbarrow in a chest!? However, if you press "Move all" then you keep the wheelbarrow but pour all items into the chest like in vanilla game.
- If you select "Put down and take items" from the context menu (right click on the wheelbarrow) you will drop the wheelbarrow (create a stash) but won't transfer any items.
- You can carry ("Carry/push" in the context menu) the wheelbarrow on your back instead of pushing it. This way you can sprint but the wheelbarrow is heavy and you lose the carry weight bonus. You can carry a wheelbarrow only if you don't have others in your inventory.
- While you are pushing the wheelbarrow you can't hold weapons nor detectors nor the 3D pda model (2D still works). If you stand in place then you can. This is also customizable in MCM.
- If you start sprinting in closed space with a wheelbarrow there's a possibility that you can hurt yourself. So basically if you run against a wall with 400 kg of items then you might get crushed by the items, who would have known! Death by furniture is never fun so it's actually unintentional and comes from the way stash is spawned (engine or vanilla Anomaly). Because of that I wasn't able to solve the problem. Just don't sprint in those situations or put the wheelbarrow down while standing (especially in ironman runs).
- The wheelbarrow 3D model stops small caliber bullets (buckshot), lets through some 9x19 mm and won't stop large caliber bullets. It will ricochet them a bit too. Hitboxes are well fitted but the wheel rims won't let bullets through, althought it looks like air.
- Things might get funky when you have multiple wheelbarrows (eg. on sprint they spawn one after another) but the mod keeps working fine. Just imagine that you have a wheelbarrow on a wheelbarrow.
Mods contained in the files
- Banjaji's Pick up empty stash ( Moddb.com ). Uninstall that one if you already have it. That mod also has a bit different implementation in this one but features are the same.
Goes well with
- Banjaji's Disassembler's dream ( Moddb.com ) - possibility to disassemble everything. You'll get a lot of scrap metal with this mod.
- Ravenascendant's Sorting Plus ( Moddb.com ). Also apply the patch. This will make wheelbarrow inventory management a lot simpler.
- Ravenascendant's ARMR Arti and RavenAscendants Mags Redux (Remake of Anomaly Magazines ) ( Moddb.com ). Magazines are compatible with the quick release system that I use.
Conflicts
- TheMrDemonized's Disassemble All Items ( Moddb.com ). Both mods work fine together until you try to "disassemble all" wheelbarrows. Just disassemble wheelbarrows one by one.
How did I do it?
Created a new inventory item, a new stash item and a new model. Wrote a script that creates a stash every time you lose the wheelbarrow. The script binds a functor for putting the wheelbarrow down without transferring the items and for carrying/pushing the wheelbarrow. actor_on_update callback checks if you are pushing the wheelbarrow and forces you to put away any items. actor_on_update also checks the speed of the actor and drops the wheelbarrow on sprinting. I couldn't get the wheelbarrow to drop reliably and without annoying side effects with the sprint button press.
Installation
- Install crafting framework. Install Banjaji's Crafting system improvements ( Moddb.com ). If you don't do that you simply won't see the recipe for the wheelbarrow. You can manually add the recipe into craft.ltx file but without the framework you'll need a tool kit.
- Install the mod. Drop the gamedata folder from "Main mod" folder into Anomaly's main folder or enable the mod from the Mod Organizer 2. Give it low priority so that other mods overwrite this one. item_backpack.script, item_parts.script and ui_inventory.script are dummy (vanilla) files just to indicate that I have monkeypatched them.
- Install MCM. If you want to edit variables easily then also install latest version of MCM ( Moddb.com ). Although if you do this then you'll need to drop and pick up the wheelbarrow or press push/carry twice in case carry weight bonus resets on option change (happens not only on MCM option change).
- Install optional addon. If you wish drop the gamedata folder from "Optional addon - basic items are kept in inventory" folder into Anomaly's main folder or enable the mod from the Mod Organizer 2.
- Apply patches. In case you have installed a conflicting mod and I have added a patch install the other mod, then my mod and then apply the patch.
- Uninstall. To uninstall the main mod you need to get rid of all wheelbarrows in the world by disassembling them, then save the game, uninstall the mod and then continue playing that save. For that you need to install the optional addon (included in the files) for disassembly. Uninstalling the mod means you need to revert the file back to previous version or delete it to revert it back to vanilla or simply disable the mod in Mod Organizer 2.
- Updating to v2.0 or v3.0. First uninstall and then install new version. There are changes to script names so in manual install old ones are left behind when updating.
Final words
You can modify my changes or ideas in any way you want. However if your work is based largely on my ideas then please give credit! In case you find bugs please let me know! Every time settings are changed (not only MCM) the carry weight is recalculated. In case of a bug with weight change a setting and apply it or load a game. Please report how you replicated the bug!
Changelog
v1.0
- First upload
- If you sprint then the wheelbarrow is created approximately where you will be during its creation. For a split second the object seems to have physical properties so that you might be pushed by it. If there's a wall next to you you might get damage.
- The physical model is a hospital bed one because creating models is a pain in the ass. I might change it in the future.
v1.1
- Quality of life: you can equip items when you are standing without putting the wheelbarrow on the ground manually. It was just a lot of hassle.
v2.0
- Rewrote the code from a different angle giving a lot more functionality. Now it uses Ravenascendant's Sorting plus method of transferring/not transferring items because it's sexier.
- Putting the wheelbarrow in a stash is now impossible. There isn't even an option.
- Dropping the wheelbarrow ordinary way transfers items like you clicked "Move all" in a stash.
- Sprinting drops wheelbarrow and transfers items according to quick release system functionality (added Mags redux loadout).
- Using "Move all" in a stash keeps the wheelbarrow in your inventory. You "pour" all items into the chest.
- "Put down and take items" puts the wheelbarrow down without transferring anything.
- Added Ravenascendant's Sorting plus and Magazines Redux compatibility. Mags redux magazines that are added to loadout and Sorting plus favorite items aren't transferred to the wheelbarrow when other stuff is. Removed mags loadouts from quick release system dropping method (it's combat gear after all).
- Implemented the monkeypatches in a better way. Old scripts need to be deleted when updating manually/with JSGME!
- Removed the bug that when the wheelbarrow gets disassembled it spawns a new one like the original one was dropped.
- You need to drop and pick up the wheelbarrow or press push/carry twice after changing any settings to readd the weight bonus.
v2.1
- Added an optional addon (both DLTX and non-DLTX version) for the wheelbarrow disassembly recipe. You can disassemble your wheelbarrows, then save, then uninstall the mod and then continue playing without the mod.
v3.0
- Updated for Anomaly 1.5.2 (pda quality of life and double click in inventory).
- Added a custom wheelbarrow model. Thanks to the community for teaching me about models.
- Updated the patch for Sorting Plus.
- Is now compatible with HarukaSai's Anomaly Skill System
- Added context menu funtor "put down". This does what happens when you start sprinting and drop the wheelbarrow that way.
- Savegame remembers if you carried the wheelbarrow
- Reequips item that was put away when you stop pushing the wheelbarrow.
- Detector equipping-unequipping works more smoothly now.
- Changed MCM options.
- Added an option to equip items when moving slower than defined movement.
- Added an option to equip detector slot item while pushing the wheelbarrow. Yay, flashlights and glowsticks!
- Added a customizable delay for unequipping when running (default movement) in case player wants to start sprinting.
[Notice board]
v3.0 includes the fixes that Anomaly v1.5.2 brought. The most noticeable changes are the custom wheelbarrow model, quality of life changes like reequipping item that was put away and new MCM options.
When updating from to v3.0 you need to do clean install. It means you need to uninstall previous version and install the new one. This is necessary because I changed some script names.
Now you can go from anomaly to anomaly to gather artefacts with the correct gear. Or if there was a mod for dynamic prices you could be a traveling merchant.
Это реалистично. Но такая тачка утащит максимум 170 кг. +10
I actually googled wheelbarrows and got the same result you did. I made it carry that much because the idea wasn't to have absolute realism but to have in essence a pack mule to get stuff from one stash to another. If you wish to have it add less carry weight you can change variable "wheelbarrow_weight_bonus" on line 14 in banjaji_wheelbarrow.script.
If enough people comment about it then I'll add MCM options.
This addon looks like a joke and it seems it should have been released two weeks earlier - first of April :D
In general, I respect for the work done)
I'm actually using it now. I cleared whole Limansk of monolith and looted everything. I even had 50-100 kg extra room.
But I mean, monolith can still use my mod. The Limansk thing was purely business.
*compulsive hoarding syndrome intensifies*
HAHAHAHAHAHA
Comically sized large dessert spoon.
This is seriously so funny and amazing hahahah, ive never even thought about this but its genius XD
You know what... I know we're on the death star.... but I'm takin this couch.
Reminds me of dragging a dead bandit to use as an inventory so I could loot everything
Been there but I got rid of this habit when I played Misery. In that corpses sometimes despawned crazy quick or on load game. Once I had weeks worth of supplies lost because the corpse despawned under Waste processing station while I was looting others outside.
Had mine glitch on the floor and started spasming and killed me.
Yup. That's a bug that I haven't been able to get rid of. Isn't it just fun when you get killed by furniture? Ironman runs are higher risk but I haven't died due to the wheelbarrow yet.
I knew I wasn't the only madman dragging a corpse with 500kg of loot inside
greetings friend, I have a problem apparently the wheelbarrow icon appears cut off in DXT8 and DXT9, there is also a conflict with the modern interface plugin which is compatible with all DXT
PS: I will try to send a log when I manage to replicate the error
I have exactly 0 experience with different DX versions so I'm not sure if I can help you. I don't even know how to test for problems.
If I checked the right mod ( Moddb.com ) then it's not actually a conflict. Since I used monkeypatches then they modify a different part of the ui_inventory.script. The ui_inventory.script in my mod is just a dummy one to show sneaky conflicts. Load Modern UI after my mod so that my mod gets overwritten and everything should be okay.
wheelbarrow
Finally a mod that prefectly suit my playstyle as hoarder it will greatly save my time to relocate all my stuff from temporary container to my main container
Out of curiosity, would you be able to do that with some vehicle, like Kamaz?
Interesting idea. I'm not 100% sure but I think yes. The vehicle has some mesh (3D surface) so you could just tell the wheelbarrow item to use that instead. It will be annoying when it spawns on top of you though so you'd have to spawn it further ahead which will make using it indoors a bad idea.
I uploaded 2 new versions at once. v1.1 has just a small quality of life improvement but v2.0 rewrites the code logic, adds MCM, Sorting plus and Mags redux support and adds quality of life things. However, in v2.0 you need to drop and pick up the wheelbarrow or press push/carry twice when you have the wheelbarrow in inventory and carry weight bonus resets on option change (happens not only on MCM option change).
When updating from v1.0 to v1.1+ you need to do clean install. It means you need to uninstall previous version and install the new one. This is necessary because I changed some script names.
Hello, I was checking this addon out and had an idea, wanted to share
what if instead of a wheelbarrow it was a backpack, to seperate not backpack inventory and make the player remove the backpack to add items to it. if possible, could remove the weight bonus but add a weight penalty to regular inventory to incentivize using backpacks
You can check out this: Moddb.com.
I get that it's immersive if you get a weight reduction when you put an item in the packpack but I'm too lazy to play with that much immersion. I'd get annoyed that I can never get my stuff in a simple way. I made Tactical wheelbarrow v2.0 update have the option to sprint with the wheelbarrow because of the same reason: it reduces immersion but gives more pleasant gaming experience (totally worth it in my opinion). Since I mostly write mods for myself and then share the result then due to my preferences I won't make the backpack mod nor improve the previously mentioned one.
Hi, how to "get rid of the wheelbarrow" for uninstalling the mod?
There is no option to disassemble it. I sold it to the trader but after in-game 5 days the game still crashes when disabling the mod in mo2:
[error]Expression : <no expression>
[error]Function : CInifile::r_section
[error]File : Xr_ini.cpp
[error]Line : 544
[error]Description : fatal error
[error]Arguments : Can't open section 'inv_wheelbarrow'. Please attach [*.ini_log] file to your bug report
Furthermore, it is no longer possible to craft items because they don't show up in the crafting window. I neither see any MCM tab.
Thanks for any help
I think currently the easiest solution is to (temporarily) install my disassembly addon ( Moddb.com ) or just insert the following into gamedata/configs/items/settings/parts.ltx:
itm_wheelbarrow = prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, prt_i_scrap, bolt, bolt, bolt, bolt, bolt
I haven't tried to uninstall the mod plus I don't know a lot about world spawns so I don't really know if some other wheelbarrows get spawned in the world. If not then disassembly should suffice. But since now there's demand then I'll eventually make a script that releases all wheelbarrows from the world so you could uninstall the mod without other mods' aid.
I tested one of my long playthroughs and it seems that no other wheelbarrows spawned in the world. I was able to disassemble the wheelbarrow and uninstall the mod without problems. I dedicated v2.1 update for the disassembly recipe optional addon. Due to lack of time I didn't write a more foolproof script in case the wheelbarrow accidentally spawns in some trader's inventory or something.
Updated to v2.1. The main mod remains the same but I added an optional addon for disassembling the wheelbarrow. This is mainly for uninstalling the mod (see instructions under "installation" in the mod description).
Also as of July 2022 I will be away from modding. I estimate the order of magnitude of my leave to be 6 months. In the mean time if something breaks then anyone proficient enough can take over/ make patch-mods.
This mod conflicts with the popular skill mod and it makes it so the wheelbarrow can't be pushed anymore.
Moddb.com
I made the mods compatible with v3.0.
Updated to v3.0. This includes also the fixes that Anomaly v1.5.2 brought. The most noticeable changes are the custom wheelbarrow model, quality of life changes like reequipping item that was put away and new MCM options.
Also updated the patch for Sorting Plus and added compatibility to HarukaSai's Anomaly Skill System.
Updating to v3.0 requires clean install. Uninstall previous version completely and then install v3.0.
time to become a hobo