allow metal chests to be melted

develop
Myk Taylor 2023-03-23 00:59:05 -07:00
parent 6af4f4b8c7
commit 0b72b42b7e
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

@ -40,6 +40,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
- `tailor` now properly discriminates between dyed and undyed cloth and no longer defaults to using adamantine - `tailor` now properly discriminates between dyed and undyed cloth and no longer defaults to using adamantine
## Misc Improvements ## Misc Improvements
- `automelt`: now allows metal chests to be melted (workaround for DF bug 2493 is no longer needed)
## Documentation ## Documentation

@ -293,7 +293,7 @@ static inline bool can_melt(df::item *item)
df::item_type t = item->getType(); df::item_type t = item->getType();
if (t == df::enums::item_type::BOX || t == df::enums::item_type::BAR) if (t == df::enums::item_type::BAR)
return false; return false;
for (auto &g : item->general_refs) for (auto &g : item->general_refs)