DFHack / dfhack

Memory hacking library for Dwarf Fortress and a set of tools that use it
Other
1.87k stars 472 forks source link

Idea: `gui/probe`, a tool for checking tile properties faster. #4250

Open MagistrumT-T opened 8 months ago

MagistrumT-T commented 8 months ago

I got tired of moving between tiles, running probe and scrolling really quick while testing something, would be nice to have a tool that would show the details of the tile under the mouse in a screen to the side.

myk002 commented 8 months ago

not hard to do at all. There's already a developer-focused version of this with devel/inspect-screen, but what you're proposing would be more player-oriented.

MagistrumT-T commented 8 months ago

Guess I'll get around to it if I get some downtime tomorrow then, should be as easy as calling upon probe and printing it.

myk002 commented 8 months ago

Getting the probe output with dfhack.run_command_silent is one option. You can also fetch the individual data elements if you want more control over the formatting, say by representing the state in different visual widgets.