Jump to content

Help: Adding a new type of factory


TitusAres

Recommended Posts

I have been laying out some plans for adding a few new factories to the game. I was able to add new Mines into the game using the produtionindex file but following the same pattern to add factories causes errors in the game, is there another file I need to update as well?

Link to comment
Share on other sites

You don't need to edit any other files it's probably that your syntax is wrong. for example i made a gem extractor:

table.insert(productions, {factory="Gem Extractor ${size}", ingredients={{name="ore", amount=10, optional=0}}, results={{name="Gem", amount=1}}, garbages={}})

 

Let me know if you need any further help

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...