Advertisement Create a free account

[Script] AlignmentTracker

1539098780

Edited 1539151352
Robin
API Scripter
AlignmentTracker I needed a small way to keep track of a characters alignment, so I created this script. It creates a nice table grid with the alignment on it. And you can easily change a persons alignment with "points". It creates a new handout for every character you make an alignment table for, with the option to show it to that player. Commands !alignment (config) - Shows the config menu. !alignment create - Creates a new handout with a table for the selected token(s). !alignment change-alignment - Change the entire alignment, eg. !alignment change-alignment LG !alignment change [morality] [lawfulness] - Change the alignment with morality and lawfulness "points" of the selected token(s), eg. !alignment change +1 -1 !alignment get - Shows a menu with the alignments of the selected token(s). Config Command  - Which command you want to use for this script. Attribute - The alignment attribute to use, depends on the sheet used. Show Players - Put the handout in the corresponding player's Script:  https://github.com/RobinKuiper/Roll20APIScripts/tree/master/AlignmentTracker
1539126811
The Aaron
Pro
API Scripter
OOOH!  Neat!  I've always wanted to use something like this in my own games.
1539131533
Your link goes to Concentration script.
1539151312
Robin
API Scripter
Kilter said: Your link goes to Concentration script. oh, changed. Thanks.
1539253350
Robin
API Scripter
Update 0.1.1 Fixed a bug where a character with no alignment would crash the API. https://github.com/RobinKuiper/Roll20APIScripts/tree/master/AlignmentTracker
1539282192
Scott C.
Pro
Sheet Author
API Scripter
My only critique (although I haven't tried it yet) is that the law-chaos axis should be flipped, or at least all the tables for this I've seen always have it the other way around.
1539326372
Robin
API Scripter
Scott C. said: My only critique (although I haven't tried it yet) is that the law-chaos axis should be flipped, or at least all the tables for this I've seen always have it the other way around. hm, your right indeed, the table I have now looks so weird after your comment. Will change this in the next update.
Robin said: Scott C. said: My only critique (although I haven't tried it yet) is that the law-chaos axis should be flipped, or at least all the tables for this I've seen always have it the other way around. hm, your right indeed, the table I have now looks so weird after your comment. Will change this in the next update. I think it also depends on your mindset while looking at it. Currently, it is represented in a mathematical sense: an X-Y plane where positive X is Law and negative X is Chaos while positive Y is Good and negative Y is Evil. So (+X, +Y) is Lawful Good and (-X, -Y) is Chaotic Evil.
1539376249
I tried  !alignment create  on a character with Neutral as the alignment and got  Corehya doesn't have an alignment. I did not create a table for him/her. Then tried Neutral Neutral and it worked.  Just as a heads up as the charactermancer puts the alignment as one Neutral not two.
1539378834
Robin
API Scripter
Kilter said: I tried  !alignment create  on a character with Neutral as the alignment and got  Corehya doesn't have an alignment. I did not create a table for him/her. Then tried Neutral Neutral and it worked.  Just as a heads up as the charactermancer puts the alignment as one Neutral not two. Thanks, will look at it for the next update!
1539380586
Robin
API Scripter
Update 0.1.2 Table reorder. Added "Neutral" to the alignment possibilities. Bugfixes. https://github.com/RobinKuiper/Roll20APIScripts/tree/master/AlignmentTracker