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

Fix bug where player could not create woodchip floors #33335

Merged
merged 1 commit into from
Aug 23, 2019

Conversation

Widdershin
Copy link
Contributor

I encountered an issue where I could not create a woodchip floor, in an empty shallow pit.

I removed the precondition that required it to be empty, and now I can create woodchip floors just fine.

I looked at the definition for the empty precondition and it needs the square to be flat and have no furniture, which I'm unsure a shallow pit would count as.

I think the spirit of the empty precondition was that there should be no items but it also precluded shallow pits, perhaps there should be another check?

Also it seems quite possible this bug applies in other cases in this file, I haven't investigated yet.

Summary

Purpose of change

Describe the solution

Describe alternatives you've considered

Additional context

I encountered an issue where I could not create a woodchip floor, in an empty shallow pit.

I removed the precondition that required it to be empty, and now I can create woodchip floors just fine.

I looked at the definition for the empty precondition and it needs the square to be flat and have no furniture, which I'm unsure a shallow pit would count as.

I think the spirit of the empty precondition was that there should be no items but it also precluded shallow pits, perhaps there should be another check?

Also it seems quite possible this bug applies in other cases in this file, I haven't investigated yet.
@ZhilkinSerg ZhilkinSerg added [JSON] Changes (can be) made in JSON Crafting / Construction / Recipes Includes: Uncrafting / Disassembling labels Aug 18, 2019
@Rivet-the-Zombie Rivet-the-Zombie merged commit 9119b82 into CleverRaven:master Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crafting / Construction / Recipes Includes: Uncrafting / Disassembling [JSON] Changes (can be) made in JSON
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants