* First Commit * Fix Fortune Roll Bug * Fix Fortune Roll Bug * Update Hack the Planet.html
2375 lines
135 KiB
JavaScript
2375 lines
135 KiB
JavaScript
<script type="text/worker">
|
||
on("change:insight change:prowess change:resolve change:Trace change:Study change:Survey change:Modify change:Finesse change:Ghost change:Combat change:Wreck change:Hack change:Control change:Network change:Sway change:Trace-cybernetic change:Study-cybernetic change:Survey-cybernetic change:Modify-cybernetic change:Finesse-cybernetic change:Ghost-cybernetic change:Combat-cybernetic change:Wreck-cybernetic change:Hack-cybernetic change:Control-cybernetic change:Network-cybernetic change:Sway-cybernetic", function() {
|
||
getAttrs(["insight", "prowess", "resolve", "Trace", "Study", "Survey", "Modify", "Finesse", "Ghost", "Combat", "Wreck", "Hack", "Control", "Network", "Sway", "Trace-cybernetic", "Study-cybernetic", "Survey-cybernetic", "Modify-cybernetic", "Finesse-cybernetic", "Ghost-cybernetic", "Combat-cybernetic", "Wreck-cybernetic", "Hack-cybernetic", "Control-cybernetic", "Network-cybernetic", "Sway-cybernetic"], function(values) {
|
||
var totalInsight = {};
|
||
totalInsight = Math.ceil((parseInt(values.Trace, 10) + parseInt(values["Trace-cybernetic"], 10))/5) + Math.ceil((parseInt(values.Study, 10) + parseInt(values["Study-cybernetic"], 10))/5) + Math.ceil((parseInt(values.Survey, 10) + parseInt(values["Survey-cybernetic"], 10))/5) + Math.ceil((parseInt(values.Modify, 10) + parseInt(values["Modify-cybernetic"], 10))/5);
|
||
var totalProwess = {};
|
||
totalProwess = Math.ceil((parseInt(values.Finesse, 10) + parseInt(values["Finesse-cybernetic"], 10))/5) + Math.ceil((parseInt(values.Ghost, 10) + parseInt(values["Ghost-cybernetic"], 10))/5) + Math.ceil((parseInt(values.Combat, 10) + parseInt(values["Combat-cybernetic"], 10))/5) + Math.ceil((parseInt(values.Wreck, 10) + parseInt(values["Wreck-cybernetic"], 10))/5);
|
||
var totalResolve = {};
|
||
totalResolve = Math.ceil((parseInt(values.Hack, 10) + parseInt(values["Hack-cybernetic"], 10))/5) + Math.ceil((parseInt(values.Control, 10) + parseInt(values["Control-cybernetic"], 10))/5) + Math.ceil((parseInt(values.Network, 10) + parseInt(values["Network-cybernetic"], 10))/5) + Math.ceil((parseInt(values.Sway, 10) + parseInt(values["Sway-cybernetic"], 10))/5);
|
||
var setVice = {};
|
||
setVice["viceroll"] = Math.min(totalInsight, totalProwess, totalResolve);
|
||
setAttrs(setVice);
|
||
});
|
||
});
|
||
on("change:1-1claimed", function() {
|
||
getAttrs(["crew" , "turf", "1-1claimed"], function(values) {
|
||
if ((values.turf <= 3) && (values["1-1claimed"] == "on") && (values.crew.toLowerCase() == "wires")) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) + 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
else if ((values["1-1claimed"] == 0) && (values.turf >= 1) && (values.crew.toLowerCase() == "wires")) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) - 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
});
|
||
});
|
||
on("change:1-2claimed", function() {
|
||
getAttrs(["crew" , "turf", "1-2claimed"], function(values) {
|
||
if ((values.turf <= 3) && (values["1-2claimed"] == "on") && ((values.crew.toLowerCase() == "clippers") || (values.crew.toLowerCase() == "shifters") || (values.crew.toLowerCase() == "wires"))) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) + 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
else if ((values["1-2claimed"] == 0) && (values.turf >= 1) && ((values.crew.toLowerCase() == "clippers") || (values.crew.toLowerCase() == "shifters") || (values.crew.toLowerCase() == "wires"))) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) - 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
});
|
||
});
|
||
on("change:2-1claimed", function() {
|
||
getAttrs(["crew" , "turf", "2-1claimed"], function(values) {
|
||
if ((values.turf <= 3) && (values["2-1claimed"] == "on") && ((values.crew.toLowerCase() == "clippers") || (values.crew.toLowerCase() == "comets"))) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) + 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
else if ((values["2-1claimed"] == 0) && (values.turf >= 1) && ((values.crew.toLowerCase() == "clippers") || (values.crew.toLowerCase() == "comets"))) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) - 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
});
|
||
});
|
||
on("change:2-2claimed", function() {
|
||
getAttrs(["crew" , "turf", "2-2claimed"], function(values) {
|
||
if ((values.turf <= 3) && (values["2-2claimed"] == "on") && ((values.crew.toLowerCase() == "cleaners") || (values.crew.toLowerCase() == "shifters") || (values.crew.toLowerCase() == "wires"))) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) + 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
else if ((values["2-2claimed"] == 0) && (values.turf >= 1) && ((values.crew.toLowerCase() == "cleaners") || (values.crew.toLowerCase() == "shifters") || (values.crew.toLowerCase() == "wires"))) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) - 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
});
|
||
});
|
||
on("change:4-2claimed", function() {
|
||
getAttrs(["crew" , "turf", "4-2claimed"], function(values) {
|
||
if ((values.turf <= 3) && (values["4-2claimed"] == "on") && ((values.crew.toLowerCase() == "cleaners") || (values.crew.toLowerCase() == "clippers") || (values.crew.toLowerCase() == "comets") || (values.crew.toLowerCase() == "shifters") || (values.crew.toLowerCase() == "wires"))) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) + 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
else if ((values["4-2claimed"] == 0) && (values.turf >= 1) && ((values.crew.toLowerCase() == "cleaners") || (values.crew.toLowerCase() == "clippers") || (values.crew.toLowerCase() == "comets") || (values.crew.toLowerCase() == "shifters") || (values.crew.toLowerCase() == "wires"))) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) - 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
});
|
||
});
|
||
on("change:4-3claimed", function() {
|
||
getAttrs(["crew" , "turf", "4-3claimed"], function(values) {
|
||
if ((values.turf <= 3) && (values["4-3claimed"] == "on") && (values.crew.toLowerCase() == "comets")) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) + 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
else if ((values["4-3claimed"] == 0) && (values.turf >= 1) && (values.crew.toLowerCase() == "comets")) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) - 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
});
|
||
});
|
||
on("change:5-2claimed", function() {
|
||
getAttrs(["crew" , "turf", "5-2claimed"], function(values) {
|
||
if ((values.turf <= 3) && (values["5-2claimed"] == "on") && ((values.crew.toLowerCase() == "clippers") || (values.crew.toLowerCase() == "shifters"))) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) + 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
else if ((values["5-2claimed"] == 0) && (values.turf >= 1) && ((values.crew.toLowerCase() == "clippers") || (values.crew.toLowerCase() == "shifters"))) {
|
||
var turnOff = {};
|
||
turnOff["turf"] = parseInt(values.turf, 10) - 1;
|
||
setAttrs(turnOff);
|
||
}
|
||
});
|
||
});
|
||
on("change:progress", function() {
|
||
getAttrs(["progress"], function(values) {
|
||
var setHidden = {};
|
||
setHidden["progress1"] = values.progress;
|
||
setHidden["progress2"] = values.progress;
|
||
setHidden["progress3"] = values.progress;
|
||
setAttrs(setHidden);
|
||
});
|
||
});
|
||
on("change:repeating_clocks", function(eventInfo) {
|
||
getSectionIDs("clocks", function(idarray) {
|
||
for(var i=0; i < idarray.length; i++) {
|
||
getAttrs(["repeating_clocks_4progress", "repeating_clocks_6progress", "repeating_clocks_8progress"], function(values) {
|
||
var fourclock = {};
|
||
fourclock["repeating_clocks_4progress1"] = values["repeating_clocks_4progress"];
|
||
fourclock["repeating_clocks_4progress2"] = values["repeating_clocks_4progress"];
|
||
fourclock["repeating_clocks_4progress3"] = values["repeating_clocks_4progress"];
|
||
setAttrs(fourclock);
|
||
var sixclock = {};
|
||
sixclock["repeating_clocks_6progress1"] = values["repeating_clocks_6progress"];
|
||
sixclock["repeating_clocks_6progress2"] = values["repeating_clocks_6progress"];
|
||
sixclock["repeating_clocks_6progress3"] = values["repeating_clocks_6progress"];
|
||
setAttrs(sixclock);
|
||
var eightclock = {};
|
||
eightclock["repeating_clocks_8progress1"] = values["repeating_clocks_8progress"];
|
||
eightclock["repeating_clocks_8progress2"] = values["repeating_clocks_8progress"];
|
||
eightclock["repeating_clocks_8progress3"] = values["repeating_clocks_8progress"];
|
||
setAttrs(eightclock);
|
||
});
|
||
}
|
||
});
|
||
});
|
||
on("change:rollselect", function() {
|
||
getAttrs(["rollselect"], function(values) {
|
||
var setHidden = {};
|
||
setHidden["rollselected"] = values.rollselect;
|
||
setAttrs(setHidden);
|
||
|
||
});
|
||
});
|
||
on("change:actionselect", function() {
|
||
getAttrs(["actionselect"], function(values) {
|
||
var setHidden = {};
|
||
setHidden["actionselected"] = values.actionselect;
|
||
setAttrs(setHidden);
|
||
|
||
});
|
||
});
|
||
on("change:resistanceselect", function() {
|
||
getAttrs(["resistanceselect"], function(values) {
|
||
var setHidden = {};
|
||
setHidden["resistanceselected"] = values.resistanceselect;
|
||
setAttrs(setHidden);
|
||
|
||
});
|
||
});
|
||
on("change:rollselect", function() {
|
||
getAttrs(["rollselect"], function(values) {
|
||
var setHidden = {};
|
||
setHidden["downtimeSelect"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["actionselect"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["actionPosition"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["actionEffect"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["actionBonusDice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-acquire"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-acquire-bonusdice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-long-actionselect"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-long-bonusdice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-recover-dice"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-recover-bonusdice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-reduce-actionselect"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-reduce-bonusdice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-vice-bonusdice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["engagement-dice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["fortune-dice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["resistanceselect"] = "nothing";
|
||
setAttrs(setHidden);
|
||
|
||
});
|
||
});
|
||
on("change:downtimeSelect", function() {
|
||
getAttrs(["downtimeSelect"], function(values) {
|
||
var setHidden = {};
|
||
setHidden["downtimeselected"] = values.downtimeSelect;
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["actionselect"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["actionPosition"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["actionEffect"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["actionBonusDice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-acquire"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-acquire-bonusdice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-long-actionselect"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-long-bonusdice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-recover-dice"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-recover-bonusdice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-reduce-actionselect"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-reduce-bonusdice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["downtime-vice-bonusdice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["engagement-dice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["fortune-dice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["resistanceselect"] = "nothing";
|
||
setAttrs(setHidden);
|
||
|
||
|
||
});
|
||
});
|
||
on("change:rollselect change:actionselect change:actionPosition change:actionEffect change:actionBonusDice", function() {
|
||
getAttrs(["rollselect", "actionselect", "actionPosition", "actionEffect", "actionBonusDice"], function(values) {
|
||
if ((values.rollselect == "actionroll") && (values.actionselect != "nothing") && (values.actionPosition != "nothing") && (values.actionEffect != "nothing")) {
|
||
var turnOff = {};
|
||
turnOff["action-ready"] = "on";
|
||
setAttrs(turnOff);
|
||
}
|
||
else {
|
||
var turnOff = {};
|
||
turnOff["action-ready"] = "actionselect";
|
||
setAttrs(turnOff);
|
||
}
|
||
});
|
||
});
|
||
on("change:crewrollselect change:crewengagement-question1 change:crewengagement-question2 change:crewengagement-question3 change:crewengagement-question4 change:crewengagement-question5 change:crewengagement-question6 change:crewengagement-dice", function() {
|
||
getAttrs(["crewrollselect", "crewengagement-question1", "crewengagement-question2", "crewengagement-question3", "crewengagement-question4", "crewengagement-question5", "crewengagement-question6", "crewengagement-dice"], function(values) {
|
||
if ((values.crewrollselect == "engagementroll") && (values["crewengagement-question1"] != "nothing") && (values["crewengagement-question2"] != "nothing") && (values["crewengagement-question3"] != "nothing") && (values["crewengagement-question4"] != "nothing") && (values["crewengagement-question5"] != "nothing") && (values["crewengagement-question6"] != "nothing") && (values["crewengagement-dice"] != "nothing")) {
|
||
var turnOff = {};
|
||
turnOff["engagement-ready"] = "on";
|
||
setAttrs(turnOff);
|
||
}
|
||
else {
|
||
var turnOff = {};
|
||
turnOff["engagement-ready"] = false;
|
||
setAttrs(turnOff);
|
||
}
|
||
});
|
||
});
|
||
on("change:crewrollselect", function() {
|
||
getAttrs(["rollselect"], function(values) {
|
||
var setHidden = {};
|
||
setHidden["crewrollselected"] = values.crewrollselect;
|
||
setAttrs(setHidden);
|
||
|
||
});
|
||
});
|
||
on("change:crewrollselect", function() {
|
||
getAttrs(["crewrollselect"], function(values) {
|
||
var setHidden = {};
|
||
setHidden["crewdowntime-acquire"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["crewdowntime-acquire-bonusdice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["crewengagement-dice"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["crewfortune-dice"] = "0";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["crewengagement-question1"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["crewengagement-question2"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["crewengagement-question3"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["crewengagement-question4"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["crewengagement-question5"] = "nothing";
|
||
setAttrs(setHidden);
|
||
var setHidden = {};
|
||
setHidden["crewengagement-question6"] = "nothing";
|
||
setAttrs(setHidden);
|
||
|
||
|
||
});
|
||
});
|
||
on("change:downtimeSelect", function() {
|
||
getAttrs(["downtimeSelect"], function(values) {
|
||
var setHidden = {};
|
||
setHidden["downtimeselected"] = values.downtimeSelect;
|
||
setAttrs(setHidden);
|
||
|
||
});
|
||
});
|
||
on("change:rollselect change:actionselect change:actionPosition change:actionEffect change:actionBonusDice", function() {
|
||
getAttrs(["rollselect", "actionselect", "actionPosition", "actionEffect", "actionBonusDice"], function(values) {
|
||
if ((values.rollselect == "actionroll") && (values.actionselect != "nothing") && (values.actionPosition != "nothing") && (values.actionEffect != "nothing")) {
|
||
var turnOff = {};
|
||
turnOff["action-ready"] = "on";
|
||
setAttrs(turnOff);
|
||
}
|
||
else {
|
||
var turnOff = {};
|
||
turnOff["action-ready"] = false;
|
||
setAttrs(turnOff);
|
||
}
|
||
});
|
||
});
|
||
|
||
on("change:playbook", function() {
|
||
getSectionIDs("repeating_playbookability", function(idarray) {
|
||
for(var i=0; i < idarray.length; i++) {
|
||
removeRepeatingRow("repeating_playbookability_" + idarray[i]);
|
||
}
|
||
});
|
||
getSectionIDs("repeating_playbookitems", function(idarray) {
|
||
for(var i=0; i < idarray.length; i++) {
|
||
removeRepeatingRow("repeating_playbookitems_" + idarray[i]);
|
||
}
|
||
});
|
||
getSectionIDs("repeating_friends", function(idarray) {
|
||
for(var i=0; i < idarray.length; i++) {
|
||
removeRepeatingRow("repeating_friends_" + idarray[i]);
|
||
}
|
||
});
|
||
getAttrs(["playbook"], function(values) {
|
||
switch (values.playbook.toLowerCase()) {
|
||
case "edge" :
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_check"] = "on";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Battleborn";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You may expend your special armor to reduce harm on an attack in Combat or to push yourself during a fight.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Imposing";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you gather info to anticipate possible threats in the current situation, you get +1 effect. When you dissuade someone from escalating to physical violence by Controlling them, you have potency";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Primed";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Once per score, you may spend your available load, instead of stress, for a flashback or to push yourself.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Follow Through";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you take harm from someone, you learn about them and they become more susceptible to you. Immediately ask 1 question from gather information and take +1d against them.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Mule";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Your load limits are higher. Light: 5. Normal: 7. Heavy: 8.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Not To Be Trifled With";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You can push yourself to do one of the following: perform a feat of physical force that verges on the superhuman - engage a small gang on equal footing in close combat.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Every Item A Weapon";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you unleash physical violence with an improvised weapon, you have the same potency as the quality of your blade.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Overclocked";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You recover from harm faster. Permanently fill in one of your healing clock segments. Take +1d to healing treatment rolls.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Veteran";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Choose a special ability from another source.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Hana, retired military";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Lily, a crafter of fine arms";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Aksel, a structure hitter";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Bronx, a cold killer";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Kwame, a street doc";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Hand Weapon";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Heavy Weapon";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Air-Burst Ammo";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Sunjet";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "0";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine CQC Training";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "0";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Multi-Spectrum Shades";
|
||
setAttrs(newrowattrs);
|
||
var playbookcybernetic = {};
|
||
playbookcybernetic["Trace"] = "0";
|
||
playbookcybernetic["Study"] = "0";
|
||
playbookcybernetic["Survey"] = "0";
|
||
playbookcybernetic["Modify"] = "0";
|
||
playbookcybernetic["Finesse"] = "0";
|
||
playbookcybernetic["Ghost"] = "0";
|
||
playbookcybernetic["Combat"] = "2";
|
||
playbookcybernetic["Wreck"] = "0";
|
||
playbookcybernetic["Hack"] = "0";
|
||
playbookcybernetic["Control"] = "1";
|
||
playbookcybernetic["Network"] = "0";
|
||
playbookcybernetic["Sway"] = "0";
|
||
|
||
setAttrs(playbookcybernetic);
|
||
var playbookKey = {};
|
||
playbookKey["playbook-trigger"] = "You addressed a challenge with violence or intimidation.";
|
||
setAttrs(playbookKey);
|
||
|
||
|
||
break;
|
||
case "faint" :
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Foresight";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Two times per score you can assist a teammate without paying stress. Tell us how you prepared for this.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Calculating";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Due to your careful planning, during downtime, you may give yourself or another crew member +1 downtime activity.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Connected";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "During downtime, you get +1 result level when you acquire an asset or reduce heat.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Risk Averse";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you gather information through a faction you have a positive relationship with, clear 1 stress.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Improvisation";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Take 2 stress to change any action roll to Finesse instead. Say how you adapt the previous action to this one.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Like Looking Into A Mirror";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You can always tell when someone is lying to you.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Working An Angle";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You may expend your special armor to resist a consequence from suspicion or persuasion, or to push yourself when you gather information or work on a long-term project.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "The Myth, The Legend";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Use one downtime activity in order to change any aspect of your physical appearance. When you leverage your reputation against someone you may spend 1 rep to take +1d to your roll.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Veteran";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Choose a special ability from another source.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Elsa, a data broker";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Luis, an aspiring flicker";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Noah, a gene-hacker";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Changying, runs a Glitch front";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Yelena, a lookout";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Luxury Item (0-3 load)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Concealed Palm Pistol";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Sleeper Round";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "0";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Blueprints/Documents";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "0";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Cover Identity";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "0";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Multi-Spectrum Contacts";
|
||
setAttrs(newrowattrs);
|
||
var playbookcybernetic = {};
|
||
playbookcybernetic["Trace"] = "0";
|
||
playbookcybernetic["Study"] = "0";
|
||
playbookcybernetic["Survey"] = "0";
|
||
playbookcybernetic["Modify"] = "0";
|
||
playbookcybernetic["Finesse"] = "1";
|
||
playbookcybernetic["Ghost"] = "0";
|
||
playbookcybernetic["Combat"] = "0";
|
||
playbookcybernetic["Wreck"] = "0";
|
||
playbookcybernetic["Hack"] = "0";
|
||
playbookcybernetic["Control"] = "0";
|
||
playbookcybernetic["Network"] = "2";
|
||
playbookcybernetic["Sway"] = "0";
|
||
|
||
setAttrs(playbookcybernetic);
|
||
var playbookKey = {};
|
||
playbookKey["playbook-trigger"] = "You addressed a challenge with calculation or conspiracy";
|
||
setAttrs(playbookKey);
|
||
|
||
|
||
break;
|
||
case "fuse" :
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Infiltration";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You are not affected by quality or Tier when you bypass security measures";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Ambush";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you attack from hiding or spring a trap, you get +1d";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Pattern Recognition";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you gather information regarding entry points or exploitable habitual patterns, you have potency. ";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Cutting Edge";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you push yourself, choose one of the following additional benefits when wielding your blades: activate their searing capabilities, giving them potency equal to a Sunjet—or trigger the reaper drug embedded in the blades.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Expertise";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Choose one of your action ratings. When you lead a group action you suffer only 1 stress at most—regardless of the results of the other participants of the group action.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Synthetic Shell";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You may shift your partial camouflage into active, becoming invisible for a few moments. Take 2 stress when you shift, plus 1 stress for each extra feature: It lasts for a few minutes rather than moments—you become undetectable by most technology—you may traverse any surface.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Wired Reflexes";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When there’s a question about who acts first, the answer is you (two characters with Wired Reflexes act simultaneously).";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Ghost";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You may expend your special armor to resist a consequence from detection or security measures, or to push yourself for a feat of evasion or stealth.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Veteran";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Choose a special ability from another source.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Hansh, a scam artist";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Avni, an antiquarian";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Elif, a SneakerNet runner";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Fatma, a corp informant";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Catalina, a dipper";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Camo Wear";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Disguise Kit";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Muting Tech";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Two Fine Blades";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "0";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Cryptolock-Picks";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "0";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Multi-Spectrum Contacts";
|
||
setAttrs(newrowattrs);
|
||
var playbookcybernetic = {};
|
||
playbookcybernetic["Trace"] = "0";
|
||
playbookcybernetic["Study"] = "0";
|
||
playbookcybernetic["Survey"] = "0";
|
||
playbookcybernetic["Modify"] = "0";
|
||
playbookcybernetic["Finesse"] = "1";
|
||
playbookcybernetic["Ghost"] = "2";
|
||
playbookcybernetic["Combat"] = "0";
|
||
playbookcybernetic["Wreck"] = "0";
|
||
playbookcybernetic["Hack"] = "0";
|
||
playbookcybernetic["Control"] = "0";
|
||
playbookcybernetic["Network"] = "0";
|
||
playbookcybernetic["Sway"] = "0";
|
||
|
||
setAttrs(playbookcybernetic);
|
||
var playbookKey = {};
|
||
playbookKey["playbook-trigger"] = "You addressed a challenge with stealth or finesse.";
|
||
setAttrs(playbookKey);
|
||
|
||
|
||
break;
|
||
case "haunt" :
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Machined Plasma";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Take 1 Stress to activate a function of your customized nanites for a few minutes: mirror someone else’s nanites with a touch—establish a link to technology within a few feet from you— transfer and store data on your nanites—extend a function for hours instead of mere minutes";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "The Hum";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You can hear whenever there electronics of any kind nearby. When you gather information using technology, take +1d.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Hacktivist";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You get an additional xp trigger: when you hinder those that perpetuate societal power structures mark xp. If your crew helped you, also mark crew xp. ";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Mess With The Best";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you hack as a long-term project, you get an additional downtime activity toward it. Take +1d when you resist a consequence involving Hacking";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Between The Lines";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You may expend your special armor to resist a consequence from electronic intrusions and systems, or to push yourself when you Hack them.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Rootkit";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Take +1d and +1effect when Hacking above your Tier.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Haunting";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You have physical modifications to your appearance that identify you as part of a sub-culture of hackers, take +1d when dealing with other members of the community.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Trust In Me";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You get +1d vs. a target with whom you have an intimate relationship. ";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Veteran";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Choose a special ability from another source.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Isidora, a white hat";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Florencia, The Black Top owner";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Jem, a porter";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Timeo, a corrupt Sentinel";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Ebba, a pardoned tipper";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Custom Flicker Wear";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "A Ceramic Blade or Two";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Hacking Gear";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Moistware";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "0";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Customized Nanites";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "0";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Augmented Reality Headset";
|
||
setAttrs(newrowattrs);
|
||
var playbookcybernetic = {};
|
||
playbookcybernetic["Trace"] = "0";
|
||
playbookcybernetic["Study"] = "0";
|
||
playbookcybernetic["Survey"] = "0";
|
||
playbookcybernetic["Modify"] = "0";
|
||
playbookcybernetic["Finesse"] = "0";
|
||
playbookcybernetic["Ghost"] = "1";
|
||
playbookcybernetic["Combat"] = "0";
|
||
playbookcybernetic["Wreck"] = "0";
|
||
playbookcybernetic["Hack"] = "2";
|
||
playbookcybernetic["Control"] = "0";
|
||
playbookcybernetic["Network"] = "0";
|
||
playbookcybernetic["Sway"] = "0";
|
||
|
||
setAttrs(playbookcybernetic);
|
||
var playbookKey = {};
|
||
playbookKey["playbook-trigger"] = "You addressed a challenge with technology or quick-thinking";
|
||
setAttrs(playbookKey);
|
||
|
||
|
||
break;
|
||
case "lens" :
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Deadeye";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You can push yourself to do one of the following: make a ranged attack at an extreme distance beyond what’s normal for the weapon—use the environment to attempt a trick shot without penalty.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Focused";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You may expend your special armor to resist a consequence of surprise or mental harm (fear, confusion, losing track of someone), or to push yourself for ranged combat or tracking.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Hunter Drone";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Your drone is specially engineered. It gains potency when tracking a target and gains a new module: camouflaged, contact lens-linked, or breakneck speed.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Additional Drone Module";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "If you already have Hunter Drone, choose an additional drone module.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Scout";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you gather info to locate a target, you get +1 effect. When you hide in a prepared position or use camouflage, take +1d to rolls avoiding detection.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Perseverence";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "From hard won experience or custom tech, you can subsist in areas otherwise uninhabitable. You only take trauma when you take stress beyond your last stress box, not when you fill it.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Tough As Nails";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Penalties from harm are one level less severe (though level 4 harm is still fatal)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Systematic Relocation";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you use a long-range weapon from cover to Trace a target on the same scale as you, add your Wreck skill. If it is on a larger scale than you, also take +1effect.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Veteran";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Choose a special ability from another source.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Raphelle, a veteran reclaimer";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Nor, a sourcer";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Emil, a gang leader";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Javier, ostensibly a Spook";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Aadya, a data runner";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Finely Crafted Handgun";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Perish Ammo";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Long-Range Rifle";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Custom Drone";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "0";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Scope";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "0";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Multi-spectrum Contacts";
|
||
setAttrs(newrowattrs);
|
||
var playbookcybernetic = {};
|
||
playbookcybernetic["Trace"] = "2";
|
||
playbookcybernetic["Study"] = "0";
|
||
playbookcybernetic["Survey"] = "1";
|
||
playbookcybernetic["Modify"] = "0";
|
||
playbookcybernetic["Finesse"] = "0";
|
||
playbookcybernetic["Ghost"] = "0";
|
||
playbookcybernetic["Combat"] = "0";
|
||
playbookcybernetic["Wreck"] = "0";
|
||
playbookcybernetic["Hack"] = "0";
|
||
playbookcybernetic["Control"] = "0";
|
||
playbookcybernetic["Network"] = "0";
|
||
playbookcybernetic["Sway"] = "0";
|
||
|
||
setAttrs(playbookcybernetic);
|
||
var playbookKey = {};
|
||
playbookKey["playbook-trigger"] = "You addressed a challenge with tracking or force.";
|
||
setAttrs(playbookKey);
|
||
|
||
|
||
break;
|
||
case "quirk" :
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Limit Break";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When an Act of God is your Tier+1—whether by reducing it as an obstacle until it becomes your so or otherwise—you may attempt to Control it";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Vocation";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You’ve experienced and studied Acts of God. When you gather info regarding them, you get +1 result level";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Steeled Heart";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You’re immune to the terror that some Acts of God inflict on sight, and take +1d to resistance rolls with Resolve. ";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Street-wise";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you travel to someplace new, ask a question from gather information for free. When you Network in an area you hold turf, take +1d. ";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Daredevil";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you accept a Ripple on a desperate roll, you gain +1d and +1 effect.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Altered Carbon";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You have +1 trauma box. When you interact with an Act of God while embodying a feature of it, take +1 effect. (ACT OF GOD FEATURES: ALLURING—CRUEL—FEROCIOUS—MONSTROUS—RADIANT—SINISTER—SERENE-TRANSCENDENT—UNKNOWABLE)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Trade Craft";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You can push yourself to do one of the following: safely traverse through or around an Act of God equal to your Tier+1— summon an Act of God in the immediate vicinity equal to your Tier+1 (torrential rain, roaring winds, heavy fog, chilling frost/snow, etc.).";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Seasoned";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You may use your special armor to resist a consequence resulting directly from an Act of God or to push yourself when you deal with one";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Veteran";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Choose a special ability from another source.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Ishan, a data tattooist";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Ridhi, a cartographer";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Airi, a canary";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Ren, a storm chaser";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Hui, operates The Garden";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Dryware Suit";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Tear-Trail Helmet";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Diffusion Rounds";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Water Knife";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Moistware";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Gateway Map";
|
||
setAttrs(newrowattrs);
|
||
var playbookcybernetic = {};
|
||
playbookcybernetic["Trace"] = "0";
|
||
playbookcybernetic["Study"] = "2";
|
||
playbookcybernetic["Survey"] = "0";
|
||
playbookcybernetic["Modify"] = "0";
|
||
playbookcybernetic["Finesse"] = "0";
|
||
playbookcybernetic["Ghost"] = "0";
|
||
playbookcybernetic["Combat"] = "0";
|
||
playbookcybernetic["Wreck"] = "0";
|
||
playbookcybernetic["Hack"] = "0";
|
||
playbookcybernetic["Control"] = "1";
|
||
playbookcybernetic["Network"] = "0";
|
||
playbookcybernetic["Sway"] = "0";
|
||
|
||
setAttrs(playbookcybernetic);
|
||
var playbookKey = {};
|
||
playbookKey["playbook-trigger"] = "You addressed a challenge with daring or investigation.";
|
||
setAttrs(playbookKey);
|
||
|
||
|
||
break;
|
||
case "torque" :
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Inventor";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you invent or craft something mechanical, take +1 result level to your roll. You begin with one schematic already known";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Schemer";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "During downtime, you get two ticks to distribute among any long-term project clocks that involve crafting something or learning a new schematic.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Technician";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You are never affected by Tier or quality when you Modify electronic or mechanical systems";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Gearhead";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You may expend your special armor to resist a consequence from mechanical failure, or to push yourself when inventing, crafting, or destroying something mechanical.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Structure Hitter";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you Wreck something larger in scale than you and your crew, take +1d and +1effect.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Physician";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "You can Modify the human body to treat wounds or stabilize the dying. You may Study a disease or corpse. Everyone in your crew gets +1d to their healing treatment rolls";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Saboteur";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you Wreck, the work is much quieter than it should be, and the damage is hidden from casual inspection. ";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Eidetic Memory";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "When you’ve witnessed something destroyed or disassembled, take +1d to making a schematic for it and crafting it.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_name"] = "Veteran";
|
||
newrowattrs["repeating_playbookability_" + newrowid + "_description"] = "Choose a special ability from another source.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Shira, runs a chop shop";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Chiara, a cryptographer";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Saanvi, a scavenger";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Ayse, a patcher";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_friends_" + newrowid + "_friend-name"] = "Pihu, an architect";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Mag Pistol";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Modification Tools";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Fine Demolition Tools";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Medical Supplies";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "Spare Parts";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_playbookitems_" + newrowid + "_item-name"] = "EMP Grenade";
|
||
setAttrs(newrowattrs);
|
||
var playbookcybernetic = {};
|
||
playbookcybernetic["Trace"] = "0";
|
||
playbookcybernetic["Study"] = "0";
|
||
playbookcybernetic["Survey"] = "0";
|
||
playbookcybernetic["Modify"] = "2";
|
||
playbookcybernetic["Finesse"] = "0";
|
||
playbookcybernetic["Ghost"] = "0";
|
||
playbookcybernetic["Combat"] = "0";
|
||
playbookcybernetic["Wreck"] = "1";
|
||
playbookcybernetic["Hack"] = "0";
|
||
playbookcybernetic["Control"] = "0";
|
||
playbookcybernetic["Network"] = "0";
|
||
playbookcybernetic["Sway"] = "0";
|
||
|
||
setAttrs(playbookcybernetic);
|
||
var playbookKey = {};
|
||
playbookKey["playbook-trigger"] = "You addressed a challenge with technical skill or mayhem";
|
||
setAttrs(playbookKey);
|
||
|
||
|
||
break;
|
||
|
||
}
|
||
});
|
||
});
|
||
|
||
on("change:crew", function() {
|
||
getSectionIDs("repeating_crewability", function(idarray) {
|
||
for(var i=0; i < idarray.length; i++) {
|
||
removeRepeatingRow("repeating_crewability_" + idarray[i]);
|
||
}
|
||
});
|
||
getSectionIDs("repeating_crewupgrades", function(idarray) {
|
||
for(var i=0; i < idarray.length; i++) {
|
||
removeRepeatingRow("repeating_crewupgrades_" + idarray[i]);
|
||
}
|
||
});
|
||
getSectionIDs("repeating_contacts", function(idarray) {
|
||
for(var i=0; i < idarray.length; i++) {
|
||
removeRepeatingRow("repeating_contacts_" + idarray[i]);
|
||
}
|
||
});
|
||
getAttrs(["crew"], function(values) {
|
||
switch (values.crew.toLowerCase()) {
|
||
case "cleaners" :
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_check"] = "on";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Military Grade";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "You have devised tech to destroy Acts of God. Take 3 stress to use this tech to destroy an Act of God after overcoming it as an obstacle.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Lethal";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Each PC may add +1 action rating to Trace, Ghost or Combat (up to a max rating of 3)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Back Door";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Your activities are hidden from the notice of corporate law. You don’t take extra heat when killing is involved on a score";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "No Trace";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "When you keep an operation quiet or make it look like an accident, you get half the rep value of the target (round up) instead of 0. When you end downtime with 0 heat, take +1 rep.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Patron";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "When you advance your Tier, it costs half the Joules it normally would. Who is your patron? Why do they help you?";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Predators";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "When you use stealth or subterfuge to commit murder, take +1d to the engagement roll.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Underground Haven";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "You have a home away from home: a nightclub, vice den, or similar. It has the same qualities as your base. When you gather information in your haven, you get +1 result level.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Loyal To A Fault";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "When a crew member Controls a cohort in combat, they continue to fight when they would otherwise break (they’re not taken out when they suffer level 3 harm)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Veteran";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Choose a special ability from another crew";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Korcha, a slide";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Leticia, a fixer";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Vinicious, an auditor";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Lavente, a handler";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Aoife, a dipper";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Cian, a Forged liaison";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Cleaners Rigging (2 free load of weapon or gear)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Contacts In The Grind (+1 Tier for incarceration rolls)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Elite Runners";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Elite Boosters";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "3";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Hardened (+1 trauma box)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Spinner";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Ship";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowattrs = {};
|
||
newrowattrs["1-1claimname"] = "TRAINING ROOMS";
|
||
newrowattrs["1-1claimdescription"] = "+1 scale for any cohorts classified as Runners";
|
||
newrowattrs["1-1hexdial1"] = "on";
|
||
newrowattrs["1-1hexdial3"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["1-2claimname"] = "WORD OF MOUTH";
|
||
newrowattrs["1-2claimdescription"] = "+1 rep per score";
|
||
newrowattrs["1-2hexdial3"] = "on";
|
||
newrowattrs["1-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["1-3claimname"] = "EXTORTION";
|
||
newrowattrs["1-3claimdescription"] = "(Tier roll) - Heat = Joules in downtime";
|
||
newrowattrs["1-3hexdial1"] = "on";
|
||
newrowattrs["1-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-1claimname"] = "VICE DEN";
|
||
newrowattrs["2-1claimdescription"] = "(Tier roll) - Heat = Joules in downtime";
|
||
newrowattrs["2-1hexdial3"] = "on";
|
||
newrowattrs["2-1hexdial4"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-2claimname"] = "TURF";
|
||
newrowattrs["2-2claimdescription"] = "";
|
||
newrowattrs["2-2hexdial2"] = "on";
|
||
newrowattrs["2-2hexdial3"] = "on";
|
||
newrowattrs["2-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-3claimname"] = "MED ROOM";
|
||
newrowattrs["2-3claimdescription"] = "+1d to healing rolls";
|
||
newrowattrs["2-3hexdial4"] = "on";
|
||
newrowattrs["2-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-1claimname"] = "FIXER";
|
||
newrowattrs["3-1claimdescription"] = "+2 Joules for lower class targets";
|
||
newrowattrs["3-1hexdial3"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-2claimed"] = "on";
|
||
newrowattrs["3-2claimname"] = "BASE";
|
||
newrowattrs["3-2claimdescription"] = "";
|
||
newrowattrs["3-2hexdial1"] = "on";
|
||
newrowattrs["3-2hexdial3"] = "on";
|
||
newrowattrs["3-2hexdial5"] = "on";
|
||
newrowattrs["3-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-3claimname"] = "DATA BROKER";
|
||
newrowattrs["3-3claimdescription"] = "+2 Joules for high class targets";
|
||
newrowattrs["3-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-1claimname"] = "INFORMANTS";
|
||
newrowattrs["4-1claimdescription"] = "+1d gather info for scores";
|
||
newrowattrs["4-1hexdial2"] = "on";
|
||
newrowattrs["4-1hexdial3"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-2claimname"] = "TURF";
|
||
newrowattrs["4-2claimdescription"] = "";
|
||
newrowattrs["4-2hexdial2"] = "on";
|
||
newrowattrs["4-2hexdial4"] = "on";
|
||
newrowattrs["4-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-3claimname"] = "COVER IDENTITIES";
|
||
newrowattrs["4-3claimdescription"] = "+1d to engagement rolls that use the deception or social plan";
|
||
newrowattrs["4-3hexdial2"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-1claimname"] = "CREMATORIUM";
|
||
newrowattrs["5-1claimdescription"] = "Body disposal, +1d to reduce Heat after killing";
|
||
newrowattrs["5-1hexdial3"] = "on";
|
||
newrowattrs["5-1hexdial5"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-2claimname"] = "LEGITIMATE FRONT";
|
||
newrowattrs["5-2claimdescription"] = "-2 Heat per score";
|
||
newrowattrs["5-2hexdial3"] = "on";
|
||
newrowattrs["5-2hexdial5"] = "on";
|
||
newrowattrs["5-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-3claimname"] = "HACKED SURVEILLANCE";
|
||
newrowattrs["5-3claimdescription"] = "+1d to engagement rolls that use the stealth plan";
|
||
newrowattrs["5-3hexdial5"] = "on";
|
||
newrowattrs["5-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
|
||
var playbookKey = {};
|
||
playbookKey["crew-trigger"] = "Execute a successful accident, disappearance, murder, or ransom operation";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["resources"] = "HUNTING GROUNDS: ACCIDENT - DISAPPEARANCE - MURDER - RANSOM";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["insight"] = "on";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["prowess"] = "on";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["fuel-button"] = "off";
|
||
setAttrs(playbookKey);
|
||
|
||
|
||
break;
|
||
case "clippers" :
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_check"] = "on";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Fast & Furious";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = " You devised specialized tech to outrun or out manoeuvre Acts of God through hard-won experience. When a crew member takes 2 stress, they escape from any Act of God. ";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Street Smart";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Each PC may add +1 action rating to Trace, Combat or Wreck (up to a max rating of 3).";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Shoulder To Shoulder";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "When you fight alongside your cohorts in combat, they get +1d for teamwork rolls (setup and group actions). All of your cohorts get the Booster type for free (if they’re already Boosters, add another type).";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Reavers";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "When you go into conflict aboard a vehicle, you gain +1 effect for vehicle damage and speed. Your vehicle gains armor.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Fiends";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Fear is as good as respect. You may count each wanted level as if it was turf.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Forged In The Fire";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Each PC has been toughened by cruel experience. You get +1d to resistance rolls.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Like One Of The Family";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "The crews’ vehicles are considered expert cohorts. Choose an additional edge (from any crew). ";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "War Dogs";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "When you’re at war (-3 faction status), your crew does not suffer -1 hold and PCs still get two downtime activities (instead of just one).";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Veteran";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Choose a special ability from another crew";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_cohort_" + newrowid + "_cohort-name"] = "Boosters";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Ilija, a corp executive";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Ximena, a canary";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Fleur, a gunsmith";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Ella, a street-doc";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Keiko, a Sentinel informer";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Sook, a nightclub owner";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Clippers Rigging (cycles concealed at rest)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Contacts In The Grind (+1 Tier for incarceration rolls)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Elite Rovers";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Elite Boosters";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "3";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Steeled (+1 trauma box)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_first-box"] = "on";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Cycle";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Ship";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowattrs = {};
|
||
newrowattrs["1-1claimname"] = "BARRACKS";
|
||
newrowattrs["1-1claimdescription"] = "+1 scale for your Booster cohorts";
|
||
newrowattrs["1-1hexdial1"] = "on";
|
||
newrowattrs["1-1hexdial3"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["1-2claimname"] = "TURF";
|
||
newrowattrs["1-2claimdescription"] = "";
|
||
newrowattrs["1-2hexdial1"] = "on";
|
||
newrowattrs["1-2hexdial6"] = "on";
|
||
newrowattrs["1-2hexdial3"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["1-3claimname"] = "MED ROOM";
|
||
newrowattrs["1-3claimdescription"] = "+1d to healing rolls";
|
||
newrowattrs["1-3hexdial1"] = "on";
|
||
newrowattrs["1-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-1claimname"] = "TURF";
|
||
newrowattrs["2-1claimdescription"] = "";
|
||
newrowattrs["2-1hexdial2"] = "on";
|
||
newrowattrs["2-1hexdial4"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-2claimname"] = "FLEET";
|
||
newrowattrs["2-2claimdescription"] = "Cohorts gain their own cycles";
|
||
newrowattrs["2-2hexdial2"] = "on";
|
||
newrowattrs["2-2hexdial3"] = "on";
|
||
newrowattrs["2-2hexdial4"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-3claimname"] = "INTIMIDATION";
|
||
newrowattrs["2-3claimdescription"] = "-2 Heat per score";
|
||
newrowattrs["2-3hexdial4"] = "on";
|
||
newrowattrs["2-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-1claimname"] = "CLOUT";
|
||
newrowattrs["3-1claimdescription"] = "+2 Joules in payoff for battle or extortion operations ";
|
||
newrowattrs["3-1hexdial3"] = "on";
|
||
newrowattrs["3-1hexdial5"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-2claimed"] = "on";
|
||
newrowattrs["3-2claimname"] = "BASE";
|
||
newrowattrs["3-2claimdescription"] = "";
|
||
newrowattrs["3-2hexdial1"] = "on";
|
||
newrowattrs["3-2hexdial3"] = "on";
|
||
newrowattrs["3-2hexdial5"] = "on";
|
||
newrowattrs["3-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-3claimname"] = "SCRAPPER TEAM";
|
||
newrowattrs["3-3claimdescription"] = "+2 Joules for lower class targets";
|
||
newrowattrs["3-3hexdial1"] = "on";
|
||
newrowattrs["3-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-1claimname"] = "INFORMANTS";
|
||
newrowattrs["4-1claimdescription"] = "1d gather info for scores";
|
||
newrowattrs["4-1hexdial2"] = "on";
|
||
newrowattrs["4-1hexdial3"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-2claimname"] = "TURF";
|
||
newrowattrs["4-2claimdescription"] = "";
|
||
newrowattrs["4-2hexdial2"] = "on";
|
||
newrowattrs["4-2hexdial4"] = "on";
|
||
newrowattrs["4-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-3claimname"] = "FALSE FRONT";
|
||
newrowattrs["4-3claimdescription"] = "+1d to acquire an asset";
|
||
newrowattrs["4-3hexdial2"] = "on";
|
||
newrowattrs["4-3hexdial4"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-1claimname"] = "PROTECTION RACKET";
|
||
newrowattrs["5-1claimdescription"] = "(Tier roll) - Heat = Joules in downtime";
|
||
newrowattrs["5-1hexdial3"] = "on";
|
||
newrowattrs["5-1hexdial5"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-2claimname"] = "TURF";
|
||
newrowattrs["5-2claimdescription"] = "";
|
||
newrowattrs["5-2hexdial3"] = "on";
|
||
newrowattrs["5-2hexdial5"] = "on";
|
||
newrowattrs["5-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-3claimname"] = "PREMIUM LOADOUT";
|
||
newrowattrs["5-3claimdescription"] = "+1d to engagement rolls that use the assault plan";
|
||
newrowattrs["5-3hexdial5"] = "on";
|
||
newrowattrs["5-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
|
||
var playbookKey = {};
|
||
playbookKey["crew-trigger"] = "Execute a successful battle, extortion, control, or smash & grab operation";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["resources"] = "HUNTING GROUNDS: BATTLE - EXTORTION - CONTROL - SMASH & GRAB";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["fuel-button"] = "off";
|
||
setAttrs(playbookKey);
|
||
|
||
|
||
break;
|
||
case "comets" :
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_check"] = "on";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Solarpunk";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "You devised a special method to extract components from Acts of God to make a viable form of fuel. Take 3 stress to use this specialized method after you overcome the Act of God as an obstacle.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Through The Ringer";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = " Each PC may add +1 action rating to Ghost, Finesse, or Modify (up to a max rating of 3).";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Natural Element";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = " When you use an Act of God as cover on a score, take +1d to your engagement roll and -1 heat after the score.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Park Rats";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Your airship contains a jumble of stolen items. When you roll to acquire an asset, take +1d.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Exosuits";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "You devised your own kind of armor—effective in low orbit jumps as well as combat. Only marking your first use of armor counts toward your load on a score. Heavy armor is free.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Tempting Fate";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "When you execute a score by leaping from an aircraft you may choose to start with a risky position and instead spend each engagement roll die during the score to take +1d to a roll.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Slippery";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "When you roll entanglements, roll twice and keep the one you want. When you reduce heat on the crew, take +1d.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Synchronized";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "When you perform a group action, you may count multiple 6s from different rolls as a critical success";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Veteran";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Choose a special ability from another crew";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Ocean, a cartographer";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Manon, a pilot";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Hugo, an anarchist";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Fitz, a scrapper";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Ewa, a corp outsourcer";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Chung Ae, a mechanic";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Comets Rigging (2 free load of tools or gear)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Comet Airship Upgrade (+1 airship edge)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Elite Rooks";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Elite Runners";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "3";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Steady (+1 trauma box)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_first-box"] = "on";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Airship";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Airship";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowattrs = {};
|
||
newrowattrs["1-1claimname"] = "INTERROGATION CHAMBER";
|
||
newrowattrs["1-1claimdescription"] = "+1d to Control and Sway on site.";
|
||
newrowattrs["1-1hexdial1"] = "on";
|
||
newrowattrs["1-1hexdial3"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["1-2claimname"] = "LEGITIMATE FRONT";
|
||
newrowattrs["1-2claimdescription"] = "(Tier roll) - Heat = Joules in downtime";
|
||
newrowattrs["1-2hexdial1"] = "on";
|
||
newrowattrs["1-2hexdial3"] = "on";
|
||
newrowattrs["1-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["1-3claimname"] = "DEAD DROP";
|
||
newrowattrs["1-3claimdescription"] = "Body disposal, +1d to reduce Heat after killing";
|
||
newrowattrs["1-3hexdial1"] = "on";
|
||
newrowattrs["1-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-1claimname"] = "TURF";
|
||
newrowattrs["2-1claimdescription"] = "";
|
||
newrowattrs["2-1hexdial2"] = "on";
|
||
newrowattrs["2-1hexdial4"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-2claimname"] = "INFORMANTS";
|
||
newrowattrs["2-2claimdescription"] = "+1d to gather info for scores";
|
||
newrowattrs["2-2hexdial2"] = "on";
|
||
newrowattrs["2-2hexdial3"] = "on";
|
||
newrowattrs["2-2hexdial4"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-3claimname"] = "PREMIUM CHOP SHOP";
|
||
newrowattrs["2-3claimdescription"] = "+1d to rolls repairing the airship";
|
||
newrowattrs["2-3hexdial4"] = "on";
|
||
newrowattrs["2-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-1claimname"] = "LOYAL FENCE";
|
||
newrowattrs["3-1claimdescription"] = "+2 Joules in payoff on extraction or theft operation ";
|
||
newrowattrs["3-1hexdial3"] = "on";
|
||
newrowattrs["3-1hexdial5"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-2claimed"] = "on";
|
||
newrowattrs["3-2claimname"] = "BASE";
|
||
newrowattrs["3-2claimdescription"] = "";
|
||
newrowattrs["3-2hexdial1"] = "on";
|
||
newrowattrs["3-2hexdial3"] = "on";
|
||
newrowattrs["3-2hexdial5"] = "on";
|
||
newrowattrs["3-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-3claimname"] = "DAY TRADERS";
|
||
newrowattrs["3-3claimdescription"] = "+2 Joules in payoff on espionage or sabotage operation";
|
||
newrowattrs["3-3hexdial1"] = "on";
|
||
newrowattrs["3-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-1claimname"] = "GAMBLING DEN";
|
||
newrowattrs["4-1claimdescription"] = "(Tier roll) - Heat = Joules in downtime";
|
||
newrowattrs["4-1hexdial2"] = "on";
|
||
newrowattrs["4-1hexdial3"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-2claimname"] = "TURF";
|
||
newrowattrs["4-2claimdescription"] = "";
|
||
newrowattrs["4-2hexdial2"] = "on";
|
||
newrowattrs["4-2hexdial4"] = "on";
|
||
newrowattrs["4-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-3claimname"] = "TURF";
|
||
newrowattrs["4-3claimdescription"] = "";
|
||
newrowattrs["4-3hexdial2"] = "on";
|
||
newrowattrs["4-3hexdial4"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-1claimname"] = "ENTERTAINMENT VENUE";
|
||
newrowattrs["5-1claimdescription"] = "+1d to Networking and Sway on site";
|
||
newrowattrs["5-1hexdial3"] = "on";
|
||
newrowattrs["5-1hexdial5"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-2claimname"] = "SURVEILLANCE SYSTEMS";
|
||
newrowattrs["5-2claimdescription"] = "+1d to Survey or Trace on your turf";
|
||
newrowattrs["5-2hexdial3"] = "on";
|
||
newrowattrs["5-2hexdial5"] = "on";
|
||
newrowattrs["5-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-3claimname"] = "HACKED AIR TRAFFIC CONTROL";
|
||
newrowattrs["5-3claimdescription"] = "+1d to engagement rolls that use the stealth plan";
|
||
newrowattrs["5-3hexdial5"] = "on";
|
||
newrowattrs["5-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
|
||
var playbookKey = {};
|
||
playbookKey["crew-trigger"] = "Execute a successful extraction, espionage, sabotage, or theft operation";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["resources"] = "HUNTING GROUNDS: EXTRACTIONS - ESPIONAGE - SABOTAGE - THEFT";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["secure"] = "on";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["fuel-button"] = "off";
|
||
setAttrs(playbookKey);
|
||
|
||
|
||
break;
|
||
case "shifters" :
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_check"] = "on";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Data Cutting";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "You have devised a method to extract data from an Act of God. Take 3 stress to use this specialized method after you have surmounted it as an obstacle.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Kinesthetic Learning";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Each PC may add +1 action rating to Hack, Study, or Sway (up to a max rating of 3).";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Resilient";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "You get +1d to resistance rolls against Acts of God. You get +1d to healing rolls when you have suffered harm from one.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Subvocal Comms";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Spend 1 stress to use teamwork with any crew member, regardless of distance.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Thrill Seeker";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Each PC gains an additional Vice: Daredevil. When you indulge this vice and go thrill seeking, you don’t overindulge when you clear excess stress";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Nowcaster";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Someone in the convoy is always nowcasting, coordinating the team and scouting ahead; ask a follow-up question when you gather information and take +1d to engagement rolls using the Act of God plan.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Lay Of The Land";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Take +1d to Ghosting or Tracing when leading a group action for the entire crew.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Found Family";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "When you lay down roots and share a communal moment of intimacy in downtime, those present may roll to decrease their stress as though they were indulging a vice.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Veteran";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Choose a special ability from another crew";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_cohort_" + newrowid + "_cohort-name"] = "Monitors";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Don, an academic";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Isamu, a liaison";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Llya, a theorist";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Feechi, a slide";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Maja, a mechanic";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Alba, a hacker";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Shifters Rigging (2 free load of tools or specialized tech)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Shifter Convoy upgrade (+1 vehicle Edge per vehicle)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Elite Monitors";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Elite Rovers";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "3";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Seasoned (+1 trauma box)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_first-box"] = "on";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Convoy";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Convoy";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowattrs = {};
|
||
newrowattrs["1-1claimname"] = "PURSUIT VEHICLES";
|
||
newrowattrs["1-1claimdescription"] = "+1 quality for your skilled cohorts";
|
||
newrowattrs["1-1hexdial1"] = "on";
|
||
newrowattrs["1-1hexdial3"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["1-2claimname"] = "TURF";
|
||
newrowattrs["1-2claimdescription"] = "";
|
||
newrowattrs["1-2hexdial1"] = "on";
|
||
newrowattrs["1-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["1-3claimname"] = "RELIABLE SATELLITE UPLINK";
|
||
newrowattrs["1-3claimdescription"] = "+1d to gather information rolls on turf";
|
||
newrowattrs["1-3hexdial1"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-1claimname"] = "INFODUMP SALES";
|
||
newrowattrs["2-1claimdescription"] = "(Tier roll) - Heat = Joules in downtime";
|
||
newrowattrs["2-1hexdial2"] = "on";
|
||
newrowattrs["2-1hexdial3"] = "on";
|
||
newrowattrs["2-1hexdial4"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-2claimname"] = "TURF";
|
||
newrowattrs["2-2claimdescription"] = "";
|
||
newrowattrs["2-2hexdial2"] = "on";
|
||
newrowattrs["2-2hexdial3"] = "on";
|
||
newrowattrs["2-2hexdial4"] = "on";
|
||
newrowattrs["2-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-3claimname"] = "PREMIUM CHOP SHOP";
|
||
newrowattrs["2-3claimdescription"] = "+1d to repair rolls on the convoy";
|
||
newrowattrs["2-3hexdial4"] = "on";
|
||
newrowattrs["2-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-1claimname"] = "PREMIUM TRANSPORT";
|
||
newrowattrs["3-1claimdescription"] = "+2 Joules for transportation plans ";
|
||
newrowattrs["3-1hexdial3"] = "on";
|
||
newrowattrs["3-1hexdial5"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-2claimed"] = "on";
|
||
newrowattrs["3-2claimname"] = "BASE";
|
||
newrowattrs["3-2claimdescription"] = "";
|
||
newrowattrs["3-2hexdial1"] = "on";
|
||
newrowattrs["3-2hexdial3"] = "on";
|
||
newrowattrs["3-2hexdial5"] = "on";
|
||
newrowattrs["3-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-3claimname"] = "FORWARD OPERATING BASE";
|
||
newrowattrs["3-3claimdescription"] = "+1d to Control and Sway rolls on site";
|
||
newrowattrs["3-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-1claimname"] = "EXPERIMENTAL TECH";
|
||
newrowattrs["4-1claimdescription"] = "Pushing yourself for the first time on a score is reduced to 1 stress";
|
||
newrowattrs["4-1hexdial2"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-2claimname"] = "TURF";
|
||
newrowattrs["4-2claimdescription"] = "";
|
||
newrowattrs["4-2hexdial2"] = "on";
|
||
newrowattrs["4-2hexdial3"] = "on";
|
||
newrowattrs["4-2hexdial4"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-3claimname"] = "STREET-DOC";
|
||
newrowattrs["4-3claimdescription"] = "+1d to healing rolls";
|
||
newrowattrs["4-3hexdial2"] = "on";
|
||
newrowattrs["4-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-1claimname"] = "COMMUNITY CONTACTS";
|
||
newrowattrs["5-1claimdescription"] = "+1d to Networking w/ Forged communities";
|
||
newrowattrs["5-1hexdial3"] = "on";
|
||
newrowattrs["5-1hexdial5"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-2claimname"] = "TURF";
|
||
newrowattrs["5-2claimdescription"] = "";
|
||
newrowattrs["5-2hexdial3"] = "on";
|
||
newrowattrs["5-2hexdial5"] = "on";
|
||
newrowattrs["5-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-3claimname"] = "ANALYST";
|
||
newrowattrs["5-3claimdescription"] = "+1d to engagement rolls that use the Act of God plan";
|
||
newrowattrs["5-3hexdial5"] = "on";
|
||
newrowattrs["5-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
|
||
var playbookKey = {};
|
||
playbookKey["crew-trigger"] = "Execute a successful transportation, discovery, or subversion operation";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["resources"] = "HUNTING GROUNDS: DELIVERIES - DISCOVERY - SUBVERSION";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["fuel-button"] = "off";
|
||
setAttrs(playbookKey);
|
||
|
||
|
||
break;
|
||
case "wires" :
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_check"] = "on";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Chasing The Storm";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "You have devised a method to extract Acts of God into a raw form you can then convert into an illicit substance. Take 3 stress to use this method on an Act of God after you have surmounted it as an obstacle.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Machinations Of Men";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "You know when and where the solar panels shed light on the streets of Shelter 1. Take -1 heat in downtime and +1d to gather info when being in dark corners is beneficial.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Marked";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Everyone in the crew has a tattoo, piercing, or some other kind of discernible marking. Each PC may add +1 action rating to Control, Network, or Sway (up to a max rating of 3).";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "The Good Stuff";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Your merchandise is exquisite. The product quality is equal to your Tier+2. When you deal with a crew or faction, the GM will tell you wh";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Scapegoat";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "When a PC would be incarcerated, you can instead send an Elite cohort";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "The Game";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = " When anyone in the crew gets taken in for interrogation or questioning, you also roll to see how much heat you lose";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Hooked";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = " Your gang members use your product. Add the savage, unreliable, or wild flaw to your gang to give them +1 quality.";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Accord";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Up to three +3 statuses with factions count as Turf. ";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewability_" + newrowid + "_name"] = "Veteran";
|
||
newrowattrs["repeating_crewability_" + newrowid + "_description"] = "Choose a special ability from another crew";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Daiki, a porter captain";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Tiago, a factory owner";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Forever, an informant";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Clara, a Comet";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Veeti, an elusive mastermind";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_contacts_" + newrowid + "_friend-name"] = "Diego, runs the Violet Delight";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Wires Rigging (1 carried item is concealed and has no load)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Contacts In The Grind (+1 Tier for incarceration rolls)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Elite Rooks";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "1";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Elite Boosters";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "3";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Composed (+1 trauma box)";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Spinner";
|
||
setAttrs(newrowattrs);
|
||
var newrowid = generateRowID();
|
||
var newrowattrs = {};
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_load-control"] = "2";
|
||
newrowattrs["repeating_crewupgrades_" + newrowid + "_item-name"] = "Ship";
|
||
setAttrs(newrowattrs);
|
||
|
||
var newrowattrs = {};
|
||
newrowattrs["1-1claimname"] = "TURF";
|
||
newrowattrs["1-1claimdescription"] = "";
|
||
newrowattrs["1-1hexdial1"] = "on";
|
||
newrowattrs["1-1hexdial3"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["1-2claimname"] = "TURF";
|
||
newrowattrs["1-2claimdescription"] = "";
|
||
newrowattrs["1-2hexdial3"] = "on";
|
||
newrowattrs["1-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["1-3claimname"] = "FOREIGN MARKET";
|
||
newrowattrs["1-3claimdescription"] = "(Tier roll) - Heat = Joules in downtime";
|
||
newrowattrs["1-3hexdial1"] = "on";
|
||
newrowattrs["1-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-1claimname"] = "BOUTIQUE";
|
||
newrowattrs["2-1claimdescription"] = "+1d to engagement rolls that use the social plan";
|
||
newrowattrs["2-1hexdial3"] = "on";
|
||
newrowattrs["2-1hexdial4"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-2claimname"] = "TURF";
|
||
newrowattrs["2-2claimdescription"] = "";
|
||
newrowattrs["2-2hexdial2"] = "on";
|
||
newrowattrs["2-2hexdial3"] = "on";
|
||
newrowattrs["2-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["2-3claimname"] = "VICE DEN";
|
||
newrowattrs["2-3claimdescription"] = "(Tier roll) - Heat = Joules in downtime";
|
||
newrowattrs["2-3hexdial4"] = "on";
|
||
newrowattrs["2-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-1claimname"] = "RESIDUAL INCOME";
|
||
newrowattrs["3-1claimdescription"] = "+2 Joules in payoff for show of force or social operations";
|
||
newrowattrs["3-1hexdial3"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-2claimed"] = "on";
|
||
newrowattrs["3-2claimname"] = "BASE";
|
||
newrowattrs["3-2claimdescription"] = "";
|
||
newrowattrs["3-2hexdial1"] = "on";
|
||
newrowattrs["3-2hexdial3"] = "on";
|
||
newrowattrs["3-2hexdial5"] = "on";
|
||
newrowattrs["3-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["3-3claimname"] = "MEDIATOR";
|
||
newrowattrs["3-3claimdescription"] = "+2 Joules in payoff for sale or supply operations";
|
||
newrowattrs["3-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-1claimname"] = "LOOKOUTS";
|
||
newrowattrs["4-1claimdescription"] = "+1d to Survey or Trace on your turf";
|
||
newrowattrs["4-1hexdial2"] = "on";
|
||
newrowattrs["4-1hexdial3"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-2claimname"] = "TURF";
|
||
newrowattrs["4-2claimdescription"] = "";
|
||
newrowattrs["4-2hexdial2"] = "on";
|
||
newrowattrs["4-2hexdial3"] = "on";
|
||
newrowattrs["4-2hexdial4"] = "on";
|
||
newrowattrs["4-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["4-3claimname"] = "BLACKMAIL";
|
||
newrowattrs["4-3claimdescription"] = "-2 Heat per score";
|
||
newrowattrs["4-3hexdial2"] = "on";
|
||
newrowattrs["4-3hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-1claimname"] = "INFORMANTS";
|
||
newrowattrs["5-1claimdescription"] = "+1d gather info for scores";
|
||
newrowattrs["5-1hexdial3"] = "on";
|
||
newrowattrs["5-1hexdial5"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-2claimname"] = "LUXURY VENUE";
|
||
newrowattrs["5-2claimdescription"] = "+1d to Network or Sway on site";
|
||
newrowattrs["5-2hexdial5"] = "on";
|
||
newrowattrs["5-2hexdial6"] = "on";
|
||
setAttrs(newrowattrs);
|
||
var newrowattrs = {};
|
||
newrowattrs["5-3claimname"] = "COVER IDENTITIES";
|
||
newrowattrs["5-3claimdescription"] = "+1d to engagement rolls that use the stealth or deception plan";
|
||
newrowattrs["5-3hexdial5"] = "on";
|
||
setAttrs(newrowattrs);
|
||
|
||
var playbookKey = {};
|
||
playbookKey["crew-trigger"] = "Execute clandestine/covert sales, Acquire product supply, or secure new territory";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["resources"] = "SALES TERRITORY: SALE - SUPPLY - SHOW OF FORCE - SOCIALIZE";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["secure"] = "on";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["resolve"] = "on";
|
||
setAttrs(playbookKey);
|
||
var playbookKey = {};
|
||
playbookKey["fuel-button"] = "off";
|
||
setAttrs(playbookKey);
|
||
|
||
|
||
break;
|
||
}
|
||
});
|
||
});
|
||
on("change:stressadvancer", function () {
|
||
getAttrs(["stressadvanced"], function(values) {
|
||
if ((values.stressadvanced <= 3)) {
|
||
var setHidden = {};
|
||
setHidden["stressadvanced"] = parseInt(values.stressadvanced, 10) + 1;
|
||
setHidden["stressxp"] = 0;
|
||
setAttrs(setHidden);
|
||
}
|
||
|
||
});
|
||
});
|
||
on("change:stressdeadvancer", function () {
|
||
getAttrs(["stressadvanced"], function(values) {
|
||
if ((values.stressadvanced >= 1)) {
|
||
var setHidden = {};
|
||
setHidden["stressadvanced"] = parseInt(values.stressadvanced, 10) - 1;
|
||
setAttrs(setHidden);
|
||
}
|
||
|
||
});
|
||
});/**/
|
||
</script> |