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

Split recipes into categories #255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kuleshov-aleksei
Copy link

Factorio received a lot of new recipes with the release of Space Age dlc. In some cases, there's no point in using alternative recipes, such as the spoiling mechanic (copper bacteria to copper ore, etc.) on space platforms, etc. Also, players may have technology locked behind unexplored planets. For me, I make quite a few changes to the available recipes when planning my factory.

However, it is not very easy. For example, some alternative recipes share the same image, making it difficult to search for something specific. I've been using this awesome project for a long time and here's my contribution:

I grouped recipes by their category from JSON data. Additionally, each category can be toggled at once (e.g., disabling metallurgy or every organic recipes).

There is room for improvement, such as custom mapping of recipes to categories, but I didn't want to introduce any manual configuration into the project.

Here is how it looks:

image

GIF

recording

P.S. If the implementation doesn't match your vision, I understand. Just wanted to improve the tool that I use every gaming session

Fix toggle status of category header

Update category selection on planet selection

Small tweaks
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

Successfully merging this pull request may close these issues.

1 participant