Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove units #65

Open
Rivenrus opened this issue May 10, 2022 · 2 comments
Open

Remove units #65

Rivenrus opened this issue May 10, 2022 · 2 comments

Comments

@Rivenrus
Copy link

Hi there, sorry I'm a newbee. Can you tell me how to remove units from the mod? I mean robot and future infantry are something I don't like to have in the game.
Thank you.

@Huymnsel
Copy link
Contributor

Huymnsel commented Nov 3, 2022

It should be possible to remove units from the mod by modifying the jsons/Units.json file. But beware that components (units and such) of a mod are often closely mingled to each other and removing some may cause issues to the mod

@RobLoach
Copy link
Contributor

Alternatively, you could create a child mod that implements the units you want to remove with Unavailable in it.

{
  "name": "Warrior",
  "uniques": [
    "Unavailable",
    "Will not be displayed in Civilopedia"
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants