This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global createObj TokenMod spawnFxWithDefinition getObj state playerIsGM sendChat _ findObjs log on*/ | |
/* | |
My Profile link: https://app.roll20.net/users/262130/dxwarlock | |
GIT link: https://github.com/dxwarlock/Roll20/blob/master/Public/HeathColors | |
Roll20Link: https://app.roll20.net/forum/post/4630083/script-aura-slash-tint-healthcolor | |
*/ | |
/*jshint bitwise: false*/ | |
var HealthColors = HealthColors || (function () { | |
'use strict'; | |
var version = '1.5.1', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GIST: https://gist.github.com/shdwjk/8d5bb062abab18463625 | |
var IsGMModule = IsGMModule || { | |
version: 0.6, | |
active: true, | |
reset_password: "swordfish", | |
CheckInstall: function() { | |
var players = findObjs({_type:"player"}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// VERSION INFO | |
var SimpleInitiative_Author = "Sky"; | |
var SimpleInitiative_Version = "1.4.1"; | |
var SimpleInitiative_LastUpdated = 1530594275; | |
// VARIABLE DECLARATIONS | |
var SHOW_GREEN_DOT = true; | |
var ANNOUNCE_NEW_TURN = true; | |
var PC_COLOR = "#073763"; | |
var NPC_COLOR = "#440000"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const SpeechBalloon = (() => { // eslint-disable-line no-unused-vars | |
const version = 0.1; // eslint-disable-line no-unused-vars | |
const schemaVersion = 0.4; | |
const defaultShowLength = 4; // seconds | |
const msPerSec = 1000; // for conversions.. no magic numbers! | |
const checkStepRate = 1000; //ms = 1 second | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Calendar = Calendar || { | |
version: 1.6, | |
lunarPhaseSize: 15, | |
lunarPhasesImage: 'https://s3.amazonaws.com/files.d20.io/images/4277527/CJJWBbiHx3jHglPdccPx3A/max.png?1401939451', | |
clearImage: 'https://s3.amazonaws.com/files.d20.io/images/4277467/iQYjFOsYC5JsuOPUCI9RGA/max.png?1401938659', | |
_Ordinal: function(num) { | |
var ones=(num%10); | |
var tens=((num%100)-ones); | |
switch(ones) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GIST: https://gist.github.com/shdwjk/ed16764c268129afff22 | |
/* ############################################################### */ | |
/* TurnMarker */ | |
/* ############################################################### */ | |
var TurnMarker = TurnMarker || { | |
version: 1.24, | |
schemaVersion: 1.16, | |
active: false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GIST: https://gist.github.com/shdwjk/7a9c3ce232961662b69c | |
var WeightedDice = WeightedDice || { | |
version: 0.2, | |
schemaVersion: 0.1, | |
CheckInstall: function() { | |
if( ! _.has(state,'WeightedDice') || state.WeightedDice.schemaVersion != WeightedDice.schemaVersion) | |
{ | |
/* Default Settings stored in the state. */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use this version instead: | |
https://github.com/shdwjk/Roll20API/blob/master/TableExport/TableExport.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GIST: https://gist.github.com/shdwjk/d97377b90de4bb37195b | |
var Betrayal = Betrayal || (function(){ | |
var Tiles={ | |
"Basement Landing": { | |
name: "Basement Landing", | |
imgsrc: "https://s3.amazonaws.com/files.d20.io/images/3482089/uhxEkm5S_TNzjP7NdCm4hg/thumb.png?1395454546", | |
where: [ "basement" ], | |
special: true, | |
exits: [ "north", "south", "east", "west", "Grand Staircase" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Monster Management Script | |
// Usage: !monster import // This will read the "Monster Import" handout, and import it in to roll20. | |
// See monster-import.txt for example formatting. The regular expressions that power this system should | |
// be capable of parsing most monster entries from the SRD, as well as the Monster Manual(s). | |
// Let me know if you find a monster that fails to parse properly! | |
// !monster generate (MonsterName) // Select 1 or more monsters, then run this command. All selected tokens | |
// will be linked to the applicable monster's sheet, and have their health bar (bar1) populated with a randomly | |
// rolled min/max hitpoint value, derived from the monster's HD. Bar2 will be filled with notes relevant to the monster | |
// (If using my TokeNotes script), and bar3 will be populated with the monster's AC. | |
// !monster clear-all // Removes all automatically generated monsters. |
NewerOlder