Project Zomboid

Project Zomboid

386 个评价
[B41 & B42] Close The Trunk
4
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
12.868 KB
2024 年 6 月 6 日 上午 11:42
4 月 5 日 上午 7:57
10 项改动说明 ( 查看 )

订阅以下载
[B41 & B42] Close The Trunk

描述
Close your trunk when you drive or things might fall from it.

Works in singleplayer and multiplayer (B41 for the multiplayer ofc) .

Should work with most modded cars.

Please upvote the mod if you like it and check out my other mods!

[B42] - Louisville Airport Spawn - Spawn in Louisville Airport. Added 33 unique spawn points.
[B41 & B42] - Throw your bag across - Adds an option to throw your bag across windows for efficient looting.
[B42] - Hand Bag Window Climb - Keep you bag in your hands when climbing through windows instead of dropping them.
[B41 & B42] - Rope Towing - Requires a rope to tow vehicles
[B41] - Give Item - A quick way to give items to players around you without dropping them on the ground.
[B41] - Cignition - Handling gas and smoking might not be the best idea after all.

Workshop ID: 3262467691
Mod ID: close-the-trunk
97 条留言
3BIt 8 月 18 日 上午 9:04 
finally
Jaxx - pshoooo 8 月 6 日 下午 3:06 
it's not the end of the world, but when you load in furniture items and they fall out, they fall out as items instead of becoming "furniture": in the road so they don't actually have collision. i feel like it should attempt to place that furniture if possible so you have stuff like convoys being able to be blocked by people throwing ♥♥♥♥ out of the back as obstacles
ELL 6 月 6 日 下午 4:11 
I hate a love-hate relationship with this mod, can recommend!
Titto Hokkaido 4 月 5 日 下午 2:25 
@Enemal; try using pastebin!
Enemal 3 月 4 日 上午 3:43 
Hi, I'm getting a bunch of errors. Might be clashing with another mod but I'm afraid I can't handle code. Anywhere else I can share? Too many characters to fit in these boxes.

Error 1
`function: DropItemsFromTrunk.lua -- file: DropItemsFromTrunk.lua line # 18 | MOD: Close The Trunk

Error 2
`function: DetectCrash.lua -- file: DetectCrash.lua line # 11 | MOD: Close The Trunk

Error 3
`function: UpdateVehicleTrunk.lua -- file: UpdateVehicleTrunk.lua line # 20 | MOD: Close The Trunk

Error 4
`function: GetTrunkAndDoor.lua -- file: GetTrunkAndDoor.lua line # 1 | MOD: Close The Trunk
p3st|cIdE 2 月 25 日 上午 11:44 
Be sure to test with a pick-up truck. Might be a special case... it's not "openable" yet is always "open".
p3st|cIdE 2 月 25 日 上午 11:40 
right on. could possibly be a bad interaction with another mod, so just slap on a null ptr check, should do the trick. :steamthumbsup:
LaChips  [作者] 2 月 25 日 上午 11:35 
Thanks for your feedback, I've never had this issue or seen it mentioned before. I'll try to fix it soon but I'm not sure why it happens yet. I'll release a patch to prevent the errors but in your specific case, it might prevent the mod from working properly, I'm not sure. I'll comment back when the patch is released.
p3st|cIdE 2 月 25 日 上午 7:11 
getting many Errors logged w this mod.

function: UpdateTrunk -- file: CloseTheTrunk.lua line # 9 | MOD: Close The Trunk.
ERROR: General f:171932, t:1740422265559 ExceptionLogger.logException Exception thrown
java.lang.RuntimeException: Object tried to call nil in UpdateTrunk at KahluaUtil.fail(KahluaUtil.java:82).
Stack trace:
se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:954)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1790)
se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
zombie.Lua.Event.trigger(Event.java:81)
...
LaChips  [作者] 1 月 6 日 下午 3:53 
@Jaxx - pshoooo, yeah, that's what I suspect as well, but I can't find it in the code, I'll try again later but I've only managed to find the code related to items falling out of damaged trunks.