diff --git a/NEWS b/NEWS index 38bcfe1f3..3b6b2023f 100644 --- a/NEWS +++ b/NEWS @@ -246,7 +246,7 @@ DFHack v0.34.11-r5 New plugins: - rendermax: replace the renderer with something else. Most interesting is "rendermax light"- a lighting engine for df. - - stockflow (by eswald): queues manager jobs of the configured type based on the state of a stockpile. + - automelt: allows marking stockpiles for automelt (i.e. any items placed in stocpile will be designated for melting) - embark-tools: implementations of Embark Anywhere, Nano Embark, and a few other embark-related utilities - building-hacks: Allows to add custom functionality and/or animations to buildings. - petcapRemover: triggers pregnancies in creatures so that you can effectively raise the default pet population cap from the default 50 diff --git a/Readme.rst b/Readme.rst index be3912d19..cd0b677b1 100644 --- a/Readme.rst +++ b/Readme.rst @@ -2880,6 +2880,15 @@ Enable the autodump plugin in your dfhack.init with When querying a stockpile an option will appear to toggle autodump for this stockpile. Any items placed in this stockpile will be designated to be dumped. +Stockpile Automation +==================== +Enable the automelt plugin in your dfhack.init with + ``enable automelt`` + +When querying a stockpile an option will appear to toggle automelt for this stockpile. +Any items placed in this stockpile will be designated to be melted. + + gui/liquids =========== diff --git a/plugins/automelt.cpp b/plugins/automelt.cpp index ab286e358..042d8e082 100644 --- a/plugins/automelt.cpp +++ b/plugins/automelt.cpp @@ -233,7 +233,7 @@ struct melt_hook : public df::viewscreen_dwarfmodest links += sp->links.give_to_workshop.size(); links += sp->links.take_from_workshop.size(); bool state = monitor.isMonitored(sp); - + if (links + 12 >= y) { y = dims.y2; OutputString(COLOR_WHITE, x, y, "Auto: ");