DFHack / dfhack

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

gui/journal next steps #4776

Open myk002 opened 4 months ago

myk002 commented 4 months ago

Tracker issue for related ideas. We can split these off into their own issues as necessary.

plule commented 4 months ago

Awesome idea, I'm always keeping a journal in the Notion notes app for that purpose, having it in game could be wonderful.

Closely related to the idea of bookmark per unit: Being able to "@" mention units, (and locations, artifacts, civs, other stuff?), and keep track of the reverse links. In the journal "today @urist did xxx", then later when clicking on urist or when mentioning them again, you can find back the previous mentions of Urist. That's how it works in note taking apps, and it's super convenient

Urist commented 4 months ago

You rang?

myk002 commented 4 months ago

You rang?

Apologies! It was a spurious mention. If you're not familiar with the game Dwarf Fortress, "Urist" is a common name for dwarves in the game (it means "Dagger" in their native in-game language). Players frequently use the name "Urist" to mean "A generic fort citizen".

Urist commented 4 months ago

Haha! No problem! I do know the game, I believe I was playing back in 2011 when I created this account and got the name from it. I also dipped back in briefly with the steam release. I'm glad to see that the community is going strong! I've heard of DFHack but I haven't used it, these sound like great features! ❤️

plule commented 4 months ago

Oops sorry for the ping

Dirtbug commented 2 months ago

Are there any plans to get special characters to work in gui/journal? At the moment it seems like anything other than alphanumeric and other common characters work properly. Characters with diacritics and most of the other characters in CP437 for example can be typed into the journal fine but when you save then close and open the game they don't show up properly. Is that something that can be fixed/is worth the time it would take to fix or is it a more fundamental problem?

robob27 commented 1 month ago

Would the dates be IRL dates or dorf dates? I use the latter a lot personally but I could see use cases for both. If we're doing @stuff text replacement anyways it might be cool/real easy to add in a @now (maybe also @dwarfnow?) to automatically replace with the date at the time of writing. We could add options to control panel to determine preferred formatting for each.

For autocomplete mentions, should we have it so there is some qualifier before choosing the things to autocomplete with? I'm thinking if I type @ I would initially see a suggestion list like:

@artifact:
@location:
@now
@squad:
@unit:
@etc:

and then once the full @qualifier: bit is there (and optionally some number of characters?), we display the stuff matching the qualifier.

Selfishly I would love a lot of these @ features to be optionally usable in non-journal textareas as well. Even in EditField could be cool. I'm not sure where the line is drawn on these features given the textarea being abstracted.

Unrelated to this but, a separate tool that automatically keeps track of happiness changes and potentially other data points might be neat given how I'm using notes/journal stuff 🤔. (Ah I see this is tracked in 4617 - not linking to avoid noise)