Skip to content

Instantly share code, notes, and snippets.

/*
Calendar for Mundana
Created by Kirsty (https://app.roll20.net/users/1165285/kirsty)
and sabotaged to an extreme extent by dancodan, also cramed in some swedish here and there..
Many thanks to Aaron (https://app.roll20.net/users/104025/the-aaron) for his NoteLog script, parts of which I "borrowed"
API Commands:
!cal (as Player) - Shows world, date, time, moon, weather and counted days
!cal (as GM) - Same as player but includes options to advance the date/time, alter the weather, add a note or view the settings menu.
!calSet (GM only) - Allows the GM to change the world, date, time display, show/hide days until full moon, adjust day counter or set the start date
Red Colour: #7E2D40
/*
Calendar for Mundana
Created by Kirsty (https://app.roll20.net/users/1165285/kirsty)
and sabotaged to an extreme extent by dancodan, also cramed in some swedish here and there..
Many thanks to Aaron (https://app.roll20.net/users/104025/the-aaron) for his NoteLog script, parts of which I "borrowed"
API Commands:
!cal (as Player) - Shows world, date, time, moon, weather and counted days
!cal (as GM) - Same as player but includes options to advance the date/time, alter the weather, add a note or view the settings menu.
!calSet (GM only) - Allows the GM to change the world, date, time display, show/hide days until full moon, adjust day counter or set the start date
Red Colour: #7E2D40
@dancodan
dancodan / Kalender Mundana 3
Last active March 13, 2018 06:15
Working!
/*
Calendar for Mundana
Created by Kirsty (https://app.roll20.net/users/1165285/kirsty)
and sabotaged to an extreme extent by dancodan, also cramed in some swedish here and there..
Many thanks to Aaron (https://app.roll20.net/users/104025/the-aaron) for his NoteLog script, parts of which I "borrowed"
API Commands:
!cal (as Player) - Shows world, date, time, moon, weather and counted days
!cal (as GM) - Same as player but includes options to advance the date/time, alter the weather, add a note or view the settings menu.
!calSet (GM only) - Allows the GM to change the world, date, time display, show/hide days until full moon, adjust day counter or set the start date
Red Colour: #7E2D40
@dancodan
dancodan / Calendar - Mundana 2
Last active March 13, 2018 05:19
Kalender, på svenska
/*
Calendar for Mundana
Created by Kirsty (https://app.roll20.net/users/1165285/kirsty)
and sabotaged to an extreme extent by dancodan, also cramed in some swedish here and there..
Many thanks to Aaron (https://app.roll20.net/users/104025/the-aaron) for his NoteLog script, parts of which I "borrowed"
API Commands:
!cal (as Player) - Shows world, date, time, moon, weather and counted days
!cal (as GM) - Same as player but includes options to advance the date/time, alter the weather, add a note or view the settings menu.
!calSet (GM only) - Allows the GM to change the world, date, time display, show/hide days until full moon, adjust day counter or set the start date
Red Colour: #7E2D40
@dancodan
dancodan / Weather template 1 Stolen goods
Last active March 12, 2018 14:55
This is where I store all stolen goods
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
weather = function()
var temp_tracker_winter; //Added a variable to keep track of temperature
var temp_tracker_summer
var temp_tracker_autumn
var temp_tracker_spring
var basetemp_winter === -30; //These are the base temperatures, we will add a random d20 to these numbers for each season
//Lets roll a die between 0 and 100
roll = Math.floor(Math.random()*(100));
//This is an extremely cold day, 10% chance
if(roll>=0 && roll<=9)
{
switch(season)
{
case 'Winter':
temperature = 'It is an extremely cold winter day. ';
@dancodan
dancodan / Calendar - mundanaC
Last active March 11, 2018 17:08
Calendar for Mundana
/*
Calendar for Mundana
Created by Kirsty (https://app.roll20.net/users/1165285/kirsty)
Many thanks to Aaron (https://app.roll20.net/users/104025/the-aaron) for his NoteLog script, parts of which I "borrowed"
API Commands:
!cal (as Player) - Shows world, date, time, moon, weather and counted days
!cal (as GM) - Same as player but includes options to advance the date/time, alter the weather, add a note or view the settings menu.
!calSet (GM only) - Allows the GM to change the world, date, time display, show/hide days until full moon, adjust day counter or set the start date
Red Colour: #7E2D40
*/
@dancodan
dancodan / Diverse listor, Work in progress
Created March 10, 2018 13:10
Skapade listor att importeras
MONSTER – Obs, tabellen heter NPC-Monster i roll20 nu
!import-table --NPC-SLP --show
!import-table-item --NPC-SLP --Grön huggkobra --
!import-table-item --NPC-SLP --Gigantisk orm --
!import-table-item --NPC-SLP --Svart räv, 1st --
!import-table-item --NPC-SLP --Svarträv, 2st --
!import-table-item --NPC-SLP --Svarträv, 3st --
!import-table-item --NPC-SLP --Liten varg --
@dancodan
dancodan / EON-Karaktärsblad-CSS-Styling
Last active March 10, 2018 13:03
Karaktärsblad (2av2)
/* CSS Reset */{}
.charsheet .sheet-wrapper div, .charsheet .sheet-wrapper span, .charsheet .sheet-wrapper label,
.charsheet .sheet-wrapper h1, .charsheet .sheet-wrapper h2, .charsheet .sheet-wrapper h3, .charsheet .sheet-wrapper h4, .charsheet .sheet-wrapper h5, .charsheet .sheet-wrapper h6, .charsheet .sheet-wrapper p,
.charsheet .sheet-wrapper table, .charsheet .sheet-wrapper caption, .charsheet .sheet-wrapper tbody, .charsheet .sheet-wrapper tfoot, .charsheet .sheet-wrapper thead, .charsheet .sheet-wrapper tr, .charsheet .sheet-wrapper th, .charsheet .sheet-wrapper td {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
color: #404040;
@dancodan
dancodan / EON-karaktärsblad-HTML-Layout
Created March 10, 2018 12:57
Karaktärsblad (1av2)
<div class="sheet-wrapper">
<div class="sheet-col" style="margin-bottom:-30px;">
<img src="https://shop.textalk.se/shop/ws51/49251/files//Helmgast-Svart-600.png" style="max-height: 100px; margin-left:21%;"/>
</div>
<!-- Logo Header -->
<div class="sheet-1colrow">
</div>
<!-- Base Character Information -->
<div class="sheet-1colrow">