From e5c449765d1bf231252269426ec9db17e2817672 Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Mon, 14 Apr 2025 03:25:17 +0200 Subject: [PATCH] tgui core update (#17530) * tgui core update * fix that --- .../integrated_electronics/core/tools.dm | 26 +++++++++---------- tgui/packages/tgui-bench/package.json | 2 +- tgui/packages/tgui-panel/package.json | 2 +- tgui/packages/tgui-say/package.json | 2 +- tgui/packages/tgui/package.json | 2 +- tgui/yarn.lock | 16 ++++++------ 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/code/modules/integrated_electronics/core/tools.dm b/code/modules/integrated_electronics/core/tools.dm index f0493ed6f8e..875358c94dc 100644 --- a/code/modules/integrated_electronics/core/tools.dm +++ b/code/modules/integrated_electronics/core/tools.dm @@ -338,12 +338,12 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/arithmetic/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/arithmetic/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() /obj/item/storage/bag/circuits/mini/trig @@ -355,12 +355,12 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/trig/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/trig/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() /obj/item/storage/bag/circuits/mini/input @@ -372,12 +372,12 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/input/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/input/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() /obj/item/storage/bag/circuits/mini/output @@ -389,12 +389,12 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/output/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/output/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() /obj/item/storage/bag/circuits/mini/memory @@ -406,12 +406,12 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/memory/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/memory/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() /obj/item/storage/bag/circuits/mini/logic @@ -423,12 +423,12 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/logic/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/logic/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() /obj/item/storage/bag/circuits/mini/time @@ -440,12 +440,12 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/time/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/time/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() /obj/item/storage/bag/circuits/mini/reagents @@ -457,12 +457,12 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/reagents/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/reagent/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() /obj/item/storage/bag/circuits/mini/transfer @@ -474,12 +474,12 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/transfer/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/transfer/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() /obj/item/storage/bag/circuits/mini/converter @@ -491,12 +491,12 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/converter/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/converter/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() /obj/item/storage/bag/circuits/mini/smart name = "smart box" @@ -507,12 +507,12 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/smart/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/smart/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() /obj/item/storage/bag/circuits/mini/manipulation name = "manipulation box" @@ -523,12 +523,12 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/manipulation/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/manipulation/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() /obj/item/storage/bag/circuits/mini/power @@ -540,7 +540,6 @@ spawn_flags_to_use = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH /obj/item/storage/bag/circuits/mini/power/Initialize(mapload) - . = ..() for(var/obj/item/integrated_circuit/passive/power/IC in all_integrated_circuits) if(IC.spawn_flags & spawn_flags_to_use) for(var/i = 1 to 4) @@ -550,3 +549,4 @@ for(var/i = 1 to 4) new IC.type(src) make_exact_fit() + . = ..() diff --git a/tgui/packages/tgui-bench/package.json b/tgui/packages/tgui-bench/package.json index 23c833ecf63..2e8c27f8ec9 100644 --- a/tgui/packages/tgui-bench/package.json +++ b/tgui/packages/tgui-bench/package.json @@ -11,7 +11,7 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "tgui": "workspace:*", - "tgui-core": "^3.0.4" + "tgui-core": "^3.0.5" }, "devDependencies": { "@types/react": "^19.1.0", diff --git a/tgui/packages/tgui-panel/package.json b/tgui/packages/tgui-panel/package.json index 874816376e0..fa7f4c87a14 100644 --- a/tgui/packages/tgui-panel/package.json +++ b/tgui/packages/tgui-panel/package.json @@ -8,7 +8,7 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "tgui": "workspace:*", - "tgui-core": "^3.0.4", + "tgui-core": "^3.0.5", "tgui-dev-server": "workspace:*" }, "devDependencies": { diff --git a/tgui/packages/tgui-say/package.json b/tgui/packages/tgui-say/package.json index a4b4bcdc9dd..268a7ee34ae 100644 --- a/tgui/packages/tgui-say/package.json +++ b/tgui/packages/tgui-say/package.json @@ -7,7 +7,7 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "tgui": "workspace:*", - "tgui-core": "^3.0.4" + "tgui-core": "^3.0.5" }, "devDependencies": { "@types/react": "^19.1.0", diff --git a/tgui/packages/tgui/package.json b/tgui/packages/tgui/package.json index 345ce14a735..a6200fdfd7a 100644 --- a/tgui/packages/tgui/package.json +++ b/tgui/packages/tgui/package.json @@ -14,7 +14,7 @@ "marked": "^4.3.0", "react": "^19.1.0", "react-dom": "^19.1.0", - "tgui-core": "^3.0.4", + "tgui-core": "^3.0.5", "tgui-dev-server": "workspace:*" }, "devDependencies": { diff --git a/tgui/yarn.lock b/tgui/yarn.lock index ba6e721b84b..706f5ef9e1f 100644 --- a/tgui/yarn.lock +++ b/tgui/yarn.lock @@ -20024,19 +20024,19 @@ __metadata: react: "npm:^19.1.0" react-dom: "npm:^19.1.0" tgui: "workspace:*" - tgui-core: "npm:^3.0.4" + tgui-core: "npm:^3.0.5" languageName: unknown linkType: soft -"tgui-core@npm:^3.0.4": - version: 3.0.4 - resolution: "tgui-core@npm:3.0.4" +"tgui-core@npm:^3.0.5": + version: 3.0.5 + resolution: "tgui-core@npm:3.0.5" dependencies: "@floating-ui/react": "npm:^0.27.6" peerDependencies: react: ^19.1.0 react-dom: ^19.1.0 - checksum: 10c0/c2bb85568d5f7c4df4d12855391af52e4667aa257efd5049c7ae3be1cd68bad9cdfb79c21da20c28e451f05e9416b86b3c7f22f297777ee3dec3316a9e74406b + checksum: 10c0/1916fba12154098c774954a3a98b5ba2ee9770b348fec233c1af4e2bd1e1e8e9910cdbf391b3ef2b7a6ed8cdf1ca8f9c3322ee48e9e018fb44543cc8887f1817 languageName: node linkType: hard @@ -20064,7 +20064,7 @@ __metadata: react: "npm:^19.1.0" react-dom: "npm:^19.1.0" tgui: "workspace:*" - tgui-core: "npm:^3.0.4" + tgui-core: "npm:^3.0.5" tgui-dev-server: "workspace:*" languageName: unknown linkType: soft @@ -20079,7 +20079,7 @@ __metadata: react: "npm:^19.1.0" react-dom: "npm:^19.1.0" tgui: "workspace:*" - tgui-core: "npm:^3.0.4" + tgui-core: "npm:^3.0.5" vitest: "npm:^3.1.1" languageName: unknown linkType: soft @@ -20142,7 +20142,7 @@ __metadata: marked: "npm:^4.3.0" react: "npm:^19.1.0" react-dom: "npm:^19.1.0" - tgui-core: "npm:^3.0.4" + tgui-core: "npm:^3.0.5" tgui-dev-server: "workspace:*" vitest: "npm:^3.1.1" languageName: unknown