Skip to content

Xbozon/storyteller-addon-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Addon example for Storyteller

An example of an addon that allows you to add a custom log type with any layout you like. The class registration system allows you to change the functionality in any way you want.

How to use

game.StoryTeller.registerAddonSheet({
    /* Unique key, must not overlap with other keys. It is used to access the object. */
    key: "example",
    /* The class that implements the settings for the new journal. You don't need to create an instance, the class description itself is passed. */
    sheet: ExampleSheet,
    /* Key-identifier of the string for translation. */
    label: "STORYTELLER_ADDON_EXAMPLE.ExampleEntry"
})

How to release a new version

Upgrade the version according to your changes, and create a tag on github. As you work, don't forget to change the links to match your repository.

  "version": "1.0.0",
  "manifest": "https://raw.githubusercontent.com/Xbozon/storyteller-addon-example/main/module.json",
  "download": "https://github.com/Xbozon/storyteller-addon-example/archive/refs/tags/v1.0.0.zip"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors