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

Feature request - Craft again / Multiple crafting #81

Open
Ikabodo opened this issue Sep 14, 2023 · 5 comments
Open

Feature request - Craft again / Multiple crafting #81

Ikabodo opened this issue Sep 14, 2023 · 5 comments

Comments

@Ikabodo
Copy link

Ikabodo commented Sep 14, 2023

I've been looking to implement Beaver's with my existing crafting systems. And it's looking real good. Especially like the crafting tab on the sheet! One thing that came to mind though, is that you might often want to craft multiple of something.

Would it be possible to add a "craft again" button or something similar?
image
This would simply add another of the same recipe including the same optional choices.

This way it would save the crafter a few clicks if they know they want to craft say five potions of healing. Also, it would enable someone to try again if they failed a crafting.

@AngryBeaver
Copy link
Owner

That sounds not too heavy to implement. But it will collide with a feature that i wanted to implement. ( a recipe that is only available when close to xyz e.g. anvils). Have to think about it.

Anyway this will probably need to wait a bit, currently busy on another module.

@Ikabodo
Copy link
Author

Ikabodo commented Sep 14, 2023

It was the simplest solution I could think of! To be honest I also realized you can actually just use the recipe too. So that works well for now.

But generally, the usecase of wanting to craft several of something is something worth considering.

Thanks for considering. Looking forward to whatever other module you are thinking of!

@Ikabodo
Copy link
Author

Ikabodo commented Sep 14, 2023

Another option that I just considered too.
Add a small "+" button somewhere. This way you can just duplicate something you've already added, no matter if it's failed or not. This could easily be used either to retry something OR to create several of something.

@AngryBeaver
Copy link
Owner

Hm i have identified some obstacles that i need to overcome before i could start with this.
First of the original recipe might have had a random table as result. -> The retry should again have a random table result not a fixed result. -> requires probably this: #64

Anotherthing that i currently am still clueless how to solve is if the original recipe had a makro.
Sometimes i would need to execute the makro again -> sometimes the makro had already changed the resultRecipe and its ingredients and should not be executed again.

The last problem will make the implementation much more complicated then just use the resultRecipe again.

@Ikabodo
Copy link
Author

Ikabodo commented Sep 15, 2023

Sometimes I would need to execute the makro again -> sometimes the makro had already changed the resultRecipe and its ingredients and should not be executed again.

In my personal opinion a plus/craft again is like a "duplicate". So it should use the exact same ingredients and results. But if the macro is used for something other than that I guess it could get more complicated. A possible step by step solution would be to disable the duplicate button for items with macros until you have a solution.

@AngryBeaver AngryBeaver mentioned this issue Oct 7, 2023
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

2 participants