feat: fabricate research #1150

Merged
Sainan merged 3 commits from fabricate into main 2025-03-11 07:56:19 -07:00
2 changed files with 6 additions and 3 deletions
Showing only changes of commit 66beffb76f - Show all commits

View File

@ -389,9 +389,11 @@ export const addItem = async (
}
}
if (typeName in ExportRailjackWeapons) {
// I'm not sure if these use a slot. Maybe CrewShipSalvageBin?
return {
InventoryChanges: addCrewShipWeapon(inventory, typeName)
InventoryChanges: {
...addCrewShipWeapon(inventory, typeName),
...occupySlot(inventory, InventorySlot.RJ_COMPONENT_AND_ARMAMENTS, premiumPurchase)
}
};
}
if (typeName in ExportMisc.creditBundles) {

View File

@ -430,7 +430,8 @@ export enum InventorySlot {
SPACESUITS = "SpaceSuitBin",
MECHSUITS = "MechBin",
PVE_LOADOUTS = "PveBonusLoadoutBin",
SENTINELS = "SentinelBin"
SENTINELS = "SentinelBin",
RJ_COMPONENT_AND_ARMAMENTS = "CrewShipSalvageBin"
}
export interface ISlots {