Skip to content

Commit

Permalink
Merge pull request #844 from myk002/myk_pedestal
Browse files Browse the repository at this point in the history
dialog for assigning items to display furniture
  • Loading branch information
myk002 authored Sep 30, 2023
2 parents 73eac04 + c26b63b commit 57c8593
Show file tree
Hide file tree
Showing 4 changed files with 691 additions and 0 deletions.
2 changes: 2 additions & 0 deletions caravan.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
--@ module = true

local movegoods = reqscript('internal/caravan/movegoods')
local pedestal = reqscript('internal/caravan/pedestal')
local trade = reqscript('internal/caravan/trade')
local tradeagreement = reqscript('internal/caravan/tradeagreement')

Expand All @@ -20,6 +21,7 @@ OVERLAY_WIDGETS = {
tradeagreement=tradeagreement.TradeAgreementOverlay,
movegoods=movegoods.MoveGoodsOverlay,
assigntrade=movegoods.AssignTradeOverlay,
displayitemselector=pedestal.PedestalOverlay,
}

INTERESTING_FLAGS = {
Expand Down
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Template for new versions:

## New Features
- `startdwarf`: overlay scrollbar so you can scroll through your starting dwarves if they don't all fit on the screen
- A new searchable, sortable, filterable dialog for selecting items for display on pedestals and display cases

## Fixes
- `suspendmanager`: fixed a bug where floor grates, bars, bridges etc. wouldn't be recognised as walkable, leading to unnecessary suspensions in certain cases.
Expand Down
12 changes: 12 additions & 0 deletions docs/caravan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,15 @@ Trade agreement

A small panel is shown with a hotkey (``Ctrl-A``) for selecting all/none in the
currently shown category.

Display furniture
`````````````````

A button is added to the screen when you are viewing display furniture
(pedestals and display cases) where you can launch an item assignment GUI.

The dialog allows you to sort by name, value, or where the item is currently
assigned for display.

You can search by name, and you can filter by item quality and by whether the
item is forbidden.
Loading

0 comments on commit 57c8593

Please sign in to comment.