Commit Graph

69 Commits (34e3f81108457518cf248388daee7020a1b095eb)

Author SHA1 Message Date
Myk Taylor 1d6ae37a66
fix and reinstate heat safety filter 2023-09-03 11:54:32 -07:00
Myk Taylor 3f1eac720f
respect empty and lye_milk_free flags 2023-09-03 07:08:57 -07:00
Myk Taylor dfeac78aae
don't select artifacts as masterful quality
artifacts no longer have the artifact quality rating
we need to check for the flag explicitly
2023-06-16 16:05:01 -07:00
Myk Taylor 1b8fc20ad5
check items for accessibility for dialogs
before we only checked when doing the cycle, so if an inaccessible item
were manually selected, we'd never be able to build
2023-04-26 21:01:21 -07:00
Myk Taylor 6d9a07355b
allow filtering by yarn 2023-04-21 11:54:38 -07:00
Myk Taylor 77c2458900
filter by gems (for windows) 2023-04-17 01:05:25 -07:00
Myk Taylor 20bea5fa21
add ability to filter by cloth and silk 2023-04-11 03:49:28 -07:00
Myk Taylor 9e5728244e
don't error out when buildingplan is loaded at DF start 2023-04-07 02:07:45 -07:00
Myk Taylor 99e2e596c0
use normalized specials vector 2023-03-31 04:47:54 -07:00
Myk Taylor 44adae24ab
fix items not being filtered correctly in item selection screen 2023-03-31 04:45:59 -07:00
Myk Taylor 0db93762cf
bounds check the choice data
old forts that persisted data before this attribute existed will have an
invalid value
2023-03-29 15:09:18 -07:00
Myk Taylor f2958a5529
implement automaterial selection for buildingplan 2023-03-28 23:51:52 -07:00
Myk 921e08e97a
Merge branch 'develop' into myk_buildingplan_suspendmanager 2023-03-28 06:52:42 -07:00
Myk Taylor b515b337ea
silence noisy buildingplan warning
about itemless buildings not having items
2023-03-27 08:38:18 -07:00
Myk Taylor 8da7e216a4
buildingplan - suspendmanager integration 2023-03-27 02:24:56 -07:00
Myk 8b7223d1e2
Merge pull request #3086 from myk002/myk_buildingplan_no_filter_items
[buildingplan] allow player to choose any item when choosing items manually
2023-03-25 12:55:37 -07:00
Myk Taylor 58eaf33b08
normalize stairs so they all use the same filter 2023-03-24 15:26:17 -07:00
Myk Taylor c8f590cbac
allow player to choose any item when choosing items manually
that is, ignore the global and building-specific filters
2023-03-24 14:36:06 -07:00
Myk Taylor 873e94ea5d
actually record the deserialized material mask val 2023-03-23 10:48:33 -07:00
Myk Taylor e95b6805d0
comment out heat safety feature 2023-03-16 19:55:12 -07:00
Myk Taylor b0f9ad6449
add buildingplan reset for resetting all filters 2023-03-15 14:02:59 -07:00
Myk Taylor a4365f47f5
don't pick up empty specials 2023-03-15 13:40:08 -07:00
Myk Taylor 4be5ca4e81
filter by whether a slab is engraved
this actually adds an entirely new "specials" filter system that can be
extended later for other types
2023-03-15 00:29:27 -07:00
Myk Taylor 306d300edf
persist choose items choice per building type 2023-03-14 22:26:56 -07:00
Myk Taylor 4d8580d9e7
remember "choose items" choice per building type 2023-03-14 21:55:43 -07:00
Myk Taylor 543f9ade0d
account for reverse ordering in job_items vector 2023-03-13 13:35:12 -07:00
Myk Taylor 3798a7cb5e
allow clay to be chosen as a filter material 2023-03-12 15:13:57 -07:00
Myk Taylor 468b3b54d4
fix buildingplan typo 2023-03-11 15:36:47 -08:00
Myk Taylor 6ad2922aca
filter displayed materials if building heat safety is set 2023-03-10 02:34:05 -08:00
Myk Taylor b884fab7b6
fix freeze when printing status and there are defunct planned buildings 2023-03-10 01:04:23 -08:00
Myk Taylor 6373832490
refactor buildingplan into smaller files 2023-03-09 23:05:48 -08:00
Myk Taylor 80addc92d1
remember default max quality for each item 2023-03-05 23:04:03 -08:00
Myk Taylor ea549f6572
generate text summary as the filter changes 2023-03-05 19:15:04 -08:00
Myk Taylor 2a2141931f
allow material filter to be read and set 2023-03-05 18:17:10 -08:00
Myk Taylor d07864e5bb
allow material categories to be set from the ui 2023-03-05 16:32:05 -08:00
Myk Taylor f9924d9090
implement material filter setting and retrieving 2023-03-05 16:32:05 -08:00
Myk Taylor 090f298a47
init building materials to ordinary max quality 2023-03-05 16:32:05 -08:00
Myk Taylor 982d6a995a
fix signed/unsigned error 2023-03-02 05:29:33 -08:00
Myk Taylor 28599eb2bb
ensure item is on walkable tile 2023-03-02 05:28:12 -08:00
Myk Taylor 4f3cdeaf05
stub out reachability check for now
it's more complicated than we thought
2023-03-02 05:00:12 -08:00
Myk Taylor 926bc8b7d4
cache valid materials on world load 2023-03-02 05:00:07 -08:00
Myk Taylor 97e5fdb78e
implement saving and retrieving item quality filters 2023-02-27 12:27:21 -08:00
Myk Taylor 1d855014c2
implement global settings page 2023-02-27 10:32:54 -08:00
Myk Taylor 0f2c88265e
scan IN_PLAY last so more specific vectors are scanned first 2023-02-26 23:45:15 -08:00
Myk Taylor c1ea43244b
order buckets by pickiness 2023-02-26 23:45:15 -08:00
Myk Taylor 4f933e0a36
ensure reachability for selected items 2023-02-26 23:45:15 -08:00
Myk Taylor d8e440806c
fix signed/unsigned compare 2023-02-26 09:49:08 -08:00
Myk Taylor 4cc262c796
overhaul serialization; persist item filters 2023-02-26 09:49:07 -08:00
Myk Taylor 60de4619a2
fix signed unsigned compare 2023-02-26 09:49:07 -08:00
Myk Taylor 097e955796
infrastructure for item filtering 2023-02-26 09:49:07 -08:00