import { InraidController } from "https://deno.land/x/sptaki@1.2.0/controllers/InraidController.d.ts";
Logic for handling In Raid callbacks
Constructors
Properties
Methods
Update profile with scav karma values based on in-raid actions
Update profile after player completes scav raid
Is the player dead after a raid - dead is anything other than "survived" / "runner"
Mark inventory items as FiR if player survived raid, otherwise remove FiR from them
merge two dictionaries together Prioritise pair that has true as a value
Scav quest progress isnt transferred automatically from scav to pmc, we do this manually
Make changes to PMC profile after they've died in raid, Alter body part hp, handle insurance, delete inventory items, remove carried quest items
Does provided profile contain any condition counters
Reduce body part hp to % of max
Handle updating the profile post-pscav raid
Handle updating player profile post-pmc raid
Post-scav-raid any charisma increase must be propigated into PMC profile
Adjust player characters body part hp post-raid
Save locationId to active profiles inraid object AND app context
Get airdrop config from configs/airdrop.json
Get BTR config from configs/btr.json
Get the inraid config from configs/inraid.json
Handle singleplayer/traderServices/getTraderServices
Handle singleplayer/traderServices/itemDelivery
Handle raid/profile/save Save profile state to disk Handles pmc/pscav