Smokers Delight 1.1 [41.77+]
Mod adds cigars devided by 3 most common colours (From Claro the lightest and the weakest to Maduro the darkest and the strongest and Colorado in between) boxes with 10 cigars in each box included.
Maduro cigar -15 stress, +15 happines
Colorado cigar -15 stress, +10 happines
Claro cigar -10 stress, +10 happines
-Changed colorado and claro stats
-Fixed conflicts with other mods with SuburbanDestribution (probably)
It’s relatively compatable with any mod.
But badly works with mods that change spawn rates, so the amount of cigarscigar boxes would stick to vanilla settings (rare/common/abundant/etc.)
Smoker mod doesn’t add any new functionality to cigars nor crafting recipies.
if you’re making a mod pack for single player or multplayer server you’re free to add and tweak the original mod to your liking.
In order to change spawn chances you need to do the following
1. Go to mod folder Steam/steamappsworkshopcontent1086002869248721modsSmokers Delight
(If Project Zomboid installed on another HDD/SSD search for "steamapps" folder and start from there)
2. Open this file "Smokers DelightmedialuaserveritemsSDelight-Distributions.lua" (Make a copy as a backup file)
(You can open it with Notepad or Notepad++)
3. After you opened SDelight-Distributions.lua, you have to manually set the spawn chances (I’ll show you how, there are not much to change).
Here’s the example, let’s say we have a hiking bag spawn chance
Bag_BigHikingBag = {
rolls = 5,
items = {
"SDelight.MaduroCigarSingle", 2,
},
},
The only number you need to change is that after item name "SDelight.MaduroCigarSingle" in this case
Here we have 2% spawn chance, you can change it to any number from 0 to 100 including 0.1, 0.2 and etc.
Not necessary to change but you can also change rolls number
("rolls = 5" means how much times spawn chance is checked)
So if we have 5 rolls with 100% spawn chance
Bag_BigHikingBag = {
rolls = 5,
items = {
"SDelight.MaduroCigarSingle", 100,
},
},
We will have 5 Maduro Cigars in a bag. Basicly the number of rolls difines the maximum amount of one item (but you probably never find the maximum amount since the percentage I’v set is 10% at most)
There is also these lines of code
table.insert(ProceduralDistributions["list"]["BarCounterGlasses"].items, "SDelight.MaduroCigarBox");
table.insert(ProceduralDistributions["list"]["BarCounterGlasses"].items, 5);
But here it’s even simplier you have the only number and thats the percentage
After finishing edits just save the file. It’s safe to continue play in your worldserver from now on any NEW found container should have a new spawn chances you’ve set
Hope that was clear enough. (Don’t delete any commas, dots, brackets)
Workshop ID: 2869248721
Mod ID: SDelight