Removed superfluous X from interface for consistency
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
<button class="sheet-skill-button" type='roll' name='roll_education' value='&{template:future} {{title=@{character_name}}} {{Education=[[2d6 + @{education} + ?{Modifier|0}]]}}'>Education</button><input type="number" name='attr_education' min="0"></input><input type="text" name='attr_educationspec'></input>
|
||||
<br />
|
||||
|
||||
<button class="sheet-skill-button" type='roll' name='roll_interface' value='&{template:future} {{title=@{character_name}}} {{Interface=[[2d6 + @{interfaceX} + ?{Modifier|0}]]}}'>Interface</button><input type="number" name='attr_interfaceX' min="0"></input><input type="text" name='attr_interfacespec'></input>
|
||||
<button class="sheet-skill-button" type='roll' name='roll_interface' value='&{template:future} {{title=@{character_name}}} {{Interface=[[2d6 + @{interface} + ?{Modifier|0}]]}}'>Interface</button><input type="number" name='attr_interface' min="0"></input><input type="text" name='attr_interfacespec'></input>
|
||||
<br />
|
||||
|
||||
<button class="sheet-skill-button" type='roll' name='roll_medicine' value='&{template:future} {{title=@{character_name}}} {{Medicine=[[2d6 + @{medicine} + ?{Modifier|0}]]}}'>Medicine</button><input type="number" name='attr_medicine' min="0"></input><input type="text" name='attr_medicinespec'></input>
|
||||
@@ -334,8 +334,8 @@ buttonlist.forEach(button => {
|
||||
});
|
||||
|
||||
// Initialise skills and other numbered attributes
|
||||
on("change:athletics change:awareness change:melee change:shoot change:stealth change:survival change:vehicles change:art change:business change:corporatelaw change:education change:interfaceX change:medicine change:remotes change:science change:technology change:charm change:conviction change:empathy change:highsociety change:rhetoric change:streetwise change:taunt sheet:opened", function() {
|
||||
getAttrs(["athletics","awareness","melee","shoot","stealth","survival","vehicles","art","business","corporatelaw","education","interfaceX","medicine","remotes","science","technology","charm","conviction","empathy","highsociety","rhetoric","streetwise","taunt","skillcap","meleebonus","shootbonus","initiativebonus","totaltraitpoints","gangassets"], function(values) {
|
||||
on("change:athletics change:awareness change:melee change:shoot change:stealth change:survival change:vehicles change:art change:business change:corporatelaw change:education change:interface change:medicine change:remotes change:science change:technology change:charm change:conviction change:empathy change:highsociety change:rhetoric change:streetwise change:taunt sheet:opened", function() {
|
||||
getAttrs(["athletics","awareness","melee","shoot","stealth","survival","vehicles","art","business","corporatelaw","education","interface","medicine","remotes","science","technology","charm","conviction","empathy","highsociety","rhetoric","streetwise","taunt","skillcap","meleebonus","shootbonus","initiativebonus","totaltraitpoints","gangassets"], function(values) {
|
||||
let athletics = parseInt(values.athletics)||0;
|
||||
let awareness = parseInt(values.awareness)||0;
|
||||
let melee = parseInt(values.melee)||0;
|
||||
@@ -347,7 +347,7 @@ on("change:athletics change:awareness change:melee change:shoot change:stealth c
|
||||
let business = parseInt(values.business)||0;
|
||||
let corporatelaw = parseInt(values.corporatelaw)||0;
|
||||
let education = parseInt(values.education)||0;
|
||||
let interfaceX = parseInt(values.interfaceX)||0;
|
||||
let interface = parseInt(values.interface)||0;
|
||||
let medicine = parseInt(values.medicine)||0;
|
||||
let remotes = parseInt(values.remotes)||0;
|
||||
let science = parseInt(values.science)||0;
|
||||
@@ -378,7 +378,7 @@ on("change:athletics change:awareness change:melee change:shoot change:stealth c
|
||||
"business": Math.min(business, skillcap),
|
||||
"corporatelaw": Math.min(corporatelaw, skillcap),
|
||||
"education": Math.min(education, skillcap),
|
||||
"interfaceX": Math.min(interfaceX, skillcap),
|
||||
"interface": Math.min(interface, skillcap),
|
||||
"medicine": Math.min(medicine, skillcap),
|
||||
"remotes": Math.min(remotes, skillcap),
|
||||
"science": Math.min(science, skillcap),
|
||||
@@ -449,8 +449,8 @@ on("change:experience change:extraskills sheet:opened", function() {
|
||||
});
|
||||
|
||||
// Set unspent skill points
|
||||
on("change:athletics change:awareness change:melee change:shoot change:stealth change:survival change:vehicles change:art change:business change:corporatelaw change:education change:interfaceX change:medicine change:remotes change:science change:technology change:charm change:conviction change:empathy change:highsociety change:rhetoric change:streetwise change:taunt change:athleticsspec change:awarenessspec change:meleespec change:shootspec change:stealthspec change:survivalspec change:vehiclesspec change:artspec change:businessspec change:corporatelawspec change:educationspec change:interfaceXspec change:medicinespec change:remotesspec change:sciencespec change:technologyspec change:charmspec change:convictionspec change:empathyspec change:highsocietyspec change:rhetoricspec change:streetwisespec change:tauntspec change:totalskillpoints sheet:opened", function() {
|
||||
getAttrs(["athletics","awareness","melee","shoot","stealth","survival","vehicles","art","business","corporatelaw","education","interfaceX","medicine","remotes","science","technology","charm","conviction","empathy","highsociety","rhetoric","streetwise","taunt","athleticsspec","awarenessspec","meleespec","shootspec","stealthspec","survivalspec","vehiclesspec","artspec","businessspec","corporatelawspec","educationspec","interfaceXspec","medicinespec","remotesspec","sciencespec","technologyspec","charmspec","convictionspec","empathyspec","highsocietyspec","rhetoricspec","streetwisespec","tauntspec","totalskillpoints"], function(values) {
|
||||
on("change:athletics change:awareness change:melee change:shoot change:stealth change:survival change:vehicles change:art change:business change:corporatelaw change:education change:interface change:medicine change:remotes change:science change:technology change:charm change:conviction change:empathy change:highsociety change:rhetoric change:streetwise change:taunt change:athleticsspec change:awarenessspec change:meleespec change:shootspec change:stealthspec change:survivalspec change:vehiclesspec change:artspec change:businessspec change:corporatelawspec change:educationspec change:interfacespec change:medicinespec change:remotesspec change:sciencespec change:technologyspec change:charmspec change:convictionspec change:empathyspec change:highsocietyspec change:rhetoricspec change:streetwisespec change:tauntspec change:totalskillpoints sheet:opened", function() {
|
||||
getAttrs(["athletics","awareness","melee","shoot","stealth","survival","vehicles","art","business","corporatelaw","education","interface","medicine","remotes","science","technology","charm","conviction","empathy","highsociety","rhetoric","streetwise","taunt","athleticsspec","awarenessspec","meleespec","shootspec","stealthspec","survivalspec","vehiclesspec","artspec","businessspec","corporatelawspec","educationspec","interfacespec","medicinespec","remotesspec","sciencespec","technologyspec","charmspec","convictionspec","empathyspec","highsocietyspec","rhetoricspec","streetwisespec","tauntspec","totalskillpoints"], function(values) {
|
||||
let athletics = parseInt(values.athletics)||0;
|
||||
let awareness = parseInt(values.awareness)||0;
|
||||
let melee = parseInt(values.melee)||0;
|
||||
@@ -462,7 +462,7 @@ on("change:athletics change:awareness change:melee change:shoot change:stealth c
|
||||
let business = parseInt(values.business)||0;
|
||||
let corporatelaw = parseInt(values.corporatelaw)||0;
|
||||
let education = parseInt(values.education)||0;
|
||||
let interfaceX = parseInt(values.interfaceX)||0;
|
||||
let interface = parseInt(values.interface)||0;
|
||||
let medicine = parseInt(values.medicine)||0;
|
||||
let remotes = parseInt(values.remotes)||0;
|
||||
let science = parseInt(values.science)||0;
|
||||
@@ -486,7 +486,7 @@ on("change:athletics change:awareness change:melee change:shoot change:stealth c
|
||||
let businessspec = CountSpecialities(values.businessspec);
|
||||
let corporatelawspec = CountSpecialities(values.corporatelawspec);
|
||||
let educationspec = CountSpecialities(values.educationspec);
|
||||
let interfaceXspec = CountSpecialities(values.interfaceXspec);
|
||||
let interfacespec = CountSpecialities(values.interfacespec);
|
||||
let medicinespec = CountSpecialities(values.medicinespec);
|
||||
let remotesspec = CountSpecialities(values.remotesspec);
|
||||
let sciencespec = CountSpecialities(values.sciencespec);
|
||||
@@ -513,7 +513,7 @@ on("change:athletics change:awareness change:melee change:shoot change:stealth c
|
||||
+ business
|
||||
+ corporatelaw
|
||||
+ education
|
||||
+ interfaceX
|
||||
+ interface
|
||||
+ medicine
|
||||
+ remotes
|
||||
+ science
|
||||
@@ -536,7 +536,7 @@ on("change:athletics change:awareness change:melee change:shoot change:stealth c
|
||||
+ businessspec
|
||||
+ corporatelawspec
|
||||
+ educationspec
|
||||
+ interfaceXspec
|
||||
+ interfacespec
|
||||
+ medicinespec
|
||||
+ remotesspec
|
||||
+ sciencespec
|
||||
|
||||
Reference in New Issue
Block a user