Stargate v1.76 - add passive perception
This commit is contained in:
@@ -5,6 +5,9 @@ Offical Roll20 Character sheet for "Stargate RPG" by Wyvern Gaming, sheet create
|
||||
|
||||
### Changelog
|
||||
|
||||
**v.1.76 (Sept 30th)**
|
||||
* add passive perception(next to bulk)
|
||||
|
||||
**v.1.75 (Sept 7th)**
|
||||
* Moved Eureka Points to main page. Shown to Scientists by default, setting option to always show it
|
||||
* Added HD & TD buttons to main page, changed HD to dropdown
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//current sheet version
|
||||
const currentversion = "1.75";
|
||||
const currentversion = "1.76";
|
||||
|
||||
const int = score => parseInt(score, 10) || 0;
|
||||
|
||||
|
||||
@@ -1,19 +1,6 @@
|
||||
//- SHEET VERSION
|
||||
- var version = "1.75";
|
||||
- var version = "1.76";
|
||||
input(type="hidden" name="attr_version" value=`${version}`)
|
||||
//- variables & mixin
|
||||
- var url = "https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Stargate-RPG/images/";
|
||||
- var urldev = "https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Stargate-RPG/images/";
|
||||
- var pages = ["character", "background", "npc", "settings"];
|
||||
//- var attr-abr = ["str", "dex", "con", "wis", "int", "cha"]; //- key-value instead?
|
||||
- var attrnames = {str: "strength", dex: "dexterity", con: "constitution", int: "intelligence", wis: "wisdom", cha: "charisma"};
|
||||
- var skills = [{"attr": "acrobatics","name": "Acrobatics","keyattr": "dex"},{"attr": "animalhandling","name": "Animal Handling","keyattr": "wis"},{"attr": "athletics","name": "Athletics","keyattr": "str"},{"attr": "culture","name": "Culture","keyattr": "wis"},{"attr": "deception","name": "Deception","keyattr": "cha"},{"attr": "engineering","name": "Engineering","keyattr": "int"},{"attr": "insight","name": "Insight","keyattr": "wis"},{"attr": "intimidation","name": "Intimidation","keyattr": "cha"},{"attr": "investigation","name": "Investigation","keyattr": "int"},{"attr": "medicine","name": "Medicine","keyattr": "wis"},{"attr": "nature","name": "Nature","keyattr": "int"},{"attr": "perception","name": "Perception","keyattr": "wis"},{"attr": "performance","name": "performance","keyattr": "cha"},{"attr": "persuasion","name": "Persuasion","keyattr": "cha"},{"attr": "pilot","name": "Pilot","keyattr": "dex"},{"attr": "science","name": "Science","keyattr": "int"},{"attr": "sleight","name": "Sleight of Hand","keyattr": "dex"},{"attr": "stealth","name": "Stealth","keyattr": "dex"},{"attr": "survival","name": "Survival","keyattr": "wis"}];
|
||||
- var condition = {1: "Disadv: skill checks", 2: "Speed Halved", 3: "Disadv: Attacks, Saves", 4: "Max HP Halved", 5: "Speed Zero", 6: "Death"};
|
||||
//- var skill-at = [];
|
||||
//- var skill-name = [];
|
||||
- var dice = ["d4", "d6", "d8", "d10", "d12"];
|
||||
- var N = number => [...Array(number+1).keys()].slice(1)
|
||||
- var cap = word => word.charAt(0).toUpperCase() + word.slice(1)
|
||||
|
||||
//- sheet start
|
||||
.tab-buttons.middle.center
|
||||
@@ -174,9 +161,13 @@ main.character
|
||||
input.w30(name=`attr_${val}_save` title=`@{${val}_save}` type="number" value="0")
|
||||
button.txt-btn(name=`roll_${val}_save` title=`%{${val}_save}` type="roll" value=`@{whisper}&{template:stargate} {{title=${key.charAt(0).toUpperCase()}${key.slice(1)} Save}} @{show_name} {{[[d20+(@{${val}_save})]]=[[d20+(@{${val}_save})]]}}`)= key.charAt(0).toUpperCase() + key.slice(1)
|
||||
//- bulk
|
||||
section.bulk.columnflex.nowrap.middle.center
|
||||
h3 Tactical Bulk
|
||||
input.stat.w40(name="attr_bulk" type="number" value="8")
|
||||
.bulk.rowflex.nowrap.middle.center
|
||||
.section.columnflex.nowrap.middle.center
|
||||
h3(title="@{bulk}") Bulk
|
||||
input.stat.w40(name="attr_bulk" type="number" value="8" title="@{bulk}")
|
||||
.section.columnflex.nowrap.middle.center
|
||||
h5(title="@{perception_passive}") Passive Perception
|
||||
input.stat.w40(name="attr_perception_passive" type="number" value="" title="@{perception_passive}")
|
||||
//- inventory mini
|
||||
section.inventory.columnflex.nowrap.center
|
||||
h4 Inventory
|
||||
@@ -310,6 +301,9 @@ main.settings
|
||||
button.txt-btn(name="roll_help" type="roll" value="@{whisper}&{template:stargate} {{title=[(Link)Sheet Userguide](https://wiki.roll20.net/Stargate) }} {{subtitle=Roll20 Wiki}} {{desc= (Right-click to open in a new tab)\n**Official Stargate RPG**\n**Roll20 Character Sheet**\n created by **Andreas J.**([@anduh_](https://twitter.com/anduh_)) }}") Sheet Documentation
|
||||
br
|
||||
h1 Changelog
|
||||
label v.1.76 (Sept 30th)
|
||||
span
|
||||
|• add passive perception(next to bulk)
|
||||
label v.1.75 (Sept 7th)
|
||||
span
|
||||
|• Moved Eureka Points to main page. Shown to Scientists by default, setting option to always show it
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
//- variables & mixin
|
||||
- var url = "https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Stargate-RPG/images/";
|
||||
- var urldev = "https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Stargate-RPG/images/";
|
||||
- var pages = ["character", "background", "npc", "settings"];
|
||||
//- var attr-abr = ["str", "dex", "con", "wis", "int", "cha"]; //- key-value instead?
|
||||
- var attrnames = {str: "strength", dex: "dexterity", con: "constitution", int: "intelligence", wis: "wisdom", cha: "charisma"};
|
||||
- var skills = [{"attr": "acrobatics","name": "Acrobatics","keyattr": "dex"},{"attr": "animalhandling","name": "Animal Handling","keyattr": "wis"},{"attr": "athletics","name": "Athletics","keyattr": "str"},{"attr": "culture","name": "Culture","keyattr": "wis"},{"attr": "deception","name": "Deception","keyattr": "cha"},{"attr": "engineering","name": "Engineering","keyattr": "int"},{"attr": "insight","name": "Insight","keyattr": "wis"},{"attr": "intimidation","name": "Intimidation","keyattr": "cha"},{"attr": "investigation","name": "Investigation","keyattr": "int"},{"attr": "medicine","name": "Medicine","keyattr": "wis"},{"attr": "nature","name": "Nature","keyattr": "int"},{"attr": "perception","name": "Perception","keyattr": "wis"},{"attr": "performance","name": "performance","keyattr": "cha"},{"attr": "persuasion","name": "Persuasion","keyattr": "cha"},{"attr": "pilot","name": "Pilot","keyattr": "dex"},{"attr": "science","name": "Science","keyattr": "int"},{"attr": "sleight","name": "Sleight of Hand","keyattr": "dex"},{"attr": "stealth","name": "Stealth","keyattr": "dex"},{"attr": "survival","name": "Survival","keyattr": "wis"}];
|
||||
- var condition = {1: "Disadv: skill checks", 2: "Speed Halved", 3: "Disadv: Attacks, Saves", 4: "Max HP Halved", 5: "Speed Zero", 6: "Death"};
|
||||
//- var skill-at = [];
|
||||
//- var skill-name = [];
|
||||
- var dice = ["d4", "d6", "d8", "d10", "d12"];
|
||||
- var N = number => [...Array(number+1).keys()].slice(1)
|
||||
- var cap = word => word.charAt(0).toUpperCase() + word.slice(1)
|
||||
@@ -55,7 +55,7 @@ $urldev: "https://raw.githubusercontent.com/Roll20/roll20-character-sheets/maste
|
||||
line-height: 23px;
|
||||
}
|
||||
|
||||
.txtcenter {
|
||||
h5, .txtcenter {
|
||||
text-align: center;
|
||||
}
|
||||
.slash {
|
||||
@@ -746,10 +746,15 @@ $urldev: "https://raw.githubusercontent.com/Roll20/roll20-character-sheets/maste
|
||||
|
||||
|
||||
|
||||
section.bulk {
|
||||
div.bulk {
|
||||
grid-area: bulk;
|
||||
width: 156px;
|
||||
height: 80px;
|
||||
display: flex;
|
||||
width: 171px;
|
||||
gap: 10px;
|
||||
|
||||
.section{
|
||||
flex: 1 1 0px;
|
||||
}
|
||||
}
|
||||
|
||||
section.inventory {
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
text-align: center;
|
||||
line-height: 23px;
|
||||
}
|
||||
.charsheet .txtcenter {
|
||||
.charsheet h5, .charsheet .txtcenter {
|
||||
text-align: center;
|
||||
}
|
||||
.charsheet .slash {
|
||||
@@ -601,10 +601,14 @@
|
||||
.charsheet section.saves div.mb20 {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.charsheet section.bulk {
|
||||
.charsheet div.bulk {
|
||||
grid-area: bulk;
|
||||
width: 156px;
|
||||
height: 80px;
|
||||
display: flex;
|
||||
width: 171px;
|
||||
gap: 10px;
|
||||
}
|
||||
.charsheet div.bulk .section {
|
||||
flex: 1 1 0px;
|
||||
}
|
||||
.charsheet section.inventory {
|
||||
grid-area: inventory;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
<input type="hidden" name="attr_version" value="1.75"/>
|
||||
<input type="hidden" name="attr_version" value="1.76"/>
|
||||
<div class="tab-buttons middle center">
|
||||
<input class="npctoggle" type="hidden" name="attr_npc" value="0"/>
|
||||
<button class="pc" type="action" name="act_character">Character</button>
|
||||
@@ -325,10 +325,16 @@
|
||||
<button class="txt-btn" name="roll_cha_save" title="%{cha_save}" type="roll" value="@{whisper}&{template:stargate} {{title=Charisma Save}} @{show_name} {{[[d20+(@{cha_save})]]=[[d20+(@{cha_save})]]}}">Charisma</button>
|
||||
</div>
|
||||
</section>
|
||||
<section class="bulk columnflex nowrap middle center">
|
||||
<h3>Tactical Bulk</h3>
|
||||
<input class="stat w40" name="attr_bulk" type="number" value="8"/>
|
||||
</section>
|
||||
<div class="bulk rowflex nowrap middle center">
|
||||
<div class="section columnflex nowrap middle center">
|
||||
<h3 title="@{bulk}">Bulk</h3>
|
||||
<input class="stat w40" name="attr_bulk" type="number" value="8" title="@{bulk}"/>
|
||||
</div>
|
||||
<div class="section columnflex nowrap middle center">
|
||||
<h5 title="@{perception_passive}">Passive Perception</h5>
|
||||
<input class="stat w40" name="attr_perception_passive" type="number" value="" title="@{perception_passive}"/>
|
||||
</div>
|
||||
</div>
|
||||
<section class="inventory columnflex nowrap center">
|
||||
<h4>Inventory</h4>
|
||||
<textarea name="attr_inventory" title="@{inventory}"></textarea>
|
||||
@@ -605,6 +611,7 @@
|
||||
**Roll20 Character Sheet**
|
||||
created by **Andreas J.**([@anduh_](https://twitter.com/anduh_)) }}">Sheet Documentation</button><br/>
|
||||
<h1>Changelog</h1>
|
||||
<label>v.1.76 (Sept 30th)</label><span>• add passive perception(next to bulk)</span>
|
||||
<label>v.1.75 (Sept 7th)</label><span>• Moved Eureka Points to main page. Shown to Scientists by default, setting option to always show it<br/>• Added HD & TD buttons to main page, changed HD to dropdown<br/>• rearrange WIS & INT to correct order<br/>• minor visual fixes</span>
|
||||
<label>v.1.74 (Aug 30th)</label><span>• Add adv./disadv. options to Init & moxie rolls<br/>• Add 6th & 7th weapon slot</span>
|
||||
<label>v.1.73 (Aug 9th)</label><span>• Remove History Skill (was skill in old beta rules)</span>
|
||||
@@ -704,7 +711,7 @@
|
||||
</rolltemplate>
|
||||
<script type="text/worker">
|
||||
//current sheet version
|
||||
const currentversion = "1.75";
|
||||
const currentversion = "1.76";
|
||||
|
||||
const int = score => parseInt(score, 10) || 0;
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
include src/pug/variables.pug
|
||||
|
||||
include src/pug/core.pug
|
||||
|
||||
|
||||
Reference in New Issue
Block a user