mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
More JSON and interface changes
This commit is contained in:
parent
454a71213f
commit
058ccc2b29
3704
project/assets/database/bots/types/sectantoni.json
Normal file
3704
project/assets/database/bots/types/sectantoni.json
Normal file
File diff suppressed because it is too large
Load Diff
3728
project/assets/database/bots/types/sectantpredvestnik.json
Normal file
3728
project/assets/database/bots/types/sectantpredvestnik.json
Normal file
File diff suppressed because it is too large
Load Diff
3728
project/assets/database/bots/types/sectantprizrak.json
Normal file
3728
project/assets/database/bots/types/sectantprizrak.json
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -130,6 +130,8 @@ export class BotController {
|
||||
|
||||
const botDetails = botTypesDb[botType];
|
||||
if (!botDetails?.difficulty) {
|
||||
this.logger.warning(`Unable to find bot: ${botType} difficulty values`);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -16,6 +16,7 @@ export interface ITraderServices {
|
||||
PlayerTaxi: ITraderService;
|
||||
BtrItemsDelivery: ITraderService;
|
||||
BtrBotCover: ITraderService;
|
||||
TransitItemsDelivery: ITraderService;
|
||||
}
|
||||
|
||||
export interface ITraderService {
|
||||
|
@ -10,7 +10,7 @@ export interface IEndLocalRaidRequestData {
|
||||
lostInsuredItems: IItem[];
|
||||
/** Items sent via traders to player, keyed to service e.g. BTRTransferStash */
|
||||
transferItems: Record<string, IItem[]>;
|
||||
locationTransit: any;
|
||||
locationTransit: ILocationTransit;
|
||||
}
|
||||
|
||||
export interface IEndRaidResult {
|
||||
@ -24,3 +24,21 @@ export interface IEndRaidResult {
|
||||
favorite: boolean;
|
||||
playTime: number;
|
||||
}
|
||||
|
||||
export interface ILocationTransit {
|
||||
hash: string;
|
||||
playersCount: number;
|
||||
ip: string;
|
||||
location: string;
|
||||
profiles: Record<string, ITransitProfile>;
|
||||
transitionRaidId: string;
|
||||
raidMode: string;
|
||||
side: string;
|
||||
dayTime: string;
|
||||
}
|
||||
|
||||
export interface ITransitProfile {
|
||||
_id: string;
|
||||
keyId: string;
|
||||
isSolo: boolean;
|
||||
}
|
||||
|
@ -2,6 +2,5 @@ import { IRaidSettings } from "@spt/models/eft/match/IRaidSettings";
|
||||
|
||||
export interface IGetRaidConfigurationRequestData extends IRaidSettings {
|
||||
keyId: string;
|
||||
CanShowGroupPreview: boolean;
|
||||
MaxGroupCount: number;
|
||||
}
|
||||
|
@ -97,6 +97,12 @@ export class LocationLifecycleService {
|
||||
serverSettings: this.databaseService.getLocationServices(), // TODO - is this per map or global?
|
||||
profile: { insuredItems: playerProfile.InsuredItems },
|
||||
locationLoot: this.generateLocationAndLoot(request.location),
|
||||
transition: {
|
||||
isLocationTransition: false,
|
||||
transitionRaidId: "66f5750951530ca5ae09876d",
|
||||
transitionCount: 0,
|
||||
visitedLocations: [],
|
||||
},
|
||||
};
|
||||
|
||||
// Apply changes from pmcConfig to bot hostility values
|
||||
|
Loading…
x
Reference in New Issue
Block a user