-
Notifications
You must be signed in to change notification settings - Fork 4
Steps For Creating a New Actor
phildominguez edited this page Apr 8, 2023
·
2 revisions
Example PR: https://github.com/WookieeMatt/Essence20/pull/294
-
template.json
- Add the actor name to the
Actor.types
section - Add the actor data to
Actor.<name>
- Add the actor name to the
-
lang/en.json
- In theACTOR
section, addTypeMyactor
. Note the capitalization. This allows the actor to show up in the "Create Actor" dropdown menu. - If they have special defense calculations, or any other unique data that needs to be prepared, create
_prepare<Name>Data()
inmodule/documents/actor.mjs
- Create
templates/actor/actor-<name>-sheet.hbs
(the main sheet) - Create
templates/actor/parts/headers/actor-<name>-header.hbs
(the sheet header section)-
module/helpers/templates.mjs
- Add the header file to theActor partials - Headers
section
-
- This is dumb, but if your actor can have specializations, add them to the
#inArray
found intemplates/actor/parts/actor-essence-skills.hbs