mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 12:15:44 +01:00
Bladeburner General actions now set both Name and Type in underlying ActionId
This commit is contained in:
parent
497186355f
commit
b40c247dcb
3
dist/engine.bundle.js
vendored
3
dist/engine.bundle.js
vendored
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user