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

[gui/create-item] fix filter for thread #1191

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Template for new versions:
- `confirm`: fix confirmation prompt for overwriting a hotkey zoom location
- `quickfort`: allow farm plots to be built on muddy stone
- `suspend`: remove broken ``--onlyblocking`` option; restore functionality to suspend all construction jobs
- `gui/create-item`: allow creation of adamantine thread, wool, and yarn

## Misc Improvements
- `gui/launcher`: "space space to toggle pause" behavior is skipped if the game was paused when `gui/launcher` came up to prevent accidental unpausing
Expand Down
2 changes: 1 addition & 1 deletion gui/create-item.lua
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ local function getMatFilter(itemtype, opts)
return (mat.flags.WOOD)
end,
THREAD = function(mat, parent, typ, idx)
return (mat.flags.THREAD_PLANT)
return (mat.flags.THREAD_PLANT or mat.flags.SILK or mat.flags.YARN or mat.flags.STOCKPILE_THREAD_METAL)
end,
LEATHER = function(mat, parent, typ, idx)
return (mat.flags.LEATHER)
Expand Down