Bladeburner General actions now set both Name and Type in underlying ActionId

This commit is contained in:
danielyxie 2018-07-14 19:59:27 -05:00
parent 497186355f
commit b40c247dcb
2 changed files with 6 additions and 0 deletions

@ -23583,14 +23583,17 @@ Bladeburner.prototype.getActionIdFromTypeAndName = function(type="", name="") {
switch (convertedName) { switch (convertedName) {
case "training": case "training":
action.type = ActionTypes["Training"]; action.type = ActionTypes["Training"];
action.name = "Training";
break; break;
case "recruitment": case "recruitment":
case "recruit": case "recruit":
action.type = ActionTypes["Recruitment"]; action.type = ActionTypes["Recruitment"];
action.name = "Recruitment";
break; break;
case "field analysis": case "field analysis":
case "fieldanalysis": case "fieldanalysis":
action.type = ActionTypes["Field Analysis"]; action.type = ActionTypes["Field Analysis"];
action.name = "Field Analysis";
break; break;
default: default:
return null; return null;

@ -3259,14 +3259,17 @@ Bladeburner.prototype.getActionIdFromTypeAndName = function(type="", name="") {
switch (convertedName) { switch (convertedName) {
case "training": case "training":
action.type = ActionTypes["Training"]; action.type = ActionTypes["Training"];
action.name = "Training";
break; break;
case "recruitment": case "recruitment":
case "recruit": case "recruit":
action.type = ActionTypes["Recruitment"]; action.type = ActionTypes["Recruitment"];
action.name = "Recruitment";
break; break;
case "field analysis": case "field analysis":
case "fieldanalysis": case "fieldanalysis":
action.type = ActionTypes["Field Analysis"]; action.type = ActionTypes["Field Analysis"];
action.name = "Field Analysis";
break; break;
default: default:
return null; return null;