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

Add missing special casing for tools without charge #31996

Merged
merged 1 commit into from
Jul 1, 2019

Conversation

ifreund
Copy link
Contributor

@ifreund ifreund commented Jun 30, 2019

Summary

SUMMARY: Bugfixes "Add missing special casing for tools without charge."

Purpose of change

Fixes #31993

Describe the solution

I neglected to add special casing for tools without charge in a few places in #31844. This PR adds the missing special casing, and corrects another oversight in player::can_start_craft() that could have allowed starting a craft without all the required components.

Describe alternatives you've considered

Not fixing it ¯\_(ツ)_/¯

@ifreund ifreund added Crafting / Construction / Recipes Includes: Uncrafting / Disassembling [C++] Changes (can be) made in C++. Previously named `Code` <Bugfix> This is a fix for a bug (or closes open issue) labels Jun 30, 2019
@Rivet-the-Zombie Rivet-the-Zombie merged commit d21fc06 into CleverRaven:master Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Crafting / Construction / Recipes Includes: Uncrafting / Disassembling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Batch crafting for food is broken
2 participants