Project Zomboid

Project Zomboid

166 ratings
Push From Ground
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
185.505 KB
22 Feb, 2022 @ 3:26pm
19 Mar, 2022 @ 7:05pm
5 Change Notes ( view )

Subscribe to download
Push From Ground

Description
This mod is now part of Hydrocraft (B41 continued). I will leave it here for anyone still using the older Hydrocraft mods.


Allows you to equip HydroCraft carts, dollys and pallet trucks when they would otherwise be too heavy to pick up.
To use simply right click on a cart and select the "Push Cart" option. This will pickup the cart and equip it in both hands.

This is my first Project Zomboid mod as well as the first time I have used lua so please let me know if you find any errors or issues.

Tested and working on 41.66 in both single and multiplayer.

[Change Log]

v2
Re-wrote most of the code to improve showing the "Push Cart" option more reliably
Increased action time slightly for ballancing

v1.3
Fixed typo in PFGPushAction found by LuneFox

v1.2
Added ability to push Wheelbarrow, Wooden Wheelbarrow and Toy Wagon

v1.1
Fixed bug that allowed user to pickup more then one cart

Workshop ID: 2761983906
Mod ID: PushFromGround
Popular Discussions View All (1)
0
9 Jan, 2023 @ 3:07pm
i fix the trunk stuck if too heavy and create an standalone mod for wooden wheelbarrow
Reifel
52 Comments
TurtleShroom 17 Aug, 2024 @ 10:41pm 
The Toy Wagon is the only one that can be equipped in one hand (RL wagons of that type are pulled by one hand).
BananaLumps  [author] 17 Aug, 2024 @ 6:14pm 
@TurtleShroom
Yes, it should equip to both hands, this is different then "when I hold the Toy Wagon in my secondary hand".
I spent some time last night testing the mod and it is working as intended, you might have another mod installed that is causing conflicts. You will need to have a look at any error that are appearing in your console to determine what is causing the issue but using just HydroCraft (B41 Continued), it works as intended.
TurtleShroom 17 Aug, 2024 @ 5:18pm 
When I press the Push Cart Decision, my character equips it .
BananaLumps  [author] 16 Aug, 2024 @ 9:04pm 
@TurtleShroom
You should not be using this with HydroCraft (B41 Continued) as it already contains this mod and will create conflicts by using both.
You also shouldn't be equipping the carts, if you right click them in the ground inventory window you will have a "Push Cart" option which allows you to begin pushing it even if it is to heavy to equip, and this also allows the drop button to work. Example: https://imgur.com/a/IfGKtbe
This mod does nothing with the animations, and I have just checked, it seems some of the animations in HydroCraft aren't the same as when I made this mod, so I don't know what they have changed that has caused this bug.
If I get some spare time, ill dive back in and see if I can fix HydroCrafts animations, but im fairly busy on other projects right now.
TurtleShroom 16 Aug, 2024 @ 7:52pm 
I do use that one with yours alongside it.

For some reason, though, when I hold the Toy Wagon in my secondary hand, I cannot make the animations in which swing my Crowbar or stomp my feet. It still happens, my character just stands still when I do it.
BananaLumps  [author] 16 Aug, 2024 @ 2:09pm 
@TurtleShroom
If you arent using HydroCraft (B41 continued) I would recommend it as it more updated then the old hydrocraft mod. But if you wanted too, you could go to their Github [ github.com ] and download the updated Push From Ground files.
You need 2 files;
Contents/mods/Hydrocraft/media/lua/client/TimedActions/PFGPushAction.lua
/Contents/mods/Hydrocraft/media/lua/server/PFG.lua
Replace the files of this mod with the updated ones
I will ask them if they will be ok with me updating this mod with the new changes they have made.
TurtleShroom 16 Aug, 2024 @ 12:02pm 
Huh. Well, that's good to know.
BananaLumps  [author] 15 Aug, 2024 @ 8:19pm 
@ TurtleShroom
This mod is no longer maintained as it has been integrated into Hydrocraft (B41 continued)
TurtleShroom 15 Aug, 2024 @ 4:05pm 
I can equip the Toy Wagon, but I can't let go of it unless I jump a fence. The Drop button doesn't do anything.
Tou Xi Yang 16 May, 2023 @ 6:19am 
hello!
Can someone explain me how to get one of those carts? Or how can i spawn one?
Thanks c: