Vade Posted January 19, 2023 Share Posted January 19, 2023 I made a pretty basic item mod for PZ couple of days ago and today I noticed that it has stopped working. I made a custom ProceduralDistributions.lua script defining where my item spawns. Now if my mod is enabled every container in game is empty for some reason. I guess that my ProceduralDistributions.lua script overrides the default ProceduralDistributions script essentially leaving every other item out of the spawning process. How can I fix this issue? I'll attach my custom ProceduralDistributions script below. JLT_ProceduralDistributions.lua Link to comment Share on other sites More sharing options...
Hugo Qwerty Posted January 20, 2023 Share Posted January 20, 2023 I think you want something like: local myTable = ProceduralDistributions['list']['BakeryKitchenFridge']['items'] table.insert(myTable, "JLT.JoltCola") table.insert(myTable, 8) I have not done much with loot tables, so there might be a better way. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now