Project Zomboid

Project Zomboid

164 betyg
More Uses for Lighters and Matches
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
38.000 KB
24 jul @ 17:38
1 ändringsnotis ( visa )

Abonnera för att ladda ner
More Uses for Lighters and Matches

Beskrivning
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
21 kommentarer
DFSUSHII 6 okt @ 1:25 
Mod working in B42.12.1
JФSҤ 23 sep @ 13:48 
FYI a workaround for new saves is to make a new character and paste the new map_sand.bin (or whatever the windows sandbox file is) over your existing save's map_sand.bin file. You can edit day length this way as well.
Ki Charn Ro 4 sep @ 8:00 
Does it work on LighterZ gold lighter?
Black_moons 2 sep @ 10:50 
Sorry, my bad, Events.OnInitGlobalModData is what you should use to get sandbox variables.
Black_moons 31 aug @ 11:15 
If you read the sandbox settings on a different trigger (ie Events.OnGameBoot) it will work for existing saves too.
Pontius  [skapare] 28 aug @ 14:49 
@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 @ 18:14 
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:38 
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:22 
lovley:spiffo:
Black_moons 14 aug @ 18:35 
Sandbox settings don't seem to do anything. Reguardless of sandbox settings I get '[MoreUses] Applying MaxLighterUses = 100, MaxMatchesUses = 20' in my log.