Skip to content

SetDefaultToken.js

kyleady edited this page Jul 10, 2017 · 3 revisions

Purpose

An ease of use tool for detailing a generic NPC's default token properly and saving it within the Character Sheet.

Usage

!Give Token To <character sheet name>

First checks that you have exactly one graphic selected.

Next checks that the character name refers to exactly one character sheet. If multiple matches are found, suggestions will be given.

Sets the following details on the selected graphic:

  • bar1_link: ""
  • bar2_link: ""
  • bar3_link: ""
  • represents: character id
  • name: character name
  • showname: true
  • showplayers_name: true
  • showplayers_bar1: true
  • showplayers_bar2: true
  • showplayers_bar3: true
  • showplayers_aura1: true
  • showplayers_aura2: true

If the character sheet is a character

  • bar1_value, bar1_max: Fatigue
  • bar2_value, bar2_max: Fate
  • bar3_value, bar3_max: Wounds

If the character sheet is a vehicle

  • bar1_value, bar1_max: Tactical Speed
  • bar2_value, bar2_max: Aerial Speed
  • bar3_value, bar3_max: Structural Integrity

If the character sheet is a starship

  • bar1_value, bar1_max: Population
  • bar2_value, bar2_max: Moral
  • bar3_value, bar3_max: Hull

Once the graphic is detailed, it is saved as the character's default token.

Requirements

Clone this wiki locally