This file contains hidden or 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
{ | |
Call:"shillelagh", | |
Name:"Shillelagh", | |
Class:"Druid", | |
SubClass:"", | |
Ritual:"N", | |
Concentration:"N", | |
Level:"0", | |
School:"Transmutation", | |
Component:"V,S,M", |
This file contains hidden or 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 mapName = "GeomorphicMap"; | |
var lineColor = "#00ff00"; | |
var lineSize = 5; | |
var geomorphicMapId; | |
var geomorphicMapWidth; | |
var geomorphicMapHeight; | |
var geomorphicTilesArray = new Array(); | |
var mapTilesArray = []; | |
var isError = false; | |
var errorType = "None."; |
This file contains hidden or 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 mapName = "GeomorphicMap"; | |
var lineColor = "#00ff00"; | |
var lineSize = 5; | |
var geomorphicMapId; | |
var geomorphicMapWidth; | |
var geomorphicMapHeight; | |
var geomorphicTilesArray = new Array(); | |
var mapTilesArray = []; | |
var isError = false; | |
var errorType = "None."; |
This file contains hidden or 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 languageAvatar = "https://s3.amazonaws.com/files.d20.io/images/5538325/0OqDji-XRtAd9ilCHbTbOQ/thumb.png?1410447564" | |
var roll20API = roll20API || {}; | |
var whoSpoke = ""; | |
var whichLanguage = ""; | |
var languageSeed = 0; | |
var gibberish = ""; | |
roll20API.languageData = [ | |
{ | |
Description: "Dwarven", |
This file contains hidden or 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 roll20API = roll20API || {}; | |
roll20API.AbjurationURL = "https://s3.amazonaws.com/files.d20.io/images/5586844/rcLDFgVjvGTtePvJ-681pg/thumb.png?1410738695"; | |
roll20API.ConjurationURL = "https://s3.amazonaws.com/files.d20.io/images/5586847/n156karksxGXY0nzUEyk9w/thumb.png?1410738696"; | |
roll20API.DivinationURL = "https://s3.amazonaws.com/files.d20.io/images/5586852/qSdZ682ZbKyjNxN2LjkSOw/thumb.png?1410738699"; | |
roll20API.EnchantmentURL = "https://s3.amazonaws.com/files.d20.io/images/5586853/JddRZXofOfQcliHENYbO4w/thumb.png?1410738699"; | |
roll20API.EvocationURL = "https://s3.amazonaws.com/files.d20.io/images/5586855/FWcn_55a8FUI5PL0uwyzDg/thumb.png?1410738700"; | |
roll20API.IllusionURL = "https://s3.amazonaws.com/files.d20.io/images/5586836/hPFiw2NZd_NBus7dp3gTNQ/thumb.png?1410738691"; | |
roll20API.NecromancyURL = "https://s3.amazonaws.com/files.d20.io/images/5586835/1ybbxZinU7bItV07K5nWUA/thumb.png?1410738691"; | |
roll20API.TransmutationURL = "https://s3.amazonaws.com/files.d20.io/images |
This file contains hidden or 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
//SpellArray Gist: https://gist.github.com/BaldarSilveraxe/b870375736cce7a7bee0 | |
///Googl File: https://docs.google.com/spreadsheets/d/1U0zeNzWa5ntISV8ILpldk6VsH0UtwIinuTx0NFjbAh0/edit?usp=sharing | |
on("ready", function() { | |
on("chat:message", function (msg) { | |
if (msg.type != "api") return; | |
msg.who = msg.who.replace(" (GM)", ""); | |
msg.content = msg.content.replace("(GM) ", ""); | |
var command = msg.content.split(" ", 1); |
This file contains hidden or 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
roll20API.spelllist = [ | |
{ | |
Call:"acid_splash", | |
Name:"Acid Splash", | |
Class:"Sorcerer,Wizard", | |
SubClass:"", | |
Ritual:"N", | |
Concentration:"N", | |
Level:"0", | |
School:"Conjuration", |
This file contains hidden or 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
on("ready", function() { | |
on("chat:message", function (msg) { | |
if (msg.type != "api") return; | |
msg.who = msg.who.replace(" (GM)", ""); | |
msg.content = msg.content.replace("(GM) ", ""); | |
var command = msg.content.split(" ", 1); | |
if(command == "!createMap") {createMap();}; | |
}); | |
}); |
This file contains hidden or 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
function dungeonreadytiles(action) { | |
var dungeonReadyTiles = [ | |
{name: "Geo_B_0001", shortName: "0001", edge: false, corner: false, entrance: false, connections: 0, side: 0, sample: "6394851/qTICq2-wIRiPAQLPKJPZxA/med.jpg?1416264499"}, | |
{name: "Geo_B_0002", shortName: "0002", edge: false, corner: false, entrance: false, connections: 2, side: 1, sample: "6394853/g4WzTQB7_Vi2ESuBHRo2Fw/med.jpg?1416264511"}, | |
{name: "Geo_B_0003", shortName: "0003", edge: false, corner: false, entrance: false, connections: 2, side: 2, sample: "6394855/1FZhOFWMOa3ytVsRvP9sWQ/med.jpg?1416264522"}, | |
{name: "Geo_B_0004", shortName: "0004", edge: false, corner: false, entrance: false, connections: 2, side: 3, sample: "6394858/NMiQBhwXAGqJxf0DwXhNHQ/med.jpg?1416264533"}, | |
{name: "Geo_B_0005", shortName: "0005", edge: false, corner: false, entrance: false, connections: 2, side: 4, sample: "6394860/K5gQosh6CK8FYlbpwWso0w/med.jpg?1416264542"}, | |
{name: "Geo_B_0006", shortName: "0006", edge |
This file contains hidden or 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 SpeechBalloon = SpeechBalloon || (function(){ | |
'use strict'; | |
var version = 0.1, | |
schemaVersion = 0.4, | |
defaultShowLength = 4, // seconds | |
msPerSec = 1000, // for conversions.. no magic numbers! | |
checkStepRate = 1000, //ms = 1 second | |
checkInterval = false, |