Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.themes.register('RetroUI-P5e', {
- // the following keys will be pulled from the module.json
- // name, title, description, version, author/authors, url
- // author/authors will be formattd to fit this format
- author: [
- { name: 'MajorVictory', contact: 'https://github.com/MajorVictory', url: 'https://github.com/MajorVictory' }
- ],
- // will be merged with 'styles' entry in module.json
- // these sheets are considered to be the 'core' styles for this theme
- // these files are always loaded first when the theme is enabed
- // no system specific themes should be defined here
- 'styles': [
- 'styles/fonts/loadfonts.css'
- ],
- // FormApplication extended class that creates the options dialog
- dialog: RetroUIP5eStylesConfigDialog,
- // RetroUICoreConfig extended class that handles theme settings
- config: RetroUIP5eStylesConfig,
- // (optional) Thumbnail image
- img: 'modules/RetroUI-P5e/thumb.png',
- // (optional) Large preview image
- preview: 'modules/RetroUI-P5e/preview.png',
- // (optional) priority, higher priorities load last (numeric > 0)
- priority: 1,
- // (optional) Ensure the specified module is loaded before registering theme
- dependencies: {
- 'RetroUI-Core': ''
- },
- // (optional) known compatible systems/versions
- // if specified, sheets are attempted to be loaded in the following order
- // 1. /modules/<Module_Name>/styles/systems/<SystemID>.css
- // 2. /modules/<Module_Name>/styles/systems/<SystemID>-<Version>.css
- //
- // <SystemID> : will be the current active system id
- // <Version> : will be the current active system's version
- //
- // specified versions are used to indicate to the user if a theme may have issues with their world
- // These are NOT ENFORCED
- systems: {
- 'core': '0.6.6',
- 'dnd5e': '0.96',
- 'worldbuilding': '0.36',
- 'pf2e': '1.10.10.1973'
- },
- // (optional) known compatibilities
- compatible: {
- 'alt5e': '1.3.4',
- 'tidy5e-sheet': '0.2.21',
- 'furnace':'',
- 'dice-calculator': ''
- },
- // (optional) known conflicts
- conflicts: {
- 'darksheet': '',
- 'dnd-ui': ''
- },
- });
Add Comment
Please, Sign In to add comment