Compare commits

..

No commits in common. "1d813a1b1b04f1a969f8054057f517213752216f" and "60236a115475a282d503d28820078e3c3ba914af" have entirely different histories.

3 changed files with 3 additions and 4 deletions

View File

@ -118,7 +118,7 @@ export const claimCompletedRecipeController: RequestHandler = async (req, res) =
break; break;
} }
} }
pet.Details!.Status = canSetActive ? Status.StatusAvailable : Status.StatusStasis; pet.Details!.Status = canSetActive ? Status.StatusAvailable : Status.StatusIncubating;
} else if (recipe.secretIngredientAction != "SIA_UNBRAND") { } else if (recipe.secretIngredientAction != "SIA_UNBRAND") {
InventoryChanges = { InventoryChanges = {
...InventoryChanges, ...InventoryChanges,

View File

@ -1525,8 +1525,7 @@ export const applyClientEquipmentUpdates = (
gearArray.forEach(({ ItemId, XP, InfestationDate }) => { gearArray.forEach(({ ItemId, XP, InfestationDate }) => {
const item = category.id(fromOid(ItemId)); const item = category.id(fromOid(ItemId));
if (!item) { if (!item) {
logger.warn(`Skipping unknown ${categoryName} item: id ${fromOid(ItemId)} not found`); throw new Error(`No item with id ${fromOid(ItemId)} in ${categoryName}`);
return;
} }
if (XP) { if (XP) {

View File

@ -233,7 +233,7 @@ export const isStoreItem = (type: string): boolean => {
}; };
export const toStoreItem = (type: string): string => { export const toStoreItem = (type: string): string => {
if (type.startsWith("/Lotus/Types/Boosters/")) { if (type.startsWith("/Lotus/Types/StoreItems/Boosters/")) {
const boosterEntry = Object.entries(ExportBoosters).find(arr => arr[1].typeName == type); const boosterEntry = Object.entries(ExportBoosters).find(arr => arr[1].typeName == type);
if (boosterEntry) { if (boosterEntry) {
return boosterEntry[0]; return boosterEntry[0];