Project Zomboid

Project Zomboid

Not enough ratings
Gasmask filter and Respirator filter fix[B42] OBSOLETE
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
3.433 KB
7 Jan @ 8:34am
8 Jan @ 4:13am
8 Change Notes ( view )

Subscribe to download
Gasmask filter and Respirator filter fix[B42] OBSOLETE

Description
Fixes the vanilla bug in b42 when you somehow always get a "full" filter by actually keeping track of the filter's UsedDelta field.

Also added a new recipe to charge empty filters

FIXED AS OF B42.2

Workshop ID: 3402700256
Mod ID: GasmaskAndRespiratorFIx
47 Comments
József  [author] 16 Jul @ 9:31am 
From what i can see the notank variant has no "UseDelta" field defined in its item definition file.You need to modify the appropiate Items_(category).txt file and add it.
666 16 Jul @ 6:36am 
hello, i'm trying to increase the oxygen tank duration. i changed the valor '' UseDelta '' from 0.0625 to 0.000001 but it only works in SCBA with tanks. in SBCA (notank), it bugged. maybe can you help me ??
József  [author] 30 Jan @ 10:48am 
Will do some testing, it seems that TIS fixed the issue therefore rendering this mod OBSOLETE
József  [author] 30 Jan @ 10:44am 
nevermind i see the error, seems like TIS removed or modified itemcount parameter
József  [author] 30 Jan @ 10:34am 
Post the error please
pikasonic 30 Jan @ 7:49am 
this mod have error in b42.2
Dafish 24 Jan @ 9:08am 
thank you for your respond
József  [author] 24 Jan @ 8:53am 
Could be that they secretly modified the recipecode, i haven't played in a while now
József  [author] 24 Jan @ 8:52am 
Most likely vanilla as the lua works the following way:
it gets the worn item ( in this case, a gasmask or respirator) checks the bound UseDelta field that got assigned to it when the filter was attached, then makes the filter's useDelta field the same
Dafish 23 Jan @ 11:00pm 
(vanilla question)