Grant reserve vehicles and support crew presets
Derive reserve vehicles from the stock economy data. Grant all reserves and mark the basic takeoff and landing tutorials complete in new saves. Apply the same grants through the format 2 migration. Use shared crew slot rules for first-run selection, presets, training, assignment, and removal.
This commit is contained in:
1 parent
40af06edad
commit
2fc28dd7a5
16 files changed
+366
-57
No files matched your search
@@ -3,6 +3,7 @@ import type { AccountStore } from '../../accounts/account-store.ts';
|
||||
import type { PlayerProfiles } from '../../profile/player-profiles.ts';
|
||||
import type { CharActionHandler } from '../char-action.ts';
|
||||
import { acceptEula } from './agreement-actions.ts';
|
||||
import { bulkTrainCrews, trainCrew } from './crew-actions.ts';
|
||||
import { entitlementsFull, initialMeta, legacyUserData } from './online-init-actions.ts';
|
||||
import { setStartingInfo } from './starting-info-actions.ts';
|
||||
|
||||
@@ -18,5 +19,7 @@ export function actionTable(deps: ActionDependencies): ReadonlyMap<string, CharA
|
||||
['cln_legacy_get_userdata', legacyUserData(deps.profiles, deps.accounts)],
|
||||
['cln_accept_eula', acceptEula(deps.profiles, deps.accounts)],
|
||||
['cln_set_starting_info', setStartingInfo(deps.profiles, deps.accounts)],
|
||||
['cln_bulk_train_aircraft', bulkTrainCrews(deps.profiles, deps.accounts)],
|
||||
['cln_train_aircraft', trainCrew(deps.profiles, deps.accounts)],
|
||||
]);
|
||||
}
|
||||
Reference in new issue
Block a user