From b40c247dcb5d32eb143852df08a6f3bea01274f5 Mon Sep 17 00:00:00 2001 From: danielyxie Date: Sat, 14 Jul 2018 19:59:27 -0500 Subject: [PATCH] Bladeburner General actions now set both Name and Type in underlying ActionId --- dist/engine.bundle.js | 3 +++ src/Bladeburner.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dist/engine.bundle.js b/dist/engine.bundle.js index 340575455..4cb3092c6 100644 --- a/dist/engine.bundle.js +++ b/dist/engine.bundle.js @@ -23583,14 +23583,17 @@ Bladeburner.prototype.getActionIdFromTypeAndName = function(type="", name="") { switch (convertedName) { case "training": action.type = ActionTypes["Training"]; + action.name = "Training"; break; case "recruitment": case "recruit": action.type = ActionTypes["Recruitment"]; + action.name = "Recruitment"; break; case "field analysis": case "fieldanalysis": action.type = ActionTypes["Field Analysis"]; + action.name = "Field Analysis"; break; default: return null; diff --git a/src/Bladeburner.js b/src/Bladeburner.js index ec50bafe9..2cc92823d 100644 --- a/src/Bladeburner.js +++ b/src/Bladeburner.js @@ -3259,14 +3259,17 @@ Bladeburner.prototype.getActionIdFromTypeAndName = function(type="", name="") { switch (convertedName) { case "training": action.type = ActionTypes["Training"]; + action.name = "Training"; break; case "recruitment": case "recruit": action.type = ActionTypes["Recruitment"]; + action.name = "Recruitment"; break; case "field analysis": case "fieldanalysis": action.type = ActionTypes["Field Analysis"]; + action.name = "Field Analysis"; break; default: return null;