SamuKata
fantasytowngenerator
fantasytowngenerator

patreon


Development Update - April 2025

Announcement: the FoundryVTT integration no longer requires a premium account - it can be now be used by free users.

Hi everyone, hope you're all doing well. Over the last month, I've worked on a few things:

Roll20 integration

I've made a basic Roll20 integration, which is implemented as a browser extension. You can download that from:

This extension needs to be installed by all players, and will load an instance of FTG within Roll20 (similar to how the FoundryVTT integration works).

More information on how to install and use the extension can be found in the user guide.

Unlike the FoundryVTT module, this just renders a normal instance of FTG, without support for more advanced features like pop-out dialogs and automatic syncing of updates and changes.

The main reason for this is because the integration was built as a browser extension. An alternative would have to build a Roll20 mod. Howver, the Roll20 mod API doesn't allow iframes to be added to the page, or for web requests (e.g. to the FTG server) to be made. Additionally, Roll20 mods require you to have the pro subscription tier.

For these reasons, I opted to build a browser extension that adds an iframe, which can respond to the chat to sync operations between players, and can used by free users of Roll20.

This is still early days for the extension, and more can be added, so I would be interested to hear your feedback!

You can find the code for the extension on GitHub.

Foundry VTT updates

Journal links

You can now link FTG buildings, people, and factions to a journal entry. To do this, open up the dialog for one of these, and then click the 'settings' button in the top right of the dialog. Note, only the GM has access to the settings.

Once linked, you can press a button in the dialog to open the journal, or configure the settings to open the journal automatically when the dialog opens.

Players will only see this button if they have permission to access that journal.

This also works with Monk's Enhanced Journal entries - this lets you do things like link to a shop journal entry where players can buy and sell items themselves.

Simple calendar integration

If simple calendar is installed in foundry alongside the FTG module, the time and date in the FTG settlement will change with the simple calendar time. This includes manual updates as well as the realtime progression feature (only updating every hour).

For both of these features, you can check out the GitHub page for more usage details.

iframe restrictions lifted for free users

iframes are used to embed FTG within other websites. This is what is used to power the FoundryVTT module, and now the Roll20 integration. Previously, the only way to enable iframing a settlement was via the "FoundryVTT origins" premium settings. I've updated FTG to allow free users to iframe a settlement via the settlement specific settings.

The premium user setting still exists, alongside a new option for a default public access level. These settings only need to be set once - while the settlement specific settings need to be updated for each settlement individually.

As mentioned at the start - this restriction being lifted means that you no longer need to be a premium user to use the FoundryVTT module (or the new Roll20 integration).

Download saved create settlement settings

You can now download saved create settlement form settings as a file, and import settings from a file.

This will let you save full settings on one computer, and upload it on another - or just save it permanently so it's not just stored in local storage which can be cleared.

Conclusion

Well that's about it for this month - as always thank you all for your support! Next up, I want to take a look at some smaller generation tweaks - including better harbours and castles. If you have any questions, or any other feedback, please let me know!

Development Update - April 2025

Comments

In the create settlement form? If you accidentally generate a settlement, you can press the home button above the settlement name, and your settings will still be there in the create settlement form

Thomas Allerton

I know it's small and nit picky but mabye an are you sure box when you go to generate a city I have made 6 half finished city's and only been useing this the last two days

anonymous

Mountain options are on the to-do list (no ETA on when). The current algorithm generates the details before the layout (so that we know what buildings need to be placed and then generate an appropriate layout), and I don't see this ever changing. You can use the re-roll functionality to quickly generate settlements using the same settings until you find a layout that you like.

Thomas Allerton

2 things that I would love to see: 1. mountain options e.g. a village in the mountains. 2. On generation have the app generate 3 layouts BEFORE all the details and population are generated so that we can choose which of the 3 we prefer and THEN all the details are created.

Peter Hawkins


More Creators