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

Recipe editor #103

Merged
merged 14 commits into from
May 6, 2024
Merged

Recipe editor #103

merged 14 commits into from
May 6, 2024

Conversation

snipercup
Copy link
Collaborator

@snipercup snipercup commented May 6, 2024

Requires #102

Allows the user to specify a basic recipe for an item

  • Specify craft amount, ingredients, craft time and flags
  • Items that were added to the recipe will get a reference to the item that holds the recipe
  • If an item is deleted, it is also removed from the recipe that uses the item
  • If an item has a reference to a recipe, and the recipe is deleted, the reference is also removed
  • Recipes cannot exist outside of an item
  • An item can only have one recipe
  • This pr also includes a fix for the link to our discord on the readme

This is a basic starting point for crafting definitions. In the future I want to allow more recipes per item. I briefly looked at recipe definitions for CDDA and found an example where a recipe can require a specific amount of any similar item, for example salt or italian spices or pepper. Something like this might be implemented in a more advanced version of the recipe editor.

2024-05-06.01-41-58.mp4

@snipercup snipercup marked this pull request as ready for review May 6, 2024 18:32
@snipercup snipercup merged commit 2bf2242 into Khaligufzel:main May 6, 2024
@snipercup snipercup deleted the recipe-editor branch May 6, 2024 18:32
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