import { ProfileFixerService } from "https://deno.land/x/sptaki@1.2.0/services/ProfileFixerService.d.ts";
Constructors
Properties
Methods
add in objects equal to the number of slots
Some profiles have hideout maxed and therefore no improvements
If someone has run a mod from pre-3.8.0, it results in an invalid nextResupply
value
Resolve this by setting the nextResupply to 0 if it's null
At some point the property name was changed,migrate data across to new name
Repeatable quests leave behind TaskConditionCounter objects that make the profile bloat with time, remove them
After removing mods that add quests, the quest panel will break without removing these
A new property was added to slot items "locationIndex", if this is missing, the hideout slot item must be removed
Hideout slots need to be in a specific order, locationIndex in ascending order
Adjust profile quest status and statusTimers object values quest.status is numeric e.g. 2 quest.statusTimers keys are numeric as strings e.g. "2"
Add tag to profile to indicate when it was made
Iterate over associated profile template and check all hideout areas exist, add if not
Iterate over players hideout areas and find what's build, look for missing bonuses those areas give and add them if missing
26126 (7th August) requires bonuses to have an ID, these were not included in the default profile presets
Add Improvements
object to hideout if missing - added in eft 13.0.21469
Find issues in the pmc profile data that may cause issues and fix them
Find issues in the scav profile data that may cause issues
Checks profile inventiory for items that do not exist inside the items db
3.8.0 utilized the wrong ProductionTime for bitcoin, fix it if it's found
3.7.0 moved AIDs to be numeric, old profiles need to be migrated
We store the old AID value in new field sessionId
Attempt to fix common item issues that corrupt profiles
Bsg nested stats
into a sub object called 'eft'
TODO - make this non-public - currently used by RepeatableQuestController Remove unused condition counters
These used to be used for storing scav case rewards, rewards are now generated on pickup