Jump to content

weisspure

Member
  • Posts

    2
  • Joined

  • Last visited

weisspure's Achievements

  1. I see, so in lua table.insert() will handle the other table's record's indexes and a quick google search confirmed that, this makes sense. Edit: One thing actually I'm not clear on: If the Vanilla loot tables are [0] what's in [1]? Or vice versa Thanks for your reply! One last question relatedto this topic Is SuburbsDistribution still a valid table as I didn't see it on the new containers list for 41.53?
  2. I have a question about the following line: Why position 2 in distributions? Is there consideration that needs to be taken for what other mods authors are doing in regards to the distribution tables? table.insert(Distributions, 2, customDistTable); I've noticed the following lines of code in one mod breaks distribution for another, any idea why? Apologies for my inexperience, I usually write with c# and JS so lua is new to me: table.insert(Distributions, 1, distributionTable); --for mod compat: SuburbsDistributions = distributionTable;
×
×
  • Create New...