Project Zomboid
JB Max Capacity Override
Показване на 11 — 19 от 19 постъпления
< 1  >
Обновление: 29 юли в 14:50

Added mod data capacity override for single containers. To use:

yourContainer:getModData()["JB_MaxCapacityOverride"] = { capacity = 75 }

It still checks if your container type is in the lookup table first.

Also tightened the code a bit.

Обновление: 11 апр. в 20:08

yea, so I uploaded the right version this time

Обновление: 11 апр. в 20:01

didn't really get anything else done this week, except:
fixed returning a longgggggggggggg float in ItemContainer_getEffectiveCapacity
thanks for pointing that out Skimble Shanks!

Обновление: 6 апр. в 17:55

1) Added a check "if containerType exists" before calling Nepenthe's fix to cut down on errors in the logs
2) Re-did the transferTime function to be more friendly
3) Vehicle Mechanics UI now shows the correct "trunk" capacity
4) Vehicle damage affects trunk capacity
5) Changed hard-coded message to the RD text "You can't do that!" so there will be no translation files today, satan
6) Got rid of check if "container type exists" in addContainer because really, it did nothing important

Обновление: 3 апр. в 20:51

Changed the formula for transfer time. but I'm not happy with it, so it will be improved.
Implemented Nepenthe's speed fix from "Remove Bag Slowdown" with permission.

Обновление: 2 апр. в 17:11

Added transferTimeSpeed to adjust the transfer speed
Fixed preventNesting to only prevent nesting of same types
Inventory Context Menu will now "red out" grab when right-clicking so the player knows they can't nest same types

Still need to fix:
Vehicle menu shows wrong capacity
Set up an equipped weight override[if possible]
Vehicle trunk/seat damage should lower capacity like vanilla

Обновление: 26 март в 9:00

Commented out the print that would spam your logs because I forgot to do it before I uploaded this

Обновление: 25 март в 16:54

fixed a stupid typo that broke everything omg

Обновление: 25 март в 16:36

Yay!