Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Latest commit

 

History

History
44 lines (15 loc) · 1.54 KB

System-Development-Part-2-Whirlwind-Tour.md

File metadata and controls

44 lines (15 loc) · 1.54 KB

Part 2 - Whirlwind Tour

Before we get ahead of ourselves, we’ll detour very briefly just to survey what exactly we’re about to catastrophically destroy in our attempts to create a working system. These are the files we’re primarily going to be working in:

./template.json

The template.json contains the data structure that Foundry automatically applies whenever an entity is created. An entity as far as we’re concerned is just a character or item that needs to have a sheet (form) containing some kind of data. Foundry has other types of entities, but we only care about characters and items.

./styles/simple.css

The main css file that controls the appearance of everything in our system. We’re mostly interested in this for dealing with making our html pages look pretty.

./templates/actor-sheet.html

Whenever Foundry creates a character for our system, it uses this page. This is where we’re going to make our character sheet and abuse it into using the data we want it to.

./modules/actor-sheet.js

The JavaScript “ActorSheet” class for our system. Big and scary. We won’t be spending a lot of time with it.

./templates/item-sheet.html

The same as actor-sheet.html but for items. We won’t be editing this in this guide.

./modules/item-sheet.js

The same as actor-sheet.js… but for items. You get the picture.