#There is documentation here.
1 messages ยท Page 1 of 1 (latest)
Novice module maker question: I edited the file and put it in the /scripts folder of a new module. FVTT has a problem with the first line and can't find ./calendar-data.mjs Not to bug you too much, but I think either I don't run this script like another module, or I need to adjust the relative path in that first line. Any hints?
Or this may be too advanced for me at this time.
Should be scripts/calendar.mjs, the path basically starts from the module.json location
What exactly is your aim here?
Oh or was this in another script?
There's some other docs on this page that show it: https://github.com/foundryvtt/dnd5e/wiki/Modifying-Your-Game-with-Scripts#adding-a-script-to-your-manifest
Just trying to put my homebrew campaign's calendar into the DND5E Calendar options. Using the linked Greyhawk calendar script as a template to make a personal module to load it into the game.
Thanks, I will look into this further. ๐
Makes sense ๐ Doing this in your own module is the cleanest way, so please continue.
-# Should you decide to need it. There is a module that you can use to create custom calendars in the UI.
Thanks, I already have Simple Calendar, but that is more than I really need. Or do you mean there is a module that presents a GUI for the DND5E calendar settings?
I mean calendaria, similar to simple calendar, but for v13
Ah, yes, that is on my list for when I make the leap to v13, but I was hoping this personal module could suffice. Thanks again!
Pretty sure the calendar API is also v13
Yes, this is all prepping to go to v13. If I can shed another module, all the better.