Flat-Badger-1971 / ArchiveHelper

0 stars 1 forks source link

Suggestion: display a warning in duo mode if optional libraries are missing #16

Closed Stemuweb closed 4 months ago

Stemuweb commented 5 months ago

When beginning the archival wing, if in duo mode, if the player has set the specific keybind or actived a setting that uses data sharing, it would be nice to display something like :

Warning: LibDataShare is not available. [if the keybinds are set]Setting target marks manually may malfunction. [if the corresponding option is on] The count of remaining tomeshells in the Filer's wing won't update properly.

Maybe add a setting too to opt out of the warning, in case some people would be annoyed by it:

Display a warning when optional libraries are missing: yes/no

Flat-Badger-1971 commented 4 months ago

Added a warning if either of the libs is missing. It will appear at the top of the settings page

Stemuweb commented 4 months ago

Would it be possible to add a linefeed as a separator between the strings (with a table concat separator perhaps, in case more messages would be added in the future... It will make your code more complex, but it would be easier to read: see screenshot below)

settings warning with LF

Flat-Badger-1971 commented 4 months ago

Good idea - done.