Jump to content

Zomboid Distribution


Josko

Recommended Posts

Im trying to find kitchen and wardrobe distribution in the Distribution file but they have made it so it cant be found it seems. 

 

Where do I find them? I wanna edit knife rarety in kitchen and check how rare the katana is in the wardrobe ^^

Link to comment
Share on other sites

If you see procedural = true, you should look in ProceduralDistributions.lua

The game picks up one of procedures depending on the room look like, e.g. WardrobeMan or WardrobeChild etc

require "Items/ProceduralDistributions"
local a = ProceduralDistributions.WardrobeMan.items
if a[#a-1] == 'Katana' then
  a[#a] = 50
end
--etc

 

Edited by Maris
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...