Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Script:Track V20 Attributes"

From Roll20 Wiki

Jump to: navigation, search
(Created page with "{{script overview |name=Track V20 Attributes |author={{user profile|901082|Invincible Spleen}} |version=0.1.0 |lastmodified=2015-05-26 |code=Track V20 Attributes}} The Vampir...")
 
(Changelog)
 
Line 22: Line 22:
 
== Changelog ==
 
== Changelog ==
 
{{changelog version|0.1.0|2015-05-26|* Initial release}}
 
{{changelog version|0.1.0|2015-05-26|* Initial release}}
 +
{{changelog version|0.2.0|2017-04-27|* Added a few DAV20 items, removed spelling mistakes and also changed Discipline to Dicipline as the Sheet has incorrect spelling}}

Latest revision as of 22:03, 26 April 2017

API ScriptAuthor: Invincible Spleen
Version: 0.1.0
Last Modified: 2015-05-26
Code: Track V20 Attributes
Dependencies: None
Conflicts: None

The Vampire The Masquerade, 20th Anniversary Edition character sheet by Matt Zaldivar makes use of player filled text boxes for Disciplines and Backgrounds. These show up as generic Discipline1, Discipline2, etc. attributes when used, making it difficult to pull their values for macros and other functionality. This script solves the issue by creating named attributes for this missing information and keeping them consistent with what players are filling out on the sheet proper.

[edit] Installation and Configuration

Ensure your campaign is using the Vampire: The Masquerade 20th Anniversary Edition character sheet created by Matt Zaldivar, or a custom sheet that contains the same attributes. Its code can be found here. Once you are using the correct character sheet, copying the script's code, pasting it into a new script in your campaign's API Script Editor, and saving your changes is enough to get things up and running.

You may wish to add your own Disciplines, Paths, and Backgrounds, or incorporate new ones from V20 supplements as they are released. This is as simple as adding the new attributes you want to track to the appropriate associative array in the script. Each entry's key is the name players will type on their character sheet, while the value will be the attribute's name (which you can use in macros and other scripts). Afterwards be sure to update the schemaVersion to ensure attributes are added to preexisting characters.

  • disciplineHash: Disciplines
  • pathHash: Paths
  • backgroundHash: Backgrounds

[edit] Script Use

The script will track changes to Disciplines, Paths, and Backgrounds without any need for user interaction.

[edit] Changelog

v0.1.0 (2015-05-26)

  • Initial release


v0.2.0 (2017-04-27)

  • Added a few DAV20 items, removed spelling mistakes and also changed Discipline to Dicipline as the Sheet has incorrect spelling