Skip to content

Instantly share code, notes, and snippets.

View OpenBlindChecks.js
/*jshint esversion: 9 */
// OPen and Blind Checks for the 5th Edition OGL by Roll20
// Create a token action macro called "OpenChecks" with the action "!OpenChecks"
// Create a token action macro called "BlindChecks" with the action "!BlindChecks"
// Give all your players access to both.
const OpenBlindChecks = (() => {
const abilities = [
'Strength',
'Dexterity',
View BlindChecks.js
/*jshint esversion: 6 */
// Blind Checks for the 5th Edition OGL by Roll20
// Create a token action macro called "BlindChecks" with the action "!BlindChecks"
// Give all your players access to it.
const BlindChecks = (() => {
const abilities = [
'Strength',
'Dexterity',
View CombatRulesSummary.MD
<style> .phb#p1:after { display:none; } .phb#p2 {counter-reset: phb-page-numbers 0;} </style>

View markdownDocumentation.js
var markdownDocumentation = markdownDocumentation || (() => {
const version = '1.0.3';
const lastUpdate = 1578236090;
var documentationCSS = '[css]<br>'
+ 'bg {<br>'
+ "padding: 10px; background: AliceBlue; background-image: url('https://i.imgur.com/i9vmkzO.png');<br>"
+ '}<br>'
+ '<br>'
+ 'h1 {<br>'
View markdownNotesBio.js
var markdownNotesBio = markdownNotesBio || (() => {
const version = '1.0.1';
const lastUpdate = 1578078196;
const schemaVersion = 1.0;
const CONFIG = {
apiStart: '<!-- API_markdown -->',
apiEnd: '<!-- API_markdown_end -->'
};
View markdown.js
var markdown = markdown || (() => {
const version = '1.0.9';
const lastUpdate = 1578236090;
const checkInstall = () => {
log('-=> markdown v'+version+' <=- ['+(new Date(lastUpdate*1000))+']');
};
View sword.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View DungeonDraw (REMOVE FIX)
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={
batchSize: 30,
View RotatingMadness
/*global on, _, log, createObj, findObjs */
/*jslint white: true, multivar: true, single: true, bitwise: true, browser: true */
var RotatingMadness = RotatingMadness || (function(){
"use strict";
var script = {name: "RotatingMadness", version: 1.0, last_update: 1476924569, schema_version: 1.0},
your_library = [
{imgsrc: "https://s3.amazonaws.com/files.d20.io/images/24366259/sCxV-8v6FO9x9khDM-XPDQ/thumb.png?1476919656", tileName: "mapmaze"},
{imgsrc: "https://s3.amazonaws.com/files.d20.io/images/24366260/OgnC_UlRwWEBaRA1AoFV1w/thumb.png?1476919660", tileName: "spinner"}
View Dynamic_Light_Helper
/*global _, on, createObj, getObj, log, state, findObjs, filterObjs, sendChat, playerIsGM */
/*jslint browser: true, multivar: true, bitwise: true, es6: true */
var Dynamic_Light_Helper = Dynamic_Light_Helper || (function () {
"use strict";
// SETTINGS <===================================================
const CON = {
SCRIPT: "Dynamic_Light_Helper",
VERSION: 2.0,
UPDATE: 1476712215,