FoundryVTT development
-
Does anyone here knows how to develop a module and or system?
My group currently plays a rather old version (4.1) of The Dark Eye (Das Schwarze Auge) which is super popular in Germany. Sadly the only game system available is not well suited for anything, so three of us decided to write our own.
In the concrete scenario where I need help is getting the compendium data into the game. I have written compendium test data and the cli was able to put it into database files. When I boot a world with that game system it also parses the entries but then nothing, they don’t show up.
Edit:
Turned out that the _key is super important on the JSONs/YMLs and have to correspond to the actual documentClass.
I figured it out by looking at the database (of type level db) when I created a new Item inside a running game and synchronised my input files for the compendia. Now it works.
-
Does anyone here knows how to develop a module and or system?
My group currently plays a rather old version (4.1) of The Dark Eye (Das Schwarze Auge) which is super popular in Germany. Sadly the only game system available is not well suited for anything, so three of us decided to write our own.
In the concrete scenario where I need help is getting the compendium data into the game. I have written compendium test data and the cli was able to put it into database files. When I boot a world with that game system it also parses the entries but then nothing, they don’t show up.
Edit:
Turned out that the _key is super important on the JSONs/YMLs and have to correspond to the actual documentClass.
I figured it out by looking at the database (of type level db) when I created a new Item inside a running game and synchronised my input files for the compendia. Now it works.
I’d highly recommend joining the Foundry discord if you haven’t already. It’s very active, has channels for anything and everything, and people are generally helpful.
Their GitHub page might also help with technical details.
Foundry Virtual Tabletop
Foundry Virtual Tabletop self-hosted software that provides an innovative online role-playing experience. - Foundry Virtual Tabletop
GitHub (github.com)
-
Does anyone here knows how to develop a module and or system?
My group currently plays a rather old version (4.1) of The Dark Eye (Das Schwarze Auge) which is super popular in Germany. Sadly the only game system available is not well suited for anything, so three of us decided to write our own.
In the concrete scenario where I need help is getting the compendium data into the game. I have written compendium test data and the cli was able to put it into database files. When I boot a world with that game system it also parses the entries but then nothing, they don’t show up.
Edit:
Turned out that the _key is super important on the JSONs/YMLs and have to correspond to the actual documentClass.
I figured it out by looking at the database (of type level db) when I created a new Item inside a running game and synchronised my input files for the compendia. Now it works.
I believe most modules there are open-source, so you could check something like the pf2e module on gh to see how stuff works
-
I believe most modules there are open-source, so you could check something like the pf2e module on gh to see how stuff works
oh yeah thats true. But most are so convoluted that a beginner that is getting their feet wet will just drown in opinionated code
But thanks for the suggestion.
But i got a solution to my problem with a bit of debugging and trial and error (added edit)
-
I’d highly recommend joining the Foundry discord if you haven’t already. It’s very active, has channels for anything and everything, and people are generally helpful.
Their GitHub page might also help with technical details.
Foundry Virtual Tabletop
Foundry Virtual Tabletop self-hosted software that provides an innovative online role-playing experience. - Foundry Virtual Tabletop
GitHub (github.com)
I think I should join that discord yeah, even though I dislike that software.
But i got a solution to my problem with a bit of debugging and trial and error (added edit)