Skip to content
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
3 changes: 2 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ Template for new versions:
- `devel/datamine`: watch live values for changes and diff structure snapshots to aid script development and reverse engineering

## New Features
- `gui/unit-info-viewer`: the unit character sheet now shows the viewed unit's current and long-term mood, color-coded by stress level
- `gui/create-item`: quality selection prompt now has 0-5 hotkeys matching the quality levels
- `gui/mod-manager`: warn when loading a preset that doesn't include vanilla mods that were added to the game after the preset was saved
- `gui/unit-info-viewer`: the unit character sheet now shows the viewed unit's current and long-term mood, color-coded by stress level
- `idle-crafting`: support cloth, silk, and yarn crafts

## Fixes
Expand Down
4 changes: 3 additions & 1 deletion docs/gui/create-item.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ gui/create-item

This tool provides a graphical interface for creating items of your choice. It
walks you through the creation process with a series of prompts, asking you
for the type of item, the material, the quality, and the quantity.
for the type of item, the material, the quality, and the quantity. At the
quality prompt, you can also press ``0``-``5`` to select a quality level
directly.

If a unit is selected, that unit will be designated the creator of the summoned
items. Any item with a "sized for" property, like armor, will be created for
Expand Down
13 changes: 7 additions & 6 deletions gui/create-item.lua
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,13 @@ local function getMatFilter(itemtype, opts)
end

local function qualityTable()
return { { 'None' },
{ '-Well-crafted-' },
{ '+Finely-crafted+' },
{ '*Superior*' },
{ string.char(240) .. 'Exceptional' .. string.char(240) },
{ string.char(15) .. 'Masterwork' .. string.char(15) },
-- number the options 0-5 to match the item_quality enum
return { { 'None', key='STRING_A048' },
{ '-Well-crafted-', key='STRING_A049' },
{ '+Finely-crafted+', key='STRING_A050' },
{ '*Superior*', key='STRING_A051' },
{ string.char(240) .. 'Exceptional' .. string.char(240), key='STRING_A052' },
{ string.char(15) .. 'Masterwork' .. string.char(15), key='STRING_A053' },
}
end

Expand Down
Loading