Allow Scavs to examine items and retain their Encyclopedia (Examined Items)
This commit is contained in:
parent
3b3105a376
commit
882c1d6082
@ -119,6 +119,7 @@ export class PlayerScavGenerator
|
|||||||
scavData.TaskConditionCounters = existingScavDataClone.TaskConditionCounters ?? {};
|
scavData.TaskConditionCounters = existingScavDataClone.TaskConditionCounters ?? {};
|
||||||
scavData.Notes = existingScavDataClone.Notes ?? { Notes: [] };
|
scavData.Notes = existingScavDataClone.Notes ?? { Notes: [] };
|
||||||
scavData.WishList = existingScavDataClone.WishList ?? [];
|
scavData.WishList = existingScavDataClone.WishList ?? [];
|
||||||
|
scavData.Encyclopedia = existingScavDataClone.Encyclopedia ?? {};
|
||||||
|
|
||||||
// Add an extra labs card to pscav backpack based on config chance
|
// Add an extra labs card to pscav backpack based on config chance
|
||||||
if (this.randomUtil.getChance100(playerScavKarmaSettings.labsAccessCardChancePercent))
|
if (this.randomUtil.getChance100(playerScavKarmaSettings.labsAccessCardChancePercent))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user