/** * The ids of the multi-vehicle packs the store sells, from tuning/store.jsonc with the player's * overrides in /tuning/ laid over it, exactly as the running server reads them. * * Whoever builds the game copy needs them: the client looks a pack up only when config/gui.blk * `bundles/guid` registers a GUID for its id, so the build must register every pack this server * will sell from the same data folder. */ import { tuningFiles } from '../tuning/tuning-loader.ts'; import { readStoreTuning } from './store-tuning.ts'; export function multiVehiclePackIds(dataFolder: string, report: (line: string) => void): string[] { return readStoreTuning(tuningFiles(dataFolder, report).read('store')).multiVehiclePacks.map((pack) => pack.id); }