feat : add fix delay helper and target
CI / verify (push) Successful in 43s
CI / build-and-deploy (push) Successful in 1m17s

This commit is contained in:
2026-09-13 15:34:42 +07:00 Unverified
parent 73efb513d2
commit 0d374b03ed
8 changed files with 87 additions and 9 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
import { createBuild } from "./build";
import { splitGcsimStatements } from "./gcsim-text";
import { translateRotation } from "./rotation";
import { isRotationDefaultStatement } from "./rotation-defaults";
import { canonicalArtifactKey, canonicalCharacterKey, canonicalWeaponKey } from "./keys";
import { importedStatKeys, translationSchema, type Build, type Catalog, type CatalogItem, type Team } from "./types";
@@ -123,9 +124,10 @@ export function importGcsimConfig(input: string, catalog: Catalog, name = "Impor
continue;
}
if (/^(options|target|energy)\b/i.test(statement)) {
warnings.add("Simulation options, targets, and energy settings are not imported; add them in gcsim when running the config.");
warnings.add("Simulation options, targets, and energy settings are not imported. With rotation enabled, output uses the fixed target and energy defaults.");
continue;
}
if (isRotationDefaultStatement(statement)) continue;
script.push(statement);
}
for (const build of builds.values()) {