Project Zomboid

Project Zomboid

More Uses for Lighters and Matches
21 kommentarer
DFSUSHII 6. okt. kl. 1.25 
Mod working in B42.12.1
JФSҤ 23. sep. kl. 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. kl. 8.00 
Does it work on LighterZ gold lighter?
Black_moons 2. sep. kl. 10.50 
Sorry, my bad, Events.OnInitGlobalModData is what you should use to get sandbox variables.
Black_moons 31. aug. kl. 11.15 
If you read the sandbox settings on a different trigger (ie Events.OnGameBoot) it will work for existing saves too.
Pontius  [skaper] 28. aug. kl. 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. kl. 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. kl. 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. kl. 9.22 
lovley:spiffo:
Black_moons 14. aug. kl. 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.
Black_moons 14. aug. kl. 6.25 
Can you add disposable lighters too? 5 uses is crazy low.
RunYouCleverBoy 9. aug. kl. 6.23 
can u balance it to change to greater rarity? for guy like me))
흉내쟁이 31. juli kl. 19.59 
@Belrangerus in the B42 version, you can easily make a lighter that uses 20 times.
Belrangerus 28. juli kl. 21.30 
Killer. Always irked me how the character goes through lighters like they don't know how to light a cigarette and every matchbook having so few matches. Especially considering the situation they're in and/or the smoker trait, you'd think they'd already know about a lighter's longevity
HellMouse #SitDown2Pee 28. juli kl. 20.02 
It took me a sec to realize you gave it more uses instead of more uses.
Beornvig 28. juli kl. 8.13 
Thanks for this! For those of us heavily into blacksmithing, I go through lighters like crazy. This really helps.
Pontius  [skaper] 27. juli kl. 11.31 
Thanks - appreciate it :steamhappy:
??? 27. juli kl. 10.22 
good mod
Pontius  [skaper] 26. juli kl. 2.00 
@seronis - the number of uses left are already random - just like vanilla.
The values set on sandbox settings are just the max "available".

Matchboxes are, agreed higher than 20 where I'm from as well - but according to info gathered, these US style matchbooks are normally 20... And the lighters - I went with a zippo lighter, which average burn time according to research is 10-15 minutes = 80-100 uses/cigarettes. And they match the ability to refill etc.
seronis 25. juli kl. 19.21 
The values you chose are already a good avg value. Just mostly curious if being fully random is possible
seronis 25. juli kl. 19.18 
Do you take requests ?

Matchboxes tend to come in boxes of exactly 32 or 50 matches with 32 being more common. And a normal sized BIC lighter (not the mini ones) on low flame setting will burn for 3 hours which is listed at a couple thousand uses. Its still a few hundred for people who use high flame setting.

Any way you could make them so when found they have a random number of uses left up to those max values?