Skip to content

Commit

Permalink
Merge pull request #1191 from myk002/myk_thread
Browse files Browse the repository at this point in the history
[gui/create-item] fix filter for thread
  • Loading branch information
myk002 authored Jun 18, 2024
2 parents 041db8b + 30a7de8 commit 5f87325
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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

0 comments on commit 5f87325

Please sign in to comment.