Jump to content

Any way to disable unit or structure building within the template?


chaosislife
 Share

Recommended Posts

Since, we use a inheritance system, with a couple of levels of inheritance I quickly run out of room for new buildings. Does anyone know of a way to disable particular units or buildings in the template so I can have more room for the new buildings? If not, is there a way to disable all of the buildings and then just add the ones i want? Without having to change the unit's entire inheritance?

Link to comment
Share on other sites

Yup, that works. On a more helpful to the actual project note, this can be used to disable blacksmiths for civs that shouldn't have them without changing inheritance. Although I'm not sure if it would be easier than removing the entry from template_unit_infantry and then adding it to the units that should have it as you'd still need to add -structures/{civ}_blacksmith to every unit that shouldn't have it.

Edited by chaosislife
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
 Share

×
×
  • Create New...