Skip to content

Instantly share code, notes, and snippets.

@birdbrainiac
birdbrainiac / hunters-mark.js
Last active December 4, 2024 00:27
Hunters Mark
/*
!hunters-mark
!hunters-mark add
!hunters-mark bard
!hunters-mark delete
!hunters-mark help
!hunters-mark show
!hunters-mark menu
!hunters-mark @{selected|token_id} @{target|token_id}
this used to be !hunters-mark @{selected|character_id} @{target|token_id}
/*Configure the tab buttons*/
.charsheet .sheet-tabstoggle:not([value="character"])~div.sheet-character,
.charsheet .sheet-tabstoggle:not([value="equipped"])~div.sheet-equipped,
.charsheet .sheet-tabstoggle:not([value="editskills"])~div.sheet-editskills,
.charsheet .sheet-tabstoggle:not([value="inventory"])~div.sheet-inventory,
.charsheet .sheet-tabstoggle:not([value="editcharacter"])~div.sheet-editcharacter,
.charsheet .sheet-tabstoggle:not([value="psionics"])~div.sheet-psionics {
display: none;
}
@birdbrainiac
birdbrainiac / WildSea.css
Last active December 9, 2022 04:27
WildSea Roll20 Template
div.buttons {
display: grid;
grid-template-columns: 50px 50px 60px;
}
/* Smaller margins - remove these if you want the huge default left margin */
.sheet-rolltemplate-custom {
margin-left: -37px;
}
@birdbrainiac
birdbrainiac / sheet.css
Last active April 10, 2022 15:41
Battlestations
.charsheet div.container input[type="number"],
.charsheet div.container input[type="text"]{
width: auto;
}
.charsheet h3 {
background-color: darkblue;
color: white;
text-transform:uppercase;
padding-left: 5px;
text-align: center;
@birdbrainiac
birdbrainiac / tutorial1.html
Last active March 28, 2022 06:28
Guide Tutorial Part 1
<div>
<h3>Castle Falkenstein Dramatic Character</h3>
<span>Name</span><input type="text" name="attr_character_name">
<span>Hero Type</span>
<select name="attr_hero_type">
<option selected>Heroic Hero</option>
<option>Tragic Hero</option>
<option>Flawed Hero</option>
<option>Innocent Heroine</option>
<option>Clever Heroine</option>
// Github: <WHERE YOU STORE IT>
// By: Chris M, TheAaron, manveti
// Contact: https://app.roll20.net/users/2824773
// RollStats - automatically collects die roll stats for inline rolls, /roll, and toolbar rolls
// Usage: !rollstats [options]
// ---Display Modes---
// -f, --full: show full stats for specified die
// -l, --leaderboard: show player leaderboard
// -o, --overall: show overall stats
// ---Options---
@birdbrainiac
birdbrainiac / pacesetter.js
Last active September 18, 2021 05:45
[Roll20] Pacesetter Dice Rolls Script
/* Structure
Input is in the form !pace --name: --type: --score: --defense: --defensecolumn:
name: is optyional, and can be anything, of any length, just avoid including -- characetrs,
Can use attributes, like @{selected|token_name}
type: armed, unarmed or fear; can also use a or u or f.
score: a number, the score you are rolling against; can be an attribute, like @{selected|blaster}
use only one of the following:
defense/defence: the score you are rolling against - will be converted into a column
defensecolumn/defencecolumn: the column you are rolling against. Can supply this instead of a score.
@birdbrainiac
birdbrainiac / tokenactions.js
Last active April 13, 2020 20:41
Token Actions for roll20 D&D 5e Character Sheet
var tokenAction = tokenAction || (function () {
'use strict';
var version = '0.2.8',
sheetVersion = 'D&D 5th Edition by Roll20',
checkInstall = function () {
log('TokenAction v' + version + ' is ready! Designed for use with the ' + sheetVersion + ' character sheet!');
},
@birdbrainiac
birdbrainiac / megs.js
Last active November 13, 2024 03:57
DC Heroes Dice Roller v1
/* Structure
Input is in the form
!megs --av:sword:7 --ov:block:15
!megs --ev:strength:7 --ov:toughness:15 --shifts:3
!megs --av:7 --ov:15 --ev:7 --ov:15
!megs --title:full av --av:sword:7 --ov:block:15 --ev:strength:7 --ov:toughness:15 --attacker:wildstar --defender:batman
!megs --title:full av --av:sword:@{selected|sword} --ov:block:@{target|block} --attacker:@{target|character_name} --defender:@{selected|character_name --description:An av roll is made
--title: the topmost title
--attacker name of the attacker; if present forms part of the title
@birdbrainiac
birdbrainiac / TorgEternity.css
Created February 3, 2020 06:35
[roll20] Torg Eternity custom character sheet
/**
* CONTENTS [custom]
*
* # TABS
*
* # GENERAL STYLING
*
* # ROLL TEMPLATES
*/
/*------------------------------------*\