4 Commits

Author SHA1 Message Date
Curtis Merrill a9381f8785 move all crafting_inventory operations to temp_crafting_inventory class (#88606)
* move all crafting_inventory operations to temp_crafting_inventory class

* fix rebase errors

move some functions back to where they were

adjust operator=

use pseudo items and item_location in form_inventory

remove obsolete comment

* add pseudo item dedup

* check for empty item_location in visitable

* iterate over copies items as well

* pseudo item

* Update temp_crafting_inventory.cpp

* fix some compile errors

* Update craft_attention_test.cpp

* Update temp_crafting_inventory.cpp

* address clang_tidy

* dump non const

* Apply batched suggestions from code review

IWYU

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* IWYU

* IWYU

* clang

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-16 22:09:02 -05:00
Matthew Richmond aef6e0a172 Satisfy IWYU in inventory_test.cpp 2026-09-04 15:40:34 -04:00
Matthew Richmond 89edf4067a Fix item instantiation in inventory_test.cpp to use static itype_id 2026-09-04 15:25:44 -04:00
Matthew Richmond ea1433eabd Add unit test for form_from_map bulk grouping 2026-09-04 14:44:01 -04:00