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 SpaceIndustryTiles = (function () { | |
'use strict'; | |
var textures = []; | |
textures['space'] = [ | |
{key: '001', url: 'https://s3.amazonaws.com/files.d20.io/images/10242180/lfUyZAeGDrxAhNxZvyShXw/thumb.jpg?1434626840', w: 840, h: 840}, | |
{key: '002', url: 'https://s3.amazonaws.com/files.d20.io/images/10242168/Y-M1W0io3XRhVNY_9cG2Kw/thumb.jpg?1434626836', w: 840, h: 840}, | |
{key: '003', url: 'https://s3.amazonaws.com/files.d20.io/images/10242175/7VTy7MQPF0utcQFsq_76zA/thumb.jpg?1434626838', w: 840, h: 840}, | |
{key: '004', url: 'https://s3.amazonaws.com/files.d20.io/images/10242164/PUjMZwsFbYRnBC01lilM7A/thumb.jpg?1434626834', w: 840, h: 840}, | |
{key: '005', url: 'https://s3.amazonaws.com/files.d20.io/images/10242167/UjwTYXjE1dC4XDx3AC7ekg/thumb.jpg?1434626836', w: 840, h: 840}, |
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 DungeonDrawDoors = DungeonDrawDoors || (function(){ | |
'use strict'; | |
//version = 2.9 | |
//lastUpdate = 1430236079 //Unix timestamp | |
//schemaVersion = 2.9 | |
var defaultTexture = 'Old School|#18769c', | |
//light settings | |
light_radius_setting = 30, |
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 DungeonDraw = DungeonDraw || (function(){ | |
'use strict'; | |
//settings | |
var defaultTexture = 'Old School|#18769c', | |
cssButtonAnchor = ' style="border: 1px solid AliceBlue; background-color: SteelBlue; color: white;" ', | |
cssButtonSpan = ' style="color: white; font-weight: normal; display: block; width: 150px;" ', | |
cssButtonAnchorImg = ' style="border: 1px solid Black; background-color: White; color: white;" ', | |
cssButtonImg = ' style="padding: 0px 0px 0px 0px; outline: none; border: none;" ', | |
deferred={ |
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 activeMap = activeMap || (function(){ | |
'use strict'; | |
var version = '0.2.0', | |
lastUpdate = 1430550687, | |
schemaVersion = 0.3, | |
objExtractKeys = ['id','pageid','stroke','rotation','layer','width','height','top','left','controlledby', | |
'imgsrc', 'flipv', 'fliph'], | |
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 featurePath = featurePath || (function(){ | |
'use strict'; | |
var version = '0.1.1', | |
lastUpdate = 1430550687, | |
schemaVersion = '0.1.1', | |
objExtractKeysGraphic = ['id','pageid','layer','width','height','top','left'], | |
objExtractKeysPath = ['id','pageid','layer','width','height','top','left','path','stroke'], | |
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 NoSelectControl = NoSelectControl || (function() { | |
'use strict'; | |
var version = 0.1, | |
handleMessages = function(msg) | |
{ | |
if('api' !== msg.type ) { | |
return; | |
} |
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
// GIST: https://gist.github.com/BaldarSilveraxe/3b09ede4260a39ab491c | |
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
!readydoors | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ | |
var DungeonReadyDoors = DungeonReadyDoors || (function(){ | |
'use strict'; | |
var version = 0.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
on("ready", function() { | |
on("chat:message", function(msg) {if(msg.type == "api"){processMessage(msg)};}); | |
}); | |
processMessage = function(msg) { | |
if(msg.type !== "api"){return}; | |
if(msg.content == "!gettable"){gettable();} | |
}; | |
gettable = function(msg) { | |
var tableName = "GeomorphicTiles"; | |
var geomorphicTilesCheck = [ |
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
// GIST: https://gist.github.com/BaldarSilveraxe/fe582e5845d38d64d76a | |
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
!dungeonready | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ | |
var DungeonReady = DungeonReady || (function(){ | |
'use strict'; | |
var version = 0.2, |
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, |