Project Zomboid

Project Zomboid

47 ratings
Mod Mechanic UI limits
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.307 MB
20 Dec, 2021 @ 6:35am
26 Dec, 2021 @ 7:45pm
7 Change Notes ( view )

Subscribe to download
Mod Mechanic UI limits

Description
This mod removes distance limit for car UI.
Also if you open car menu once, you can then open it from any distance.

For modded vehicles like bus where you cant reach trunk, i added ability to open/close it from mechanics panel.

Workshop ID: 2688102529
Mod ID: ModMechanic
15 Comments
Deathstar 21 Aug, 2022 @ 5:12am 
Using this with the Containers! mod seems to break their mechanics UI, just wanted to mention that!
Shank Em Dirty 31 Jul, 2022 @ 9:23pm 
Great mod but it looks like the feature that gives the ability to open/close the trunk from mechanics panel allows you to cheat your way into locked trunks on Mp still a very great mod still works great.
PaddiSson_ 31 Jan, 2022 @ 8:34am 
I confirm, it works well in MP. Great work @SubVision thank you !
SubVision  [author] 30 Jan, 2022 @ 6:08pm 
there was no problems in MP.
i think they are not compatible because they modify same action. you can just use this so you will open trunk only once.
you just right click on the car as usual and select mechanics there. if you already opened it, it will just show car menu instantly
PaddiSson_ 20 Jan, 2022 @ 2:35am 
This mod looks great, well done !
- Is this mod works well in MP ?
- Is this mod compatible with Faster Hood Opening (2584112711)
- "Also if you open car menu once, you can then open it from any distance." --> how ?
Thank you @SubVision
SubVision  [author] 26 Dec, 2021 @ 7:55pm 
removed book part from code
SubVision  [author] 26 Dec, 2021 @ 7:31pm 
guys, let me explain. I made this mod for my party and didnt expect someone to download it :)
This book shit i added because i got bug when i read the book completely and didnt get skill modifier after.

I tried to add logic to recalculate modifier before it discard reading it.
-Orion- 23 Dec, 2021 @ 9:45am 
PLS Fix book bug --'
kfsass 23 Dec, 2021 @ 1:55am 
```
function ISReadABook:isValid()
local vehicle = self.character:getVehicle()
if vehicle and vehicle:isDriver(self.character) then
return not vehicle:isEngineRunning()
end
if not self.character:getInventory():contains(self.item) or self.item:getNumberOfPages() < 0 then
return false
end
self:update()
return self.item:getNumberOfPages() > 0 and self.item:getAlreadyReadPages() <= self.item:getNumberOfPages();
end
```

BAD! very naughty! let this be a lesson in modifying globals!! this function breaks every single readable item with a timed action. the only reason skill books continue to work is that their progress is measured by pages, not by a set completion time.

hope this helps you and anyone else who spends hours figuring out why such an innocuous-sounding mod is breaking the game so fundamentally
kfsass 23 Dec, 2021 @ 1:46am 
Same as other commenters. I went deep, deep into the stack traces for this. OP, whatever changes your mod propagates to the entire game (?) causes the ISToolTipInv.lua file to throw exceptions when a character attempts to read.