Project Zomboid

Project Zomboid

评价数不足
Force Pickup Heavy Container
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
44.198 KB
2022 年 10 月 19 日 上午 10:03
2022 年 12 月 7 日 下午 7:55
4 项改动说明 ( 查看 )

订阅以下载
Force Pickup Heavy Container

描述
I made this mod as the hydrocraft bags are so easily exceeding player's maximum weight limit, and it annoyed me.

With this mod, you can pickup an item container that exceeds your weight limit.
(Mostly for Hydrocraft situations, but not restricted to)

This mod is breaking game balance, so please be sure where and when to use.

Currently this mod does:
1. let you pickup heavy bag from ground.
2. let you pickup heavy bag from inventory.
3. let you pickup heavy bag from inventory page icon.

Known issue
1. inventory page icon stays on the ground until you move.
this page is a shadow of an actual inventory, so even if you can see its content in a wrong page, it is done in the right one
(for example, if you remove one item from the shadow inventory, it comes out from actual inventory, so the item will not duplicate itself)

If any issue happens, please visit my github repo and post an issue over there. It makes me easy to track an issue.

GitHub
FPHC: https://github.com/Argoneon1810/PZMod-Force-Pickup-Heavy-Container
FPHC_D: https://github.com/Argoneon1810/Force-Pickup-Heavy-Container-with-delay

Workshop ID: 2877231911
Mod ID: FPHC
Mod ID: FPHC_D

Workshop ID: 2877231911
Mod ID: FPHC
Mod ID: FPHC_D
16 条留言
DragonKing 2024 年 1 月 26 日 下午 2:21 
Can't pick up survival bushcraft backpack from Brita's Armor Pack when there is too much encumbrance, is that intended? In my game, it is listed as "Clothing - Backpack" category, not "Container".

Was really hoping this mod could remove that dumb arbitrary restriction.
ٴ 2023 年 4 月 23 日 上午 10:04 
Can you make a mod that multiplies encumbrance damage per exceeded weight limit? So it's not totally a cheat for me
But thanks for mod so far!
Cooki ♡ 2022 年 12 月 12 日 上午 2:50 
@Argoneon good work, the errors seem to be mostly resolved!
Argoneon  [作者] 2022 年 12 月 7 日 下午 7:56 
@Cooki
Figured out that when the item is stacked, it becomes an type of ComboItem, and I wasn't aware that this works like that.
This type checking has been newly added. Sorry for long inconvenience.
Would you check it back now?
Cooki ♡ 2022 年 12 月 7 日 下午 6:25 
@Argoneon same issue, it gives an error every right click.

ERROR: General , 1670466266919> 76,471,364> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: 1.0 of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1670466266919> 76,471,364> DebugLogStream.printException> Stack trace:
function: InventoryObjectContextMenu -- file: Context_pickup.lua line # 105 | MOD: Force Pickup Heavy Container (with delay)
Argoneon  [作者] 2022 年 12 月 7 日 下午 3:31 
@Cooki Please update the mod and try again. It might be fixed now.
Argoneon  [作者] 2022 年 12 月 3 日 下午 5:07 
actually, error log alone is not very much information-rich, so description would be preferable
Argoneon  [作者] 2022 年 12 月 3 日 下午 5:02 
@Cooki sorry for checking this thread late.

It would be grateful if you share when did that error spam happened.

As I said earlier to catchfree1225, I am using my mod for my own save and I am not facing any error spam until now.
It might be conflicting with your other mods, or my playstyle doesn't overlap with yours. Either way, I cannot verify on my own.

I will add a github link to the description. Please visit and report your error case on the board. just a few words of brief explanation or simply an error log would be greatly helpful
Cooki ♡ 2022 年 11 月 30 日 下午 10:42 
Very neat mod, but the error spam is a bit too much, I hope to see it updated soon!
Argoneon  [作者] 2022 年 11 月 4 日 下午 2:45 
@catchfree1225
would you specify a situation when this happened? I am using my mod for my own game and I haven't met this bug yet. I kinda see by what this is coming but I need more information to pinpoint out.