twaterlvl.lua obsolete
The water level indicator can be toggled in vanilla since v50. Script can probably be deleted.
fix/dead-units.lua might be now (v50.11?), too, though there could be a use-case for running it manually.
Can the water level be toggled programmatically or with a single keypress in v50? If not, I would keep the script.
Can the water level be toggled programmatically or with a single keypress in v50? If not, I would keep the script.
The script is just df.global.d_init.flags1.SHOW_FLOW_AMOUNTS = not df.global.d_init.flags1.SHOW_FLOW_AMOUNTS.
Keybind is df.interface_key.D_TOGGLE_FLUID_NUMBERS.
fix/dead-units.luamight be now (v50.11?), too, though there could be a use-case for running it manually.
fix/dead-units is still needed -- the "original" functionality of purging dead units from the list is partially covered by vanilla. However the vanilla functionality only kicks in after 3 years, so players may want to run fix/dead-units to cull the list. In addition, the recently added "--burrows" option fixes a current bug where deceased units are not removed from burrows and the counts the game displays for how many units are assigned to the burrow incorrectly increases over time. This option is run by default as a "bugfix' option in gui/control-panel.
Can the water level be toggled programmatically or with a single keypress in v50? If not, I would keep the script.
Yeah, it's just f now:
I think we can probably remove
twaterlvl. if we need the convenience of a simple command, we can turn it into an API call