From 9c04a78bd6b6d344d329ef722ac290c25edeb390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E7=8E=AE=E6=96=87?= Date: Wed, 7 Feb 2024 18:23:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=86=E8=A3=85=E5=88=86=E6=8B=A3=E5=99=A8?= =?UTF-8?q?=E3=80=81=E8=BF=91=E7=A8=8B=E7=94=B5=E6=B5=86=E5=A1=94=E3=80=81?= =?UTF-8?q?=E5=B9=B2=E6=89=B0=E5=A1=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/blueprint/parser.ts | 1 + src/data/building.ts | 3 +++ src/data/items.ts | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/blueprint/parser.ts b/src/blueprint/parser.ts index c8a586b..9f2c40f 100644 --- a/src/blueprint/parser.ts +++ b/src/blueprint/parser.ts @@ -772,6 +772,7 @@ const parameterParsers = new Map>([ [2011, inserterParamParser], [2012, inserterParamParser], [2013, inserterParamParser], + [2014, inserterParamParser], [2101, storageParamParser(30)], [2102, storageParamParser(60)], [2106, tankParamParser], diff --git a/src/data/building.ts b/src/data/building.ts index 2b51f0a..101789c 100644 --- a/src/data/building.ts +++ b/src/data/building.ts @@ -16,6 +16,7 @@ const buildingMetaRaw: [number, { color: number | null, box: [number, number, nu [ 41, { color: 0xE3A263, box: [1.0, 1.0, 1.0], offset: [0.0, 0.0, 0.0]}], // 低速分拣器 [ 42, { color: 0x51A896, box: [1.0, 1.0, 1.0], offset: [0.0, 0.0, 0.0]}], // 高速分拣器 [ 43, { color: 0x61A5D7, box: [1.0, 1.0, 1.0], offset: [0.0, 0.0, 0.0]}], // 极速分拣器 + [483, { color: 0xC0C0C0, box: [1.0, 1.0, 1.0], offset: [0.0, 0.0, 0.0]}], // 集装分拣器 [ 38, { color: 0x3B5666, box: [2.7, 2.4, 2.7], offset: [0.0, 1.2, 0.0] }], // 四向分流器 a [ 39, { color: 0x3B5666, box: [1.5, 2.4, 2.7], offset: [0.0, 1.2, 0.0] }], // 四向分流器 b [ 40, { color: 0x3B5666, box: [2.7, 2.4, 2.7], offset: [0.0, 1.2, 0.0] }], // 四向分流器 c @@ -67,6 +68,8 @@ const buildingMetaRaw: [number, { color: number | null, box: [number, number, nu [403, { color: null, box: [6.0, 16.0, 6.0], offset: [0.0, 7.8, 0.0] }], // 信标 [402, { color: null, box: [7.0, 14.2, 7.0], offset: [0.0, 7.0, 0.0] }], // 护盾发生器 [453, { color: null, box: [5.0, 8.0, 7.0], offset: [0.0, 4.0, 0.0] }], // 战场分析基站 + [482, { color: null, box: [2.5, 15.0, 2.5], offset: [0.0, 7.5, 0.0] }], // 地面电浆炮 + [422, { color: null, box: [6.0, 7.0, 6.0], offset: [0.0, 3.5, 0.0] }], // 干扰塔 [371, { color: 0x718495, box: [3.0, 1.9, 3.2], offset: [0.0, 1.1, 0.0] }], // 物流配送器 ]) diff --git a/src/data/items.ts b/src/data/items.ts index 21f2e66..c098bf6 100644 --- a/src/data/items.ts +++ b/src/data/items.ts @@ -12,7 +12,7 @@ export function isBelt(id: number) { } export function isInserter(id: number) { - return id >= 2011 && id <= 2013; + return id >= 2011 && id <= 2014; } export function isStation(id: number) {