RegularX Posted August 10, 2013 Share Posted August 10, 2013 So is there any convenience method for adding items to a loot table? I'm just guessing from my first day on the job but it looks like it is currently a matter of a) overwritting a script txt or b) overriding a SuburbsDistribution.lua ... neither which seems like it would survive long across mods. Am I missing something? (which is ... likely) Link to comment Share on other sites More sharing options...
RoboMat Posted August 10, 2013 Share Posted August 10, 2013 So is there any convenience method for adding items to a loot table? I'm just guessing from my first day on the job but it looks like it is currently a matter of a) overwritting a script txt or B) overriding a SuburbsDistribution.lua ... neither which seems like it would survive long across mods. Am I missing something? (which is ... likely)This thread wasn't meant for questions about modding, it's for requesting new features for the lua scripting. What you are looking for is answered in this thread:http://theindiestone.com/forums/index.php/topic/170- Basically all you need to do is make a file which inserts values in the suburbsdistributions table:table.insert(SuburbsDistributions["Kitten"]["counter"].items, "NotEnoughBags.PaperBag");table.insert(SuburbsDistributions["Kitten"]["counter"].items, 5); Link to comment Share on other sites More sharing options...
RegularX Posted August 10, 2013 Author Share Posted August 10, 2013 Thanks! 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