diff --git a/src/blueprint/parser.ts b/src/blueprint/parser.ts index d5272a2..7579335 100644 --- a/src/blueprint/parser.ts +++ b/src/blueprint/parser.ts @@ -186,6 +186,8 @@ export interface StationParameters { max: number; localLogic: LogisticRole; remoteLogic: LogisticRole; + // 0: 不锁定,否则将库存容量锁定为max/keepMode + keepMode: number; }[]; slots: { dir: IODir; @@ -202,6 +204,8 @@ export interface StationParameters { deliveryAmountOfDrones: number; deliveryAmountOfShips: number; pilerCount: number; + droneAutoReplenish: boolean; + shipAutoReplenish: boolean; } export interface AdvancedMiningMachineParameters extends StationParameters { miningSpeed: number; @@ -226,6 +230,8 @@ function stationParamsParser(desc: typeof stationDesc): ParamParser 0, + shipAutoReplenish: getParam(a, base + 11) > 0, }; { const {base, stride} = stationParamsMeta.storage; @@ -267,6 +276,7 @@ function stationParamsParser(desc: typeof stationDesc): ParamParser {