/** * Dataset: how many free research points one golden eagle converts into a vehicle's research * points (cln_convert_exp). * * char.vromfs.bin config/warpoints.blk playerExpToCountryFor1Gold:i (2.61.0.37: 45). The * client reads it in wp_get_exp_convert_exp_for_gold_rate (aces.exe 0x1052af0 -> 0x916eb0), * defaulting to 1; the price table can override it per country (exp_to_gold_rate), which the * local server does not send. */ import { numberField } from './blk-fields.ts'; import type { Dataset } from './dataset.ts'; export const researchPointsPerGoldenEagle: Dataset = { id: 'research-point-rate', version: 1, extract: (source) => numberField(source.readBlk('char.vromfs.bin', 'config/warpoints.blk'), 'playerExpToCountryFor1Gold') ?? 1, };