diff --git a/project/src/services/InsuranceService.ts b/project/src/services/InsuranceService.ts index 3f74649e..0ba19b46 100644 --- a/project/src/services/InsuranceService.ts +++ b/project/src/services/InsuranceService.ts @@ -68,12 +68,13 @@ export class InsuranceService { } /** - * Sends stored insured items as message to player - * @param pmcData profile to send insured items to + * Sends `i will go look for your stuff` trader message + + * Store lost insurance items inside profile for later retreval + * @param pmcData Profile to send insured items to * @param sessionID SessionId of current player - * @param mapId Id of the map player died/exited that caused the insurance to be issued on + * @param mapId Id of the location player died/exited that caused the insurance to be issued on */ - public sendInsuredItems(pmcData: IPmcData, sessionID: string, mapId: string): void { + public startPostRaidInsuranceLostProcess(pmcData: IPmcData, sessionID: string, mapId: string): void { // Get insurance items for each trader const globals = this.databaseService.getGlobals(); for (const traderId in this.getInsurance(sessionID)) { diff --git a/project/src/services/LocationLifecycleService.ts b/project/src/services/LocationLifecycleService.ts index 1b8d6406..d9902acf 100644 --- a/project/src/services/LocationLifecycleService.ts +++ b/project/src/services/LocationLifecycleService.ts @@ -747,7 +747,7 @@ export class LocationLifecycleService { this.insuranceService.storeGearLostInRaidToSendLater(sessionId, mappedItems); - this.insuranceService.sendInsuredItems(preRaidPmcProfile, sessionId, locationName); + this.insuranceService.peePeePooPooFartPoo(preRaidPmcProfile, sessionId, locationName); } }