Difference between revisions of "Script:Track V20 Attributes"
From Roll20 Wiki
(→Changelog) |
Andreas J. (Talk | contribs) m |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
+ | {{revdate}} | ||
+ | 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. | ||
{{script overview | {{script overview | ||
|name=Track V20 Attributes | |name=Track V20 Attributes | ||
|author={{user profile|901082|Invincible Spleen}} | |author={{user profile|901082|Invincible Spleen}} | ||
− | |version=0. | + | |version=0.2.0 |
− | |lastmodified= | + | |lastmodified=2017 |
|code=Track V20 Attributes}} | |code=Track V20 Attributes}} | ||
− | |||
− | |||
− | |||
== Installation and Configuration == | == 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 [https://github.com/invincible-spleen/roll20-character-sheets/tree/master/CWOD-V20 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:Use_Guide#The_Script_Editor|API Script Editor]], and saving your changes is enough to get things up and running. | 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 [https://github.com/invincible-spleen/roll20-character-sheets/tree/master/CWOD-V20 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:Use_Guide#The_Script_Editor|API Script Editor]], and saving your changes is enough to get things up and running. | ||
Line 21: | Line 20: | ||
== Changelog == | == Changelog == | ||
+ | {{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}} | ||
{{changelog version|0.1.0|2015-05-26|* Initial release}} | {{changelog version|0.1.0|2015-05-26|* Initial release}} | ||
− | + | ||
+ | [[Category:Discontinued API Scripts]] | ||
+ | [[Category:World of Darkness]] |
Latest revision as of 12:49, 24 September 2021
Page Updated: 2021-09-24 |
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.
Version: 0.2.0
Last Modified: 2017
Code: Track V20 Attributes
Dependencies: None
Conflicts: None
[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.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
v0.1.0 (2015-05-26)
- Initial release