forked from OpenWF/SpaceNinjaServer
Compare commits
3 Commits
60236a1154
...
1d813a1b1b
Author | SHA1 | Date | |
---|---|---|---|
1d813a1b1b | |||
4823406229 | |||
bdc41de8bb |
@ -118,7 +118,7 @@ export const claimCompletedRecipeController: RequestHandler = async (req, res) =
|
||||
break;
|
||||
}
|
||||
}
|
||||
pet.Details!.Status = canSetActive ? Status.StatusAvailable : Status.StatusIncubating;
|
||||
pet.Details!.Status = canSetActive ? Status.StatusAvailable : Status.StatusStasis;
|
||||
} else if (recipe.secretIngredientAction != "SIA_UNBRAND") {
|
||||
InventoryChanges = {
|
||||
...InventoryChanges,
|
||||
|
@ -1525,7 +1525,8 @@ export const applyClientEquipmentUpdates = (
|
||||
gearArray.forEach(({ ItemId, XP, InfestationDate }) => {
|
||||
const item = category.id(fromOid(ItemId));
|
||||
if (!item) {
|
||||
throw new Error(`No item with id ${fromOid(ItemId)} in ${categoryName}`);
|
||||
logger.warn(`Skipping unknown ${categoryName} item: id ${fromOid(ItemId)} not found`);
|
||||
return;
|
||||
}
|
||||
|
||||
if (XP) {
|
||||
|
@ -233,7 +233,7 @@ export const isStoreItem = (type: string): boolean => {
|
||||
};
|
||||
|
||||
export const toStoreItem = (type: string): string => {
|
||||
if (type.startsWith("/Lotus/Types/StoreItems/Boosters/")) {
|
||||
if (type.startsWith("/Lotus/Types/Boosters/")) {
|
||||
const boosterEntry = Object.entries(ExportBoosters).find(arr => arr[1].typeName == type);
|
||||
if (boosterEntry) {
|
||||
return boosterEntry[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user