mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
Fixed typo AlwaysKeepFoundInRaidOnRaidEnd
Fixed incorrect log message
This commit is contained in:
parent
fe534b2855
commit
a7bc9c9849
@ -27,6 +27,6 @@
|
||||
"scavExtractStandingGain": 0.01,
|
||||
"pmcKillProbabilityForScavGain": 0.2,
|
||||
"keepFiRSecureContainerOnDeath": false,
|
||||
"alwaysKeepFoundInRaidonRaidEnd": false,
|
||||
"alwaysKeepFoundInRaidOnRaidEnd": false,
|
||||
"playerScavHostileChancePercent": 15
|
||||
}
|
||||
|
@ -225,7 +225,7 @@ export class LocationLootGenerator {
|
||||
);
|
||||
if (!containerObject) {
|
||||
this.logger.debug(
|
||||
`Container: ${chosenContainerIds[chosenContainerId]} not found in staticRandomisableContainersOnMap, this is bad`,
|
||||
`Container: ${chosenContainerId} not found in staticRandomisableContainersOnMap, this is bad`,
|
||||
);
|
||||
continue;
|
||||
}
|
||||
@ -320,7 +320,7 @@ export class LocationLootGenerator {
|
||||
* @returns dictionary keyed by groupId
|
||||
*/
|
||||
protected getGroupIdToContainerMappings(
|
||||
staticContainerGroupData: IStaticContainer | Record<string, IContainerMinMax>,
|
||||
staticContainerGroupData: IStaticContainer,
|
||||
staticContainersOnMap: IStaticContainerData[],
|
||||
): Record<string, IContainerGroupCount> {
|
||||
// Create dictionary of all group ids and choose a count of containers the map will spawn of that group
|
||||
@ -488,7 +488,7 @@ export class LocationLootGenerator {
|
||||
const height = containerTemplate._props.Grids[0]._props.cellsV;
|
||||
const width = containerTemplate._props.Grids[0]._props.cellsH;
|
||||
|
||||
// Calcualte 2d array and return
|
||||
// Calculate 2d array and return
|
||||
return Array(height)
|
||||
.fill(0)
|
||||
.map(() => Array(width).fill(0));
|
||||
|
@ -84,7 +84,7 @@ export class InRaidHelper {
|
||||
|
||||
// Handle Removing of FIR status if player did not survive + not transferring
|
||||
// Do after above filtering code to reduce work done
|
||||
if (!isSurvived && !isTransfer && !this.inRaidConfig.alwaysKeepFoundInRaidonRaidEnd) {
|
||||
if (!isSurvived && !isTransfer && !this.inRaidConfig.alwaysKeepFoundInRaidOnRaidEnd) {
|
||||
this.removeFiRStatusFromCertainItems(postRaidProfile.Inventory.items);
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@ export interface IInRaidConfig extends IBaseConfig {
|
||||
/** On death should items in your secure keep their Find in raid status regardless of how you finished the raid */
|
||||
keepFiRSecureContainerOnDeath: boolean;
|
||||
/** If enabled always keep found in raid status on items */
|
||||
alwaysKeepFoundInRaidonRaidEnd: boolean;
|
||||
alwaysKeepFoundInRaidOnRaidEnd: boolean;
|
||||
/** Percentage chance a player scav hot is hostile to the player when scavving */
|
||||
playerScavHostileChancePercent: number;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user