When building a new system, you have several options to choose from. You can copy an existing system (depending on its license) like the Simple World-building system, you can use a system generator, or you could start from scratch and have total control.
- Download a zip version of the Boilerplate System
- Extract it to the
/Data/systemsdirectory in your Foundry userData folder and rename it fromboilerplate-masterto your system's name (lowercase, machine-safe). - Search the directory for any files with the filename
boilerplateand rename them to your system's machine-safe name, such asmysystemname. - Search the files for any occurrences of
Boilerplate(case-sensitive) and replace those with a capitalized version of your system name that's still machine-safe, such asMySystemName. These are typically used for the classes in the Javascript files. - Search the files for any occurrences of
boilerplate(case-sensitive) and replace those with a lowercase machine-safe version of your system name, such asmysystemname. - If the replace instructions from step 4 also included updating your description in system.json, you should edit that to be more readable now, such as "My System Name".
You'll need to be comfortable with your terminal/command line and have npm installed. If you are, run the following two commands:
npm install -g yo
npm install -g generator-foundryAfter that, you just need to open your /Data/systems directory in your Foundry userData folder in your terminal and run
yo foundryto generate your system. The generator will ask you what your system name should be and will provide examples.
From here, you can skip to the next page or keep reading if you'd like to read about the other options for starting a new system.
If you'd like to see other options for getting started with building a new system to start from, see the Other options page.
- Next: Stuff to be aware of