Project Zomboid

Project Zomboid

158 个评价
More Uses for Lighters and Matches
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
38.000 KB
7 月 24 日 下午 5:38
1 项改动说明 ( 查看 )

订阅以下载
More Uses for Lighters and Matches

描述
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3486522951&searchtext=Box+More

B42 Rain's Pack Your Loot
https://psteamcommunity.yuanyoumao.com/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://psteamcommunity.yuanyoumao.com/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 条留言
DFSUSHII 10 月 6 日 上午 1:25 
Mod working in B42.12.1
JФSҤ 9 月 23 日 下午 1: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 9 月 4 日 上午 8:00 
Does it work on LighterZ gold lighter?
Black_moons 9 月 2 日 上午 10:50 
Sorry, my bad, Events.OnInitGlobalModData is what you should use to get sandbox variables.
Black_moons 8 月 31 日 上午 11:15 
If you read the sandbox settings on a different trigger (ie Events.OnGameBoot) it will work for existing saves too.
Pontius  [作者] 8 月 28 日 下午 2: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 8 月 22 日 下午 6: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 8 月 16 日 上午 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 8 月 16 日 上午 9:22 
lovley:spiffo:
Black_moons 8 月 14 日 下午 6:35 
Sandbox settings don't seem to do anything. Reguardless of sandbox settings I get '[MoreUses] Applying MaxLighterUses = 100, MaxMatchesUses = 20' in my log.