Jump to content

Nexa

Member
  • Posts

    1
  • Joined

  • Last visited

Nexa's Achievements

  1. Hello, I am new to modding and have read the guide explaining how the loot distribution is handled here: https://theindiestone.com/forums/index.php?/topic/38165-quick-guide-how-to-mod-the-loot-distribution-system-distributionslua-proceduraldistributionslua/But when I create a `media\lua\server\items\ProceduralDistributions.lua` file in my mod and write this in it all loot disappears: ProceduralDistributions = {}; ProceduralDistributions.list = { WardrobeMan = { rolls = 4, items = { "Bag_DuffelBagTINT", 100, }, junk = { rolls = 1, items = { } } }, } I presume the file gets overwritten. How do I modify this file exactly in order to increase the `Bag_DuffelBagTINT` spawn rate lets say? I'm guessing I'm missing an `import` somewhere? Is the `ProceduralDistributions ={} and junk={...}` lines even necessary? Thank you!
×
×
  • Create New...