Merge pull request #3076 from myk002/myk_automelt

allow metal chests to be melted
develop
Myk 2023-03-23 02:24:21 -07:00 committed by GitHub
commit 5bfd2ee47d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

@ -41,6 +41,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
- `buildingplan`: upright spike traps are now placed extended rather than retracted - `buildingplan`: upright spike traps are now placed extended rather than retracted
## 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)