Skip to content

Instantly share code, notes, and snippets.

Avatar

BaldarSilveraxe

View GitHub Profile
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 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 -->'
};
@BaldarSilveraxe
BaldarSilveraxe / Critical_Fumble_Tables
Created Nov 27, 2013
Roll20 API fumble and crit tables
View Critical_Fumble_Tables
//FumbleTables
roll20API.processAPI_FGM = function() {
var fumble = new Array();
fumble[0] = "Fumbler’s movements put them off balance. They take a -1 penalty to \
their armor class for the next round.";
fumble[1] = "Fumbler’s movements put them severely off balance. They lose Dexterity \
and Shield bonuses to AC for the next round. If losing these bonuses does not \
reduce the fumbler’s AC by -2 (or more), then they still must take a -2 penalty.";
fumble[2] = "Fumbler trips, and falls prone. They lose Dexterity and Shield bonuses \
to AC for the current round and the next round. If losing these bonuses does not \
@BaldarSilveraxe
BaldarSilveraxe / Geomorphic
Last active Nov 6, 2019
Roll 20 API Random Dungeon Generator with Dynamic Lighting
View Geomorphic
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.";
View sword.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@BaldarSilveraxe
BaldarSilveraxe / DungeonReadyScript
Last active Feb 10, 2019
Complete Set of Sample Images to Make Your "Dungeon Ready" (Random Dungeon Generator and Dynamic Lighting for Walls and Doors with Editing UI)
View DungeonReadyScript
// GIST: https://gist.github.com/BaldarSilveraxe/fe582e5845d38d64d76a
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~
!dungeonready
~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
var DungeonReady = DungeonReady || (function(){
'use strict';
var version = 0.2,
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,
You can’t perform that action at this time.