add railjack "component & armaments" slot type
All checks were successful
Build / build (20) (push) Successful in 40s
Build / build (18) (push) Successful in 1m2s
Build / build (22) (push) Successful in 53s
Build / build (18) (pull_request) Successful in 43s
Build / build (20) (pull_request) Successful in 1m3s
Build / build (22) (pull_request) Successful in 57s
All checks were successful
Build / build (20) (push) Successful in 40s
Build / build (18) (push) Successful in 1m2s
Build / build (22) (push) Successful in 53s
Build / build (18) (pull_request) Successful in 43s
Build / build (20) (pull_request) Successful in 1m3s
Build / build (22) (pull_request) Successful in 57s
This commit is contained in:
parent
79ac6eef40
commit
66beffb76f
@ -389,9 +389,11 @@ export const addItem = async (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (typeName in ExportRailjackWeapons) {
|
if (typeName in ExportRailjackWeapons) {
|
||||||
// I'm not sure if these use a slot. Maybe CrewShipSalvageBin?
|
|
||||||
return {
|
return {
|
||||||
InventoryChanges: addCrewShipWeapon(inventory, typeName)
|
InventoryChanges: {
|
||||||
|
...addCrewShipWeapon(inventory, typeName),
|
||||||
|
...occupySlot(inventory, InventorySlot.RJ_COMPONENT_AND_ARMAMENTS, premiumPurchase)
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (typeName in ExportMisc.creditBundles) {
|
if (typeName in ExportMisc.creditBundles) {
|
||||||
|
@ -430,7 +430,8 @@ export enum InventorySlot {
|
|||||||
SPACESUITS = "SpaceSuitBin",
|
SPACESUITS = "SpaceSuitBin",
|
||||||
MECHSUITS = "MechBin",
|
MECHSUITS = "MechBin",
|
||||||
PVE_LOADOUTS = "PveBonusLoadoutBin",
|
PVE_LOADOUTS = "PveBonusLoadoutBin",
|
||||||
SENTINELS = "SentinelBin"
|
SENTINELS = "SentinelBin",
|
||||||
|
RJ_COMPONENT_AND_ARMAMENTS = "CrewShipSalvageBin"
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ISlots {
|
export interface ISlots {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user