Jump to content

Nanoko

Member
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Nanoko's Achievements

  1. Hey all, I tried to search through the forums+ google a bit but wasn't finding any answers, or anything that was making any sense to me really. I'm trying to add an item from the They Knew Mod to the loot tables, specifically trying to add Zomboxcycline onto the loot table. From what I've seen from how other mods add items to the loot tables, and from what I read it should look something like this DropsDistribution.lua local function preDistributionMerge() ProceduralDistributions.list.TheyKnewItem = { rolls = 6, items = { "Zomboxycycline", 50, "Zomboxivir", 50, }, } end Events.OnPreDistributionMerge.Add(preDistributionMerge); DropsProcedualDistribution.lua local DropDistTable = { pharmacystorage = { metal_shelves = { procedural = true, procList = { {name="TheyKnewList", min=1, max=6}, } }, } } table.insert(Distributions, 2, customDistTable); I am a totally code amateur, so any help would be appreciated.
×
×
  • Create New...