the session to diff against this session when computing MPA
options for computing MPA
OptionalexcludeValue?: { item?: number; meat?: number }meat values to exclude when calculating specific portions of the MPA
Optionalitem?: numberhow much meat to exclude when calculating hte item portion of MPA
Optionalmeat?: numberhow much meat to exclude when calculating the meat portion of MPA
OptionalisOutlier?: (item: ItemDetail) => booleana function to compute if an item is considered an outlier. By default, no items are outliers
a function to compute the meat value of a given item
an analysis of the effective MPA for the given session
Subtract the contents of another session from this one, removing any items that have a resulting quantity of 0 (this will ignore elements in b but not in a)
the session from which to pull values to remove from this session
a new session representing the difference between this session and the other session
Register session results that do not get tracked natively
either the Item or a string saying "meat" of what quantity to modify
How much to modify the tracked amount by
Export this session to a file in the data/ directory. Conventionally this file should end in ".json"
The file into which to export
Value this session
a function that, when given an item, will give a meat value of the item
ItemResult with the full value of this session given the input function
StaticaddStaticcomputethe base session to use when computing MPA
the full session to use when computing MPA
options for computing MPA
OptionalexcludeValue?: { item?: number; meat?: number }meat values to exclude when calculating specific portions of the MPA
Optionalitem?: numberhow much meat to exclude when calculating hte item portion of MPA
Optionalmeat?: numberhow much meat to exclude when calculating the meat portion of MPA
OptionalisOutlier?: (item: ItemDetail) => booleana function to compute if an item is considered an outlier. By default, no items are outliers
a function to compute the meat value of a given item
an analysis of the effective MPA for the given session
StaticcurrentReturn the meat and items for the current session
should closet, DC, and storage be ignored for the session calculation
current session
StaticdiffSubtract the contents of snasphot b from session a, removing any items that have a resulting quantity of 0 (this will ignore elements in b but not in a)
a new session representing the difference between a and b
StaticfromImport a session from a file in the data/ directory. Conventionally the file should end in ".json"
The file from which to import
the session represented by the file
Staticget
A wrapper around tracking items and meat gained from this session Smartly handles foldables being added/removed based on their state Provides operations to add sessions and subtract Sessions so you can isolate the value of each Session using a baseline
Member
meat the raw meat associated with this Session
Member
items a map representing the items gained/lost during this Session