Skip to content

anvil-vtt/Supers

Repository files navigation

The Supers! game system for FoundryVTT

GitHub release (latest by date) GitHub last commit GitHub All Releases GitHub Releases GitHub Release Date

GitHub Workflow Status GitHub GitHub issues GitHub forks GitHub stars

This is the Supers! system for FoundryVTT.

Installation

Manifest URL: https://github.com/anvil-vtt/Supers/releases/latest/download/system.json

For manual installation, use the provided manifest URL in the "Install System" popup window while managing game systems.

Developer setup

Important console commands

Command Description
npm install Install/Update node modules after new dependencies were added by other developers
npm install --save-dev <package-name> Installs a new node module and saves it as a dev-dependency (inside package.json)
npm run build Builds the project and puts everything inside dist
npm run watch Same as npm run build but watches for changes and rebuilds automatically
npm run start Starts the webpack dev-server on port 8080 which allows developers to use HMR
npm run prettier Checks if every file is formatted in the right way
npm run prettier:fix Automatically fixes the code style for most files inside the project

Installing the system for development

  • Request write access to the repository or fork the project
  • Clone the repository, e.g. via console git clone [email protected]:anvil-vtt/Supers.git ~/Supers

Link the new system to your FoundryVTT data folder

Linux / MacOS

  • cd ~/foundryvttdata/Data/systems
  • When using build/watch: ln -s ~/Supers/dist/ Supers
  • When using the webpack devserver: ln -s ~/Supers/system/ Supers

Windows

  • cd D:\foundryvttdata\Data\systems
  • When using build/watch: mklink /d D:\foundryvttdata\Data\systems\Supers D:\Supers\dist
  • When using the webpack devserver: mklink /d D:\foundryvttdata\Data\systems\Supers D:\Supers\system

License

MIT License

Copyright (c) 2021 AnvilVTT

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.