Project Zomboid

Project Zomboid

121 ratings
More Uses for Lighters and Matches
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
38.000 KB
24 Jul @ 5:38pm
1 Change Note ( view )

Subscribe to download
More Uses for Lighters and Matches

Description
You got tired of lighters and matchbooks only having 5 uses?
I did - hence this.

Default values are 100 uses for lighters and 20 uses for matchbooks.
This can be changed in Sandbox Settings.

Error free
I have successfully tested it on both new and existing saves. (and 100s of mods enabled at the same time)
- Existing saves only inherits the default values

Keep in mind - that it will only affect newly spawned items.
Already discovered lighters and matchbooks will stay at 5 uses.

Known issues:

Box More
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3486522951&searchtext=Box+More

B42 Rain's Pack Your Loot
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3490159683&searchtext=B42+Rain%27s+Pack+Your+Loot

These two mods consumes units, not actual items - will be eternal spawn if you pack and unpack

[B42] Sandbox Options
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3386906181&searchtext=sandbox+optoins

I cannot get it to work with this mod. Even after changing the values and applying changes - the settings set before the game applies.
So if you want higher values than the defaults - it requires a new save.

Workshop ID: 3533994661
Mod ID: MoreUsesForLightersAndMatches
20 Comments
Ki Charn Ro 4 Sep @ 8:00am 
Does it work on LighterZ gold lighter?
bubby_pz33 3 Sep @ 6:50am 
@Fun Police I'm looking for the same thing so I will make a mod for that soon
Black_moons 2 Sep @ 10:50am 
Sorry, my bad, Events.OnInitGlobalModData is what you should use to get sandbox variables.
Black_moons 31 Aug @ 11:15am 
If you read the sandbox settings on a different trigger (ie Events.OnGameBoot) it will work for existing saves too.
Pontius  [author] 28 Aug @ 2:49pm 
@RunYouCleverBoy - what rarity are you thinking of? Loot chance - that should be done by general loot settings

@Black_moons - disposable lighters are on my to-do list. Real life's been busy AF lately, so no ETA. Regarding the sandbox settings - can't replicate, besides the things already mentioned in the description

@Nord - seems you need to do some troubleshooting, as it sounds like a mod messing something up somewhere

@Fun Police - not in the plans for now, but something I'll take into consideration
Fun Police 22 Aug @ 6:14pm 
Would it be possible to add uses to sacks of sand, dirt, and gravel? I haven't seen any mods like this for B42 yet, and think that expanding could be nice
Nord 16 Aug @ 9:38am 
I seem to have the opposite problem where all of my lighters and matches have infinite fuel, so they never run out... I was hoping this mod would fix that but no dice. Anyone know what might be causing my lighters and matches to never run out?
Octavian 16 Aug @ 9:22am 
lovley:spiffo:
Black_moons 14 Aug @ 6:35pm 
Sandbox settings don't seem to do anything. Reguardless of sandbox settings I get '[MoreUses] Applying MaxLighterUses = 100, MaxMatchesUses = 20' in my log.
Black_moons 14 Aug @ 6:25am 
Can you add disposable lighters too? 5 uses is crazy low.