Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upFix item consumption upon crafting failure #28501
Conversation
This comment has been minimized.
This comment has been minimized.
|
This pull request has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there: |
ifreund
approved these changes
Mar 5, 2019
This comment has been minimized.
This comment has been minimized.
digitCruncher
commented
Mar 5, 2019
•
|
Argh! I feel super bad now, because I was the one who suggested those changes. Now it is early morning and I am fresh and looked at the code change (and the testing reports that dissociativity mentioned) and I see I made a mistake... This change will mean that on a catastrophic failure the first ingredient will be consumed half the time, and all subsequent ingredients will be consumed ALL the time >.< The line should be I think. I've been wrong before... Sorry I can't test this. I still don't have time to mess around and try to compile the game from my computer. I got a github account finally, so you guys are slowly dragging me into actively contributing >.> |
ifreund
requested changes
Mar 5, 2019
|
Yeah @digitCruncher is totally right about what needs to happen here, I read too fast. |
ifreund
added
Crafting / Construction / Recipes
<Bugfix>
labels
Mar 5, 2019
This comment has been minimized.
This comment has been minimized.
|
alright, should be ready to go now |
This comment has been minimized.
This comment has been minimized.
|
Bug report via email that is almost certainly this issue.
|
dissociativity
changed the title
craftingfailconsumefix
Fix item consumption upon crafting failure
Mar 6, 2019
This comment has been minimized.
This comment has been minimized.
|
Jenkins Rebuild |
ifreund
approved these changes
Mar 6, 2019
This comment has been minimized.
This comment has been minimized.
|
Add closing quotation mark to your summary line. |
This comment has been minimized.
This comment has been minimized.
|
Meged to master and development as c24d77f |
dissociativity commentedMar 5, 2019
•
edited
SUMMARY: Bugfixes "Fix failure to consume any materials upon crafting failure messagePurpose of change
Fixing the failure to consume any items on crafting failure
Describe the solution
I'll just quote a post from here to explain things:
thread link
Describe alternatives you've considered
Rewrite that portion of the code, which I'm unqualified to do.
Additional context
Tested it in-game and seems to work as intended in the quotes post above.