mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
Ambition & Avarice: V.1.2 (#5662)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
##Changelog
|
||||
|
||||
### V.1.2 (2019-11)
|
||||
* fixed image links to Roll20/master
|
||||
|
||||
**First page**
|
||||
* change "In Sixes" to repeation section
|
||||
|
||||
**Equipment page**
|
||||
* add repeationg weapons & armor sections
|
||||
* add trackers for the four types of AC
|
||||
|
||||
**Misc Page**
|
||||
* add a fourth tab,"Misc, for further development
|
||||
* add tracker for spell failure
|
||||
|
||||
|
||||
### V.1.0 (2019-10)
|
||||
* Initial release
|
||||
@@ -107,7 +107,7 @@ input[type=number].sheet-txtfield {
|
||||
/* dice images */
|
||||
|
||||
div.sheet-d20{
|
||||
background-image: url(https://raw.githubusercontent.com/Anduh/roll20-character-sheets/ambition_avarice/Ambition_Avarice/images/d20.png);
|
||||
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Ambition_Avarice/images/d20.png);
|
||||
background-size: 30px 30px;
|
||||
background-repeat: no-repeat;
|
||||
width: 30px;
|
||||
@@ -115,7 +115,7 @@ div.sheet-d20{
|
||||
}
|
||||
|
||||
div.sheet-d6{
|
||||
background-image: url(https://raw.githubusercontent.com/Anduh/roll20-character-sheets/ambition_avarice/Ambition_Avarice/images/d6.png);
|
||||
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Ambition_Avarice/images/d6.png);
|
||||
background-size: 30px 30px;
|
||||
background-repeat: no-repeat;
|
||||
width: 30px;
|
||||
@@ -135,7 +135,7 @@ button[type="roll"].sheet-d6:hover{
|
||||
}
|
||||
|
||||
button[type="roll"].sheet-d20{
|
||||
background-image: url(https://raw.githubusercontent.com/Anduh/roll20-character-sheets/ambition_avarice/Ambition_Avarice/images/d20.png);
|
||||
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Ambition_Avarice/images/d20.png);
|
||||
background-size: 26px 26px;
|
||||
background-repeat: no-repeat;
|
||||
width: 26px;
|
||||
@@ -146,7 +146,7 @@ button[type="roll"].sheet-d20{
|
||||
}
|
||||
|
||||
button[type="roll"].sheet-d6{
|
||||
background-image: url(https://raw.githubusercontent.com/Anduh/roll20-character-sheets/ambition_avarice/Ambition_Avarice/images/d6.png);
|
||||
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Ambition_Avarice/images/d6.png);
|
||||
background-size: 26px 26px;
|
||||
background-repeat: no-repeat;
|
||||
width: 26px;
|
||||
@@ -217,7 +217,8 @@ button[type="roll"].sheet-empty:before{
|
||||
|
||||
input.sheet-tab1:checked ~ div.sheet-tab1,
|
||||
input.sheet-tab2:checked ~ div.sheet-tab2,
|
||||
input.sheet-tab3:checked ~ div.sheet-tab3
|
||||
input.sheet-tab3:checked ~ div.sheet-tab3,
|
||||
input.sheet-tab4:checked ~ div.sheet-tab4
|
||||
{
|
||||
display: grid;
|
||||
}
|
||||
@@ -272,6 +273,11 @@ input.sheet-tab3 + span::before
|
||||
left: 415px;
|
||||
}
|
||||
|
||||
input.sheet-tab4 + span::before
|
||||
{
|
||||
left: 570px;
|
||||
}
|
||||
|
||||
/* ------------ PAGES ---------- */
|
||||
|
||||
div.sheet-pg1 {
|
||||
@@ -295,9 +301,10 @@ div.sheet-pg2 {
|
||||
display: grid;
|
||||
grid-gap: 1px;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-rows: 80px auto;
|
||||
grid-template-areas:"coin companions"
|
||||
"equip companions";
|
||||
grid-template-rows: 80px fit-content(30%) auto;
|
||||
grid-template-areas:"coin ac-types "
|
||||
"weapons armor "
|
||||
"equip companions";
|
||||
width: 750px;
|
||||
height: 1000px;
|
||||
position: relative;
|
||||
@@ -317,6 +324,16 @@ div.sheet-pg3 {
|
||||
top:-20px;
|
||||
}
|
||||
|
||||
div.sheet-pg4 {
|
||||
display: grid;
|
||||
grid-gap: 1px;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
width: 750px;
|
||||
height: 1000px;
|
||||
position: relative;
|
||||
top:-20px;
|
||||
}
|
||||
|
||||
div.sheet-tab-content { display: none; }
|
||||
|
||||
/* ------------ Section Specific ---------- */
|
||||
@@ -343,7 +360,7 @@ div.sheet-name .sheet-short{
|
||||
/* LOGO SECTION */
|
||||
div.sheet-logo{
|
||||
grid-area: logo;
|
||||
background-image: url(https://raw.githubusercontent.com/Anduh/roll20-character-sheets/ambition_avarice/Ambition_Avarice/images/logo.png);
|
||||
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Ambition_Avarice/images/logo.png);
|
||||
background-size: 230px 123px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
@@ -378,21 +395,21 @@ div.sheet-hp-ac{
|
||||
grid-area: hp-ac;
|
||||
}
|
||||
div.sheet-hp-ac div.sheet-hp{
|
||||
background-image: url(https://raw.githubusercontent.com/Anduh/roll20-character-sheets/ambition_avarice/Ambition_Avarice/images/hp.png);
|
||||
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Ambition_Avarice/images/hp.png);
|
||||
background-size: 220px 110px;
|
||||
background-repeat: no-repeat;
|
||||
width: 220px;
|
||||
height: 110px;
|
||||
}
|
||||
div.sheet-hp-ac div.sheet-to-hit{
|
||||
background-image: url(https://raw.githubusercontent.com/Anduh/roll20-character-sheets/ambition_avarice/Ambition_Avarice/images/to-hit.png);
|
||||
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Ambition_Avarice/images/to-hit.png);
|
||||
background-size: 100px 110px;
|
||||
background-repeat: no-repeat;
|
||||
width: 100px;
|
||||
height:110px;
|
||||
}
|
||||
div.sheet-hp-ac div.sheet-ac{
|
||||
background-image: url(https://raw.githubusercontent.com/Anduh/roll20-character-sheets/ambition_avarice/Ambition_Avarice/images/ac.png);
|
||||
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Ambition_Avarice/images/ac.png);
|
||||
background-size: 100px 110px;
|
||||
background-repeat: no-repeat;
|
||||
width: 100px;
|
||||
@@ -532,10 +549,57 @@ div.sheet-coin label{
|
||||
margin: 1px;
|
||||
}
|
||||
|
||||
|
||||
div.sheet-weapons{
|
||||
grid-area: weapons;
|
||||
}
|
||||
|
||||
div.sheet-armor{
|
||||
grid-area: armor;
|
||||
}
|
||||
|
||||
div.sheet-weapons div.sheet-names,
|
||||
div.sheet-armor div.sheet-names{
|
||||
width: 100%;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
div.sheet-weapons div.sheet-names span,
|
||||
div.sheet-armor div.sheet-names span{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.sheet-weapons div.sheet-names span:first-child,
|
||||
div.sheet-armor div.sheet-names span:first-child{
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
|
||||
.sheet-armor > div:nth-child(2) > span:nth-child(2) {
|
||||
padding-left: 60px;
|
||||
}
|
||||
.sheet-armor > div:nth-child(2) > span:nth-child(4) {
|
||||
padding-right: 35px;
|
||||
}
|
||||
.sheet-armor > div:nth-child(2) > span:nth-child(3) {
|
||||
padding-left: 20px;
|
||||
}
|
||||
.sheet-armor > div:nth-child(2) > span:nth-child(5) {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
|
||||
div.sheet-equip{
|
||||
grid-area: equip;
|
||||
}
|
||||
|
||||
div.sheet-ac-types{
|
||||
grid-area: ac-types;
|
||||
}
|
||||
.sheet-ac-types > div:nth-child(2) > div:nth-child(2) > label:nth-child(1) {
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
div.sheet-companions{
|
||||
grid-area: companions;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<input type="radio" name="attr_tab" class="tab tab1" value="1" checked="checked"><span title="Main"></span>
|
||||
<input type="radio" name="attr_tab" class="tab tab2" value="2" ><span title="Equipment"></span>
|
||||
<input type="radio" name="attr_tab" class="tab tab3" value="3" ><span title="NPC"></span>
|
||||
<input type="radio" name="attr_tab" class="tab tab4" value="4" ><span title="Misc"></span>
|
||||
|
||||
<!-- --------------------------------------------------------------------------------- -->
|
||||
<!-- --------------------------- PAGE 1 ---------------------------------------------- -->
|
||||
@@ -242,30 +243,15 @@
|
||||
<!-- IN SIX -->
|
||||
<div class="sixes section columnflex nowrap center">
|
||||
<label class="title">In Sixes Chances</label>
|
||||
<div class="rowflex nowrap spaced">
|
||||
<input name="attr_sixes1_name" type="text" style="width:60px;" placeholder="Name">
|
||||
<input name="attr_sixes1_info" type="text" style="width:120px;" placeholder="info">
|
||||
<input name="attr_sixes1" type="number" value="2" style="width: 25px;">
|
||||
<button name="roll_sixes1" type="roll" value="&{template:default} {{name=**@{sixes1_name}** (In Sixes)}} {{You attempt: [[1d6cs0cf0>@{sixes1}]] }} {{( 1 is success, 0 is failure) }}" class="d6"></button>
|
||||
</div>
|
||||
<div class="rowflex nowrap spaced">
|
||||
<input name="attr_sixes2_name" type="text" style="width:60px;" placeholder="Name">
|
||||
<input name="attr_sixes2_info" type="text" style="width:120px;" placeholder="info">
|
||||
<input name="attr_sixes2" type="number" value="2" style="width: 25px;">
|
||||
<button name="roll_sixes2" type="roll" value="&{template:default} {{name=**@{sixes2_name}** (In Sixes)}} {{You attempt: [[1d6cs0cf0>@{sixes2}]] }} {{( 1 is success, 0 is failure) }}" class="d6"></button>
|
||||
</div>
|
||||
<div class="rowflex nowrap spaced">
|
||||
<input name="attr_sixes3_name" type="text" style="width:60px;" placeholder="Name">
|
||||
<input name="attr_sixes3_info" type="text" style="width:120px;" placeholder="info">
|
||||
<input name="attr_sixes3" type="number" value="2" style="width: 25px;">
|
||||
<button name="roll_sixes3" type="roll" value="&{template:default} {{name=**@{sixes3_name}** (In Sixes)}} {{You attempt: [[1d6cs0cf0>@{sixes3}]] }} {{( 1 is success, 0 is failure) }}" class="d6"></button>
|
||||
</div>
|
||||
<div class="rowflex nowrap spaced">
|
||||
<input name="attr_sixes4_name" type="text" style="width:60px;" placeholder="Name">
|
||||
<input name="attr_sixes4_info" type="text" style="width:120px;" placeholder="info">
|
||||
<input name="attr_sixes4" type="number" value="2" style="width: 25px;">
|
||||
<button name="roll_sixes4" type="roll" value="&{template:default} {{name=**@{sixes4_name}** (In Sixes)}} {{You attempt: [[1d6cs0cf0>@{sixes4}]] }} {{( 1 is success, 0 is failure) }}" class="d6"></button>
|
||||
</div>
|
||||
<fieldset class="repeating_sixes">
|
||||
<div class="rowflex nowrap spaced">
|
||||
<input name="attr_name" type="text" style="width:60px;" placeholder="Name">
|
||||
<input name="attr_info" type="text" style="width:110px;" placeholder="info">
|
||||
<input name="attr_sixes" type="number" value="2" style="width: 25px;">
|
||||
<button name="roll_sixes" type="roll" value="&{template:default} {{name=**@{name}** (In Sixes)}} {{You attempt: [[1d6cs0cf0>@{sixes}]] }} {{( 1 is success, 0 is failure) }}" class="d6"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<div class="note rowflex nowrap">
|
||||
<div class="d6"></div>
|
||||
<span>equal or lower</span>
|
||||
@@ -446,6 +432,74 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- F types of AC -->
|
||||
|
||||
<div class="ac-types section columnflex nowrap center">
|
||||
<label class="title">AC</label>
|
||||
<div class="rowflex nowrap">
|
||||
<div class="columnflex nowrap">
|
||||
<label class="short">Prone</label>
|
||||
<input name="attr_ac_prone" type="number" value="" placeholder="10">
|
||||
</div>
|
||||
<div class="columnflex nowrap">
|
||||
<label class="short" style="margin-right: 15px;">Suprised</label>
|
||||
<input name="attr_ac_suprised" type="number" value="" placeholder="10">
|
||||
</div>
|
||||
<div class="columnflex nowrap">
|
||||
<label class="short">Touch</label>
|
||||
<input name="attr_ac_touch" type="number" value="" placeholder="10">
|
||||
</div>
|
||||
<div class="columnflex nowrap">
|
||||
<label class="short">Normal</label>
|
||||
<input name="attr_ac" type="number" value="" placeholder="10">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- weapons -->
|
||||
|
||||
<div class="weapons section columnflex nowrap center">
|
||||
<label class="title">Weapons</label>
|
||||
<div class="names rowflex nowrap">
|
||||
<span>Name</span>
|
||||
<span>Damage</span>
|
||||
<span>Range</span>
|
||||
<span>Info</span>
|
||||
</div>
|
||||
<fieldset class="repeating_weapon">
|
||||
<div class="rowflex nowrap">
|
||||
<input name="attr_name" type="text" placeholder="name" style="width:30%;margin-right: 5px;">
|
||||
<input name="attr_damage" type="number" value="" placeholder="1d6" style="width: 20%;">
|
||||
<input name="attr_range" type="text" value="" placeholder="range" style="width: 20%;">
|
||||
<input name="attr_info" type="text" placeholder="info" style="width: 28%%;">
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<!-- armor -->
|
||||
|
||||
<div class="armor section columnflex nowrap center">
|
||||
<label class="title">Armor</label>
|
||||
<div class="names rowflex nowrap">
|
||||
<span>Name</span>
|
||||
<span>AC</span>
|
||||
<span>Sneak</span>
|
||||
<span>Worn?</span>
|
||||
<span>Info</span>
|
||||
</div>
|
||||
<fieldset class="repeating_armor">
|
||||
<div class="rowflex nowrap">
|
||||
<input name="attr_name" type="text" placeholder="name" style="width:30%;margin-right: 5px;">
|
||||
<input name="attr_ac" type="number" placeholder="3" style="width: 15%;margin-right: 4px;">
|
||||
<input name="attr_sneak" type="number" placeholder="0" style="width: 15%;">
|
||||
<input name="attr_worn" type="checkbox" value="1">
|
||||
<input name="attr_info" type="text" placeholder="info" style="width: 25%;">
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<!-- equipment -->
|
||||
|
||||
<div class="equip section columnflex nowrap center">
|
||||
@@ -453,12 +507,12 @@
|
||||
<fieldset class="repeating_eq">
|
||||
<div class="rowflex nowrap">
|
||||
<input name="attr_name" type="text" placeholder="name" style="width:30%;margin-right: 5px;">
|
||||
<input name="attr_info" type="text" placeholder="info" style="width: 67%;">
|
||||
<input name="attr_weight" type="number" placeholder="weight" style="width: 15%;">
|
||||
<input name="attr_info" type="text" placeholder="info" style="width: 52%;">
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- companions -->
|
||||
|
||||
<div class="companions section columnflex nowrap center">
|
||||
@@ -578,6 +632,21 @@
|
||||
|
||||
</div>
|
||||
|
||||
<!-- --------------------------------------------------------------------------------- -->
|
||||
<!-- --------------------------- PAGE 4 ---------------------------------------------- -->
|
||||
<!-- --------------------------------------------------------------------------------- -->
|
||||
|
||||
|
||||
<div class="tab-content tab4 pg4">
|
||||
|
||||
<div class="section columnflex nowrap center">
|
||||
<label class="title">Magic Failure chance</label>
|
||||
<div class="rowflex nowrap">
|
||||
<label><input name="attr_magic_fail" type="number" placeholder="10">%</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- --------------------------------------------------------------------------------- -->
|
||||
<!-- --------------------------- Sheet workers --------------------------------------- -->
|
||||
@@ -619,26 +688,4 @@ stats.forEach(stat => {
|
||||
});
|
||||
});
|
||||
|
||||
/*
|
||||
on(`change:con`, () => {
|
||||
getAttrs("con_mod", value => {
|
||||
const con = int(value["con_mod"]);
|
||||
console.log(con);
|
||||
let rest = 0;
|
||||
if (con >= 17) rest = "1d12";
|
||||
else if (con >= 15) rest = "1d10";
|
||||
else if (con >= 13) rest = "1d8";
|
||||
else if (con >= 9) rest = "1d6";
|
||||
else if (con >= 7) rest = "1d4";
|
||||
else if (con >= 5) rest = "1d2";
|
||||
else if (con >= 3) rest = "1";
|
||||
else rest = "1";
|
||||
|
||||
setAttrs({
|
||||
rest : rest
|
||||
});
|
||||
});
|
||||
});
|
||||
*/
|
||||
|
||||
</script>
|
||||
@@ -4,5 +4,5 @@
|
||||
"authors": "Andreas J.",
|
||||
"roll20userid": "1223200",
|
||||
"preview": "ambition_avarice_preview.png",
|
||||
"instructions": "Character Sheet for 'Ambition & Avarice 1st Edition' ttrpg by Chubby Funster."
|
||||
"instructions": "Character Sheet for 'Ambition & Avarice 1st Edition' ttrpg by Chubby Funster.\r[Readme/Changelog](https://github.com/Roll20/roll20-character-sheets/tree/master/Ambition_Avarice/Readme.md)"
|
||||
}
|
||||
Reference in New Issue
Block a user