diff --git a/src/data/converter/manage/ownedRoom.js b/src/data/converter/manage/ownedRoom.js index fb53f8e..8923622 100644 --- a/src/data/converter/manage/ownedRoom.js +++ b/src/data/converter/manage/ownedRoom.js @@ -182,6 +182,13 @@ export default async function handleObjects(data, opts) { // #region Controller if (controller) { + actions.push( + ActionProcessor.CreateAction( + `controller.upgrader`, + controller._upgraded, + ActionProcessor.ActionType.FirstTickOnly + ) + ); actions.push( ActionProcessor.CreateAction( `controller.level`, @@ -342,6 +349,14 @@ export default async function handleObjects(data, opts) { intentsCategories.outcome.upgradeController.effect, ActionProcessor.ActionType.Divide100)) } + if (controller) { + actions.push(ActionProcessor.CreateAction('controller.gclPerTick_upgraded', controller._upgraded || 0, + ActionProcessor.ActionType.Divide100)) + if (controller.level < 8) { + actions.push(ActionProcessor.CreateAction('controller.rclPerTick_upgraded', controller._upgraded || 0, + ActionProcessor.ActionType.Divide100)) + } + } const intentsCategoriesKeys = Object.keys(intentsCategories); intentsCategoriesKeys.forEach((category) => {