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.

    • macniel@feddit.orgOP
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      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)

  • taaz@biglemmowski.win
    link
    fedilink
    arrow-up
    3
    ·
    2 days ago

    I believe most modules there are open-source, so you could check something like the pf2e module on gh to see how stuff works

    • macniel@feddit.orgOP
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      oh yeah thats true. But most are so convoluted that a beginner that is getting their feet wet will just drown in opinionated code :D

      But thanks for the suggestion.

      But i got a solution to my problem with a bit of debugging and trial and error (added edit)