Jump to content

Possible to make items only spawn in specific buildings?


unclepickle1

Recommended Posts

I'm interested in making a mod that will add 4 custom items to the game, but there should be only 4 of them and they should only spawn in designated buildings like the prison for example.

 

Based on what I've read you can add items to the distribution list with code like the below, but I can't find any examples of only spawning at particular locations.  Is this possible?

 

table.insert(ProceduralDistributions["list"]["CampingStoreGear"].items, "Base.SleepingbagRolled");
table.insert(ProceduralDistributions["list"]["CampingStoreGear"].items, 3);
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...