wintersleepAI / foundry-swnr

Stars Without Number: Revised for Foundry VTT
GNU Affero General Public License v3.0
31 stars 21 forks source link

Implemented the add-currency button functionality #38

Closed thebwt closed 1 year ago

thebwt commented 1 year ago

including it's i18n stuff, dialog styline, and actor manipulation

Though the i18n plugin that's configured in the env.... decided to go to war with double quotes and stuff.

F

thebwt commented 1 year ago

Version compatibility

I've confirmed the functionality in both v9 and v10

Caveats

The autofocus functionality only works reliably in v10, in v9 it works exactly once.

I think that's good enough, the other solution would be to register an onInit hook to the dialog, which isn't hard but is considerably more effort.