Invisible Sun 1.1 (#7231)

Added more enhancement buttons
This commit is contained in:
Medieve
2020-08-24 13:00:33 -05:00
committed by GitHub
parent 7cf748ef6a
commit a7325f609b
5 changed files with 28 additions and 20 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+14 -8
View File
@@ -13,9 +13,9 @@ gold: #c76200
border: 10px solid black;
background-image:
radial-gradient(circle, rgba(70,20,20,0.7) 20%, rgba(15,20,30,1) 100%),
url(https://i.imgur.com/VYOteZ3.jpg);
url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/invisible-sun-grungebg2.jpg);
background-size: 100%;
border-image: url('https://i.imgur.com/1eOkHnU.png') 199 round;
border-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/invisible-sun_scrolltransparent.png') 199 round;
border-image-width: 100px;
}
@@ -199,13 +199,19 @@ button:focus {
button[type='roll'].sheet-venture-enhance1 {
background: url(https://i.imgur.com/Xl36qOx.png);
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/enhancement-1.png);
}
button[type='roll'].sheet-venture-enhance2 {
background: url(https://i.imgur.com/au4xtqV.png);
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/enhancement-2.png);
}
button[type='roll'].sheet-venture-enhance3 {
background: url(https://i.imgur.com/crz2BDe.png);
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/enhancement-3.png);
}
button[type='roll'].sheet-venture-enhance4 {
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/enhancement-4.png);
}
button[type='roll'].sheet-venture-enhance5 {
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/enhancement-5.png);
}
button[type='roll'].sheet-venture-enhance1, button[type='roll'].sheet-venture-enhance2, button[type='roll'].sheet-venture-enhance3 {
@@ -221,7 +227,7 @@ button[type='roll'].sheet-venture-enhance1, button[type='roll'].sheet-venture-en
}
button[type='roll'].sheet-venture {
background: url('https://i.imgur.com/9cJ7A6F.png');
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/btn_venture.png');
background-size: contain;
border: none;
width: 140px;
@@ -274,11 +280,11 @@ button[type='roll']:before {
text-align: center;
padding: 40px 10px 10px 10px;
padding-bottom: 10px;
background: url('https://i.imgur.com/IFl3upM.jpg') no-repeat;
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/pathofsuns-rollerbg.jpg') no-repeat;
background-size: 222px;
color: #ffcc99;
border: 5px solid black;
border-image: url('https://i.imgur.com/1eOkHnU.png') 199 round;
border-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/invisible-sun_scrolltransparent.png') 199 round;
border-image-width: 100px;
border-radius: 100px;
}
+13 -11
View File
@@ -9,8 +9,11 @@ Questions and comments can be sent through Roll20 https://app.roll20.net/users/2
<button type="roll" class="venture-enhance1" value="&{template:rollventure} {{CharacterName=@{character_name}}} {{description=?{Description?}}} {{rollresult=[[1d10-1]]}} {{enhancement1=[[1d10-1]]}}{{difficulty=[[@{difficulty}]]}}"></button>
<button type="roll" class="venture-enhance2" value="&{template:rollventure} {{CharacterName=@{character_name}}} {{description=?{Description?}}} {{rollresult=[[1d10-1]]}} {{enhancement1=[[1d10-1]]}} {{enhancement2=[[1d10-1]]}} {{difficulty=[[@{difficulty}]]}}"></button>
<button type="roll" class="venture-enhance3" value="&{template:rollventure} {{CharacterName=@{character_name}}} {{description=?{Description?}}} {{rollresult=[[1d10-1]]}} {{enhancement1=[[1d10-1]]}} {{enhancement2=[[1d10-1]]}} {{enhancement3=[[1d10-1]]}} {{difficulty=[[@{difficulty}]]}}"></button>
<button type="roll" class="venture-enhance4" value="&{template:rollventure} {{CharacterName=@{character_name}}} {{description=?{Description?}}} {{rollresult=[[1d10-1]]}} {{enhancement1=[[1d10-1]]}} {{enhancement2=[[1d10-1]]}} {{enhancement3=[[1d10-1]]}} {{enhancement4=[[1d10-1]]}} {{difficulty=[[@{difficulty}]]}}"></button>
<button type="roll" class="venture-enhance5" value="&{template:rollventure} {{CharacterName=@{character_name}}} {{description=?{Description?}}} {{rollresult=[[1d10-1]]}} {{enhancement1=[[1d10-1]]}} {{enhancement2=[[1d10-1]]}} {{enhancement3=[[1d10-1]]}} {{enhancement4=[[1d10-1]]}} {{enhancement5=[[1d10-1]]}} {{difficulty=[[@{difficulty}]]}}"></button>
<div class="flexrow venturecontainer centerforce">
<label><input type="radio" name="attr_difficulty" value="0"><span>0</span></label>
<label><input type="radio" name="attr_difficulty" value="0"><span>?</span></label>
<label><input type="radio" name="attr_difficulty" value="1"><span>1</span></label>
<label><input type="radio" name="attr_difficulty" value="2"><span>2</span></label>
<label><input type="radio" name="attr_difficulty" value="3"><span>3</span></label>
@@ -166,7 +169,7 @@ Questions and comments can be sent through Roll20 https://app.roll20.net/users/2
<div class="sheet-venture-charactername">{{CharacterName}}</div>
<div class="sheet-venture-description">{{description}}</div>
<div class="sheet-venture-roll">
{{rollresult}}<span class="sheet-venture-enhancementresults">{{#enhancement1}},{{/enhancement1}}{{enhancement1}}{{#enhancement2}},{{/enhancement2}}{{enhancement2}}{{#enhancement3}},{{/enhancement3}}{{enhancement3}}</span>
{{rollresult}}<span class="sheet-venture-enhancementresults">{{#enhancement1}},{{/enhancement1}}{{enhancement1}}{{#enhancement2}},{{/enhancement2}}{{enhancement2}}{{#enhancement3}},{{/enhancement3}}{{enhancement3}}{{#enhancement4}},{{/enhancement4}}{{enhancement4}}{{#enhancement5}},{{/enhancement5}}{{enhancement5}}</span>
versus
<span class="sheet-venture-difficulty">{{difficulty}}</span>
</div>
@@ -187,15 +190,14 @@ Questions and comments can be sent through Roll20 https://app.roll20.net/users/2
<span>I</span>
{{/^rollLess() enhancement3 difficulty}}
{{#rollLess() rollresult difficulty}}
{{#rollLess() enhancement1 difficulty}}
{{#rollLess() enhancement2 difficulty}}
{{#rollLess() enhancement3 difficulty}}
0
{{/rollLess() enhancement3 difficulty}}
{{/rollLess() enhancement2 difficulty}}
{{/rollLess() enhancement1 difficulty}}
{{/rollLess() rollresult difficulty}}
{{#^rollLess() enhancement4 difficulty}}
<span>I</span>
{{/^rollLess() enhancement4 difficulty}}
{{#^rollLess() enhancement5 difficulty}}
<span>I</span>
{{/^rollLess() enhancement5 difficulty}}
</div>
</rolltemplate>
+1 -1
View File
@@ -5,5 +5,5 @@
"patreon": "https://www.patreon.com/sceneficant",
"roll20userid": "492849,23472",
"preview": "invisiblesun.png",
"instructions": "#Invisible Sun\r \r **For use with the Invisible Sun system by Monte Cook** \r\r If there's something you want added, or you'd like to report a bug, please contact the author of this sheet. This is a partial sheet. Please show some love and support if you'd like to see a full sheet."
"instructions": "#Invisible Sun\r \r v1.1: Added two more Enhancement buttons for a total possible five dice. \r \r **For use with the Invisible Sun system by Monte Cook** \r\r If there's something you want added, or you'd like to report a bug, please contact the author of this sheet. This is a partial sheet. Please show some love and support if you'd like to see a full sheet."
}