feat : add fix delay helper and target
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user