fix: give helmet when acquiring a skin
All checks were successful
Build / build (20) (push) Successful in 43s
Build / build (22) (push) Successful in 1m11s
Build / build (18) (push) Successful in 1m31s
Build / build (18) (pull_request) Successful in 51s
Build / build (20) (pull_request) Successful in 1m13s
Build / build (22) (pull_request) Successful in 1m23s
All checks were successful
Build / build (20) (push) Successful in 43s
Build / build (22) (push) Successful in 1m11s
Build / build (18) (push) Successful in 1m31s
Build / build (18) (pull_request) Successful in 51s
Build / build (20) (pull_request) Successful in 1m13s
Build / build (22) (pull_request) Successful in 1m23s
This commit is contained in:
parent
aa12708738
commit
ffee2f523f
8
package-lock.json
generated
8
package-lock.json
generated
@ -18,7 +18,7 @@
|
||||
"mongoose": "^8.11.0",
|
||||
"morgan": "^1.10.0",
|
||||
"typescript": ">=5.5 <5.6.0",
|
||||
"warframe-public-export-plus": "^0.5.47",
|
||||
"warframe-public-export-plus": "^0.5.48",
|
||||
"warframe-riven-info": "^0.1.2",
|
||||
"winston": "^3.17.0",
|
||||
"winston-daily-rotate-file": "^5.0.0"
|
||||
@ -4013,9 +4013,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/warframe-public-export-plus": {
|
||||
"version": "0.5.47",
|
||||
"resolved": "https://registry.npmjs.org/warframe-public-export-plus/-/warframe-public-export-plus-0.5.47.tgz",
|
||||
"integrity": "sha512-ZJK3VT1PdSPwZlhIzUVBlydwK4DM0sOmeCiixVMgOM8XuOPJ8OHfQUoLKydtw5rxCsowzFPbx5b3KBke5C4akQ=="
|
||||
"version": "0.5.48",
|
||||
"resolved": "https://registry.npmjs.org/warframe-public-export-plus/-/warframe-public-export-plus-0.5.48.tgz",
|
||||
"integrity": "sha512-vJitVYnaViQo43xAkL/h3MJ/6wS7YknKEYhYs+N/GrsspYLMPGf9KSuR19tprB2g9KVGS5o67t0v5K8p0RTQCQ=="
|
||||
},
|
||||
"node_modules/warframe-riven-info": {
|
||||
"version": "0.1.2",
|
||||
|
@ -23,7 +23,7 @@
|
||||
"mongoose": "^8.11.0",
|
||||
"morgan": "^1.10.0",
|
||||
"typescript": ">=5.5 <5.6.0",
|
||||
"warframe-public-export-plus": "^0.5.47",
|
||||
"warframe-public-export-plus": "^0.5.48",
|
||||
"warframe-riven-info": "^0.1.2",
|
||||
"winston": "^3.17.0",
|
||||
"winston-daily-rotate-file": "^5.0.0"
|
||||
|
@ -334,11 +334,19 @@ export const addItem = async (
|
||||
}
|
||||
}
|
||||
if (typeName in ExportCustoms) {
|
||||
if (ExportCustoms[typeName].productCategory == "CrewShipWeaponSkins") {
|
||||
return addCrewShipWeaponSkin(inventory, typeName);
|
||||
const meta = ExportCustoms[typeName];
|
||||
let inventoryChanges: IInventoryChanges;
|
||||
if (meta.productCategory == "CrewShipWeaponSkins") {
|
||||
inventoryChanges = addCrewShipWeaponSkin(inventory, typeName);
|
||||
} else {
|
||||
return addSkin(inventory, typeName);
|
||||
inventoryChanges = addSkin(inventory, typeName);
|
||||
}
|
||||
if (meta.additionalItems) {
|
||||
for (const item of meta.additionalItems) {
|
||||
combineInventoryChanges(inventoryChanges, await addItem(inventory, item));
|
||||
}
|
||||
}
|
||||
return inventoryChanges;
|
||||
}
|
||||
if (typeName in ExportFlavour) {
|
||||
return addCustomization(inventory, typeName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user