AD&D1e - major update

Some Highlights

1. removed the preset attack buttons(no longer necessary)
2. drag/drop sheet rolls to the quick bar
3. In accordance to the latest Roll20 update, old ability macros will
need to be updated to include "$X", where X is the row number of the
repeating item
4. added more ability-based skills/info and gave them rolls
5. added Surprise and Initiative rolls (both rolls use @SurpriseBonus as
modifier)
6. added editable macro-text for attacks  (allows you to customize your
macros)
7. added many new sections;
8. Movement: with auto-calc rates and current load indicators based off
of carrying capacity vs total weight carried
9. Wealth: with coins total and carried
10. Equipment: repeating rows with auto-calc cost/weight.  Armor, coins
carried, and weapons costs/weight are included elsewhere and do not need
to be included as equipment.
11. Sheet worker javascript was used for weight, cost, and encumbrance
(thanks to Aaron's TAS script)
12. The encumbrance function sets a checkbox to the current load.
Current load is determined by comparing the total weight carried to the
amounts entered for a character's carrying capacities (normal, heavy,
very heavy, and max).  Currently these limits are entered by the sheet
user.  These limits may be automated in future updates.
13. Special Abilities: repeating rows w/roll and macro-text
14. Spells: repeating rows w/roll and macro-text
15. Notes
16. added Footer with sheet info
17. option to /w gm to-hit table info to the DM when making an attack
18. option to toggle a parchment background (void of coffee or Jolt Cola
stains).  ;-)
This commit is contained in:
vince-roll20
2016-01-14 00:38:40 -08:00
parent 3fbe5c1b56
commit 92a75e80d2
5 changed files with 1059 additions and 540 deletions
+33 -40
View File
@@ -1,77 +1,63 @@
.sheet-wrapper {margin:5px; padding:0px}
/* background toggle*/
.sheet-useBackground input[value="1"]:checked ~ *.sheet-background { background-image:none; background-color:white;}
.sheet-useBackground input[value="2"]:checked ~ *.sheet-background { background-image:url("http://i.imgur.com/izwlEug.jpg"); background-size: cover; background-position: center top;}
.sheet-wrapper {margin:5px; padding:0}
.sheet-useBackground input[value="1"]:checked ~ .sheet-background { background-image:none; background-color:white;}
.sheet-useBackground input[value="2"]:checked ~ .sheet-background { background-image:url("http://i.imgur.com/izwlEug.jpg"); background-size: cover; background-position: center top;}
.sheet-table {display:table; width:100%;}
.sheet-table-row {display: table-row; width:100%;}
.sheet-table-data {display:table-cell; vertical-align:bottom;}
.sheet-data {display:table-cell; vertical-align:bottom;}
.sheet-left {text-align:left;}
.sheet-right {text-align:right;}
.sheet-center {text-align:center;}
.sheet-border {border:1px solid gray; border-radius:10px; padding-bottom:5px;}
.sheet-border {border:1px solid gray; border-radius:10px; border-collapse:separate; margin: 2px 0 2px 0; padding: 2px;}
table, tr {width:100%;}
table, tr, td {font-size:12px; font-weight:bold;}
input.sheet-input-small {width:3.5em; height:2em;}
input.sheet-input-medium {width:5em; height:2em;}
input.sheet-input-large {width:11em; height:2em;}
input {border:1px transparent; border-bottom:1px solid; background-color:transparent; text-align:center; font-family:cursive; font-size:1.1em; color:#262626;}
.sheet-input-small {width:3.5em; height:1.85em;}
.sheet-input-medium {width:80%; height:1.85em;}
.sheet-input-large {width:100%; height:1.85em;}
input[disabled], select[disabled], textarea[disabled], input[readonly] {cursor:not-allowed; background-color:rgba(245, 245, 245, 0.5);}
input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {background-color: #F1F1F1; cursor:not-allowed;}
select {background-color:transparent;}
button[type=roll].sheet-button {font-size:1em; line-height:1.5em; white-space:nowrap;}
button[type=roll] {line-height:1em;}
.sheet-header {display:inline-block; font-size:16px; font-weight:bold; margin:0px -5px 0px 0px;}
.sheet-header {display:inline-block; font-size:16px; font-weight:bold; margin:0 -5px 0 0;}
hr {border-top: 1px solid #8c8b8b; margin:5px;}
.sheet-text-small {font-size:10px;}
.sheet-text-med {font-size:12px; font-weight:bold;}
.sheet-text-large {font-size:14px; font-weight:bold;}
div.sheet-table-row textarea {width:98%; margin:0px 5px 0px 3px; height:75px;}
/*HP and AC*/
input.sheet-input-small.sheet-box {border: 1px solid #000; height:30px; width:50px; font-size:14px;}
div.sheet-table-row textarea {width:94%; resize:vertical; margin:0 10px 5px 20px; height:60px; background-color:transparent;}
/*hide and seek magic*/
.sheet-sect-show:not(:checked)~.sheet-sect {display: none;}
input[type="checkbox"] + span:not(.sheet-not-sheet-show)::before {display: inline-block; content:'►'; width:14px; height:16px; font-size:.85em; vertical-align:text-bottom; margin-bottom:1px;}
input[type="checkbox"]:checked + span:not(.sheet-not-sheet-show)::before {content:'▼';}
/*repeating item counter*/
/*rep-items counter*/
.sheet-repeating-fields {counter-reset: sheet-rep-items -1;}
input[type="checkbox"].sheet-counted + span:not(.sheet-not-sheet-show)::before {counter-increment: sheet-rep-items; content: counter(sheet-rep-items) '. '; width:auto;}
input[type="checkbox"].sheet-counted:checked + span:not(.sheet-not-sheet-show)::before {counter-increment: sheet-rep-items; content: counter(sheet-rep-items) '. '; width:auto;}
input[type="checkbox"].sheet-counted + span:not(.sheet-not-sheet-show)::before {
counter-increment: sheet-rep-items;
content: counter(sheet-rep-items) '. ' !important;
width: auto !important;
}
input[type="checkbox"].sheet-counted:checked + span:not(.sheet-not-sheet-show)::before {
counter-increment: sheet-rep-items;
content: counter(sheet-rep-items) '. ' !important;
width: auto !important;
}
/* end repeating item counter*/
/*section specific*/
.sheet-personal_attributes,.sheet-abilities,.sheet-saves,.sheet-weapons,.sheet-to_hit_AC,.sheet-thief_skills,
.sheet-wealth,.sheet-equipment,.sheet-special_abilities,.sheet-spells,.sheet-notes {margin-top:0px;}
.sheet-wealth,.sheet-equipment,.sheet-special_abilities,.sheet-spells,.sheet-notes {margin-top:0;}
tr.sheet-to-hit td:nth-child(odd){background-color:#726E6D; color:#ffffff;}
tr.sheet-to-hit td:nth-child(even){background-color:#E5E4E2;}
/*to-hit AC*/
.sheet-box {border: 1px solid #000; height:30px; width:50px; font-size:14px;}
tr.sheet-to-hit td:nth-child(odd){background-color:rgba(148, 148, 148, 0.5); color:#ffffff;}
tr.sheet-to-hit td:nth-child(even){background-color:rgba(236, 236, 236, 0.5);}
.sheet-to-hit-input input {width:108%; height:24px; text-align:center;}
div.sheet-footer span.sheet-data input[type="text"] {width:21em; height:1.5em; border:none; background-color:rgba(0, 0, 0, 0); margin-top:-2px;}
div.sheet-footer span.sheet-data input[type="text"] {width:21em; height:1.5em; border:none; background-color:transparent; margin-top:-2px;}
/*repeating sections*/
span.sheet-data.sheet-center {padding:0px 5px 0px 5px;}
span.sheet-data.sheet-center input {width:5.5em; height:2em;}
span.sheet-table-header {display:inline-block;}
span.sheet-table-data {display:inline-block;}
textarea.sheet-weapons {width:20em; resize:none; max-height:1.3em; overflow:hidden; white-space:nowrap; margin:0;}
span.sheet-data.sheet-center {padding:0 4px 0 4px;}
textarea.sheet-weapons {width:22em; resize:vertical; height:1.3em; overflow:hidden; white-space:nowrap; background-color:transparent; margin:0;}
textarea.sheet-macro-text {width:5.5em; resize:vertical; height:1.3em; overflow:hidden; white-space:pre-line; background-color:transparent; margin:0;}
/*Roll Templates*/
/*Attacks*/
@@ -117,6 +103,13 @@ textarea.sheet-weapons {width:20em; resize:none; max-height:1.3em; overflow:hidd
text-align:right;
}
.sheet-rolltemplate-attacks .sheet-text {
padding:2px;
line-height:1em;
vertical-align:top;
text-align:left;
}
.sheet-rolltemplate-attacks .sheet-ToHit {
font-family: monospace;
font-size: 10px;
+1022 -496
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 440 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

+4 -4
View File
@@ -1,8 +1,8 @@
{
"html": "1ESheet.html",
"css": "1ESheet.css",
"authors": "Adam Ness",
"roll20userid": "5287",
"preview": "1ESheet.png",
"instructions": "This sheet includes all of the basic stats from an AD&D 1st Edition sheet and is also compatible with other OSR style systems such as OSRIC. This sheet should continue to change as needed/requested by the Roll20 community. It includes roll buttons for Saving Throws, Thief Skills, and the first six(0-5) repeatable attacks. It includes repeatable weapon rows. Hover over fields and buttons to view the associated attributes name. Roll templates for Attacks, &{template:attacks} and a General &{template:general} for any {key}={value}. Please post suggestions/questions/comments to the Roll20 Character Forum. https://app.roll20.net/forum/category/277980"
"authors": "Adam Ness, Vince",
"roll20userid": "5287, 463088",
"preview": "1ESheet.jpg",
"instructions": "This sheet includes all of the basic stats from an AD&D 1st Edition sheet and is also compatible with other OSR style systems such as OSRIC. This sheet should continue to change as needed/requested by the Roll20 community.\n**Sheet Highlights:**\n - Sheet roll buttons for Ability-based skills, Saves, Thief Skills, Attacks, Spells, Special Abilities, and more.\n - Repeatable Weapons, Equipment, Spells, and Special Abilities.\n - Hover over fields and buttons to view the associated attributes name.\n - Roll templates for Attacks, &{template:attacks} and a General &{template:general} for any {key}={value}.\n - Auto-calculated encumbrance for equipment, armor, weapons, and coins.\n - Auto-calculated movement\n - Auto-calculated costs for equipment, armor, and weapons.\n - sheet worker javascript\n - optional: to-hit AC table whispered to the DM when using the attack button.\n - optional: background image(parchment)\n----------\nPlease post suggestions/questions/comments to the Roll20 Character Forum.\nhttps://app.roll20.net/forum/category/277980"
}