Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Let me know if you would need some more help. Take care!
For example, first entry:
table.insert(ProceduralDistributions.list["ArmyStorageMedical"].items, "HMB.VodkaFull");
table.insert(ProceduralDistributions.list["ArmyStorageMedical"].items, 4);
table.insert(ProceduralDistributions.list["ArmyStorageMedical"].items, "HMB.VodkaBox");
table.insert(ProceduralDistributions.list["ArmyStorageMedical"].items, 2);
You can see the pattern in this code - in first line we are calling the name of item we want to spawn - then, in the second line we specify the number (probability of spawning the item).
Then we are repeating the same, just for the different item - in this case, first full vodkas, then the full boxes of vodka. Similarly, you need to change the number - or if you want the specific spawn gone, delete each entry (in this case, each two lines).
Garbagebag = {
rolls = 1,
items = {
"HMB.VodkaFull", 0.02,
"HMB.VodkaEmpty", 0.2,
},
fillRand = 2,
},
Just lower those numbers after "HMB.VodkaFull" and "HMB.VodkaEmpty". Or if you dont want the specific spawn - delete (in this case) entire Garbagebag category - entire section from "Garbagebag = {" all the way to "},"
Its difficult to make loot distribution fair and balanced. I remember lowering the values once at some point, but youre right - it would be best if you could change it yourself to your likings.
To do so, go to the mod folder: "SteamLibrary\steamapps\workshop\content\108600\2479859182\mods\HomemadeBleach\media\lua\server\items"
There you will see 2 files:
HMB_Distributions.lua
HMB_Procedural.lua
First file is for specific, individual loot spawns - like in certain bags and caches. Second one is more like for groups/types of loot spawns - like "StoreShelfDrinks" or "StoreShelfMedical". To edit those, use some kind of code editor, for example Notepad++.
You can find all container items ids in the main game folder: "\SteamLibrary\steamapps\common\ProjectZomboid\media\scripts"
Inside the files: "items.txt" and "newitems.txt".
Hope this helps - if you would have more questions, let me know. Take care!
First find the mod folder: "SteamLibrary\steamapps\workshop\content\108600\2479859182\mods\HomemadeBleach\media\scripts"
You should see there 3 .txt files. Open the file called "homemadebleach_recipes.txt".
Inside, after the "imports" section, you will be able to see two sections called "recipe Prepare Homemade Bleach" and "recipe Prepare Homemade Vinegar Lemon Bleach".
The first four elements, in both sections, are the required items used in the recipe.
For example:
VodkaFull=1,
BleachEmpty,
Water=5,
Vinegar=3,
It seems like you can find it also in some other mods that are focused on similar, additional survival recipes - but if you need only vinegar, i think the mod from link above would be the most lightweight.
Best Regards
Soon ill be checking this mod to see if there are any new changes in loot distribution.
Tooltip_FR = {
-- Drying
Tooltip_HMB_HomemadeBleach = "Laissez-le dans un conteneur ou l'inventaire, jusqu'à ce que le processus de mélange soit terminé.",
}
Ive added new changes to loot distributions that comes with version 41.66, and also adjusted spawning of vodkas in some places, as Arkhiel suggested (thanks!). Vodka bottles and boxes should spawn now in 'healthy' amounts :) It seems like the best places to find those now, would be in Fossoil, Gas-2-Go, Restaurants/Bars, and in smaller amounts in medical buildings.
I also deleted the files related to older versions (41.50 and 41.54), but if you need those, you can still find them through link in description.
Unfortunately didnt have opportunity to test this mod in multiplayer, but it should work there without problems as well - if something is crashing, just let me know.
Thanks, and enjoy surviving!
smuggling is a thing but 1/2 crate has packs of vodka :D
For the vodkas in crates, it was actually intentional - kind of like creating a bit of background story, that the alcohol could be smuggled somehow inside these crates.
Although im not sure about frequency of their spawning there, may adjust it more in the future.
If you feel that spawn in crates is unnecessary, or you would want to adjust it manually - go to the folder:
"(YourSteamFolder)\steamapps\workshop\content\108600\2479859182\mods\HomemadeBleach_41_54\media\lua\server\items\HMB_Procedural.lua"
Then open this .lua file with Notepad++ or similar app, and change or delete lines from 51 to 69 (CrateCamping, CrateFarming etc.)
Hope this helps. Thank you for using the mod and for the feedback.
Update should come later today or tomorrow.
duttes - No problem, youre right - it can be very confusing at first. Good luck with surviving in your gameplay there - and thank you for your comment.
But if you mean the stable build 40.43 (default version of the game) - this mod unfortunately wont work with it, and it would need to be remade - to work without issues. I may prepare the version of this mod for the stable build in the future, but i cant promise anything, sorry. But if you need alternative for the homemade bleach mod for stable build - i think there were few mods here for this version as well, and they should work fine.
Thanks for your message.
To make it work properly you need to enable additional mod/patch "Homemade Bleach (Build 41.51 - Loot tables)", which is included with this mod. And also make sure that the "(Build 41.50 - Loot tables)" mod is disabled.
And if you want to use this mod with the previous, 41.50 build - you need to do otherwise. For more details please read the note on top of mod description, or the Change Notes.
Enjoy surviving!
My other mod - Homemade Saw, should work properly, because it only adds new recipes, without accessing the loot tables. But its always good to test it before using it in your main-save gameplay (and also its always good to backup your saves). Thanks.