Moleon Posted April 28, 2016 Share Posted April 28, 2016 Howdy! At my last post I ask help to create a mod items. Now, i can create any item that i want! But I have a problem, doesn't matter how many items I put, Only one Spawn; The first that I put: require 'Items/SuburbsDistributions' -- table.insert(SuburbsDistributions["all"]["fridge"].items, "Cerveza.Amstel"); table.insert(SuburbsDistributions["all"]["fridge"].items, 10); table.insert(SuburbsDistributions["gasstore"]["fridge"].items, "Cerveza.Amstel"); table.insert(SuburbsDistributions["gasstore"]["fridge"].items, 10); table.insert(SuburbsDistributions["bar"]["counter"].items, "Cerveza.Amstel"); table.insert(SuburbsDistributions["bar"]["counter"].items, 10); table.insert(SuburbsDistributions["bar"]["fridge"].items, "Cerveza.Amstel"); table.insert(SuburbsDistributions["bar"]["fridge"].items, 10); table.insert(SuburbsDistributions["bar"]["shelves"].items, "Cerveza.Amstel"); table.insert(SuburbsDistributions["bar"]["shelves"].items, 10); table.insert(SuburbsDistributions["kitchen"]["fridge"].items, "Cerveza.Amstel"); table.insert(SuburbsDistributions["kitchen"]["fridge"].items, 10); -- table.insert(SuburbsDistributions["all"]["fridge"].items, "Cerveza.Beelzebub"); table.insert(SuburbsDistributions["all"]["fridge"].items, 10); table.insert(SuburbsDistributions["gasstore"]["fridge"].items, "Cerveza.Beelzebub"); table.insert(SuburbsDistributions["gasstore"]["fridge"].items, 10); table.insert(SuburbsDistributions["bar"]["counter"].items, "Cerveza.Beelzebub"); table.insert(SuburbsDistributions["bar"]["counter"].items, 10); table.insert(SuburbsDistributions["bar"]["fridge"].items, "Cerveza.Beelzebub"); table.insert(SuburbsDistributions["bar"]["fridge"].items, 10); table.insert(SuburbsDistributions["bar"]["shelves"].items, "Cerveza.Beelzebub"); table.insert(SuburbsDistributions["bar"]["shelves"].items, 10); table.insert(SuburbsDistributions["kitchen"]["fridge"].items, "Cerveza.Beelzebub"); table.insert(SuburbsDistributions["kitchen"]["fridge"].items, 10); I try put together, but only the first item appears naturally. I can spawn all the items of the mod on my inventary. And with many test I see that the only affect on my mod is this code. Someone can tell me something? Thank you very much! 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