fix: ensure exalted weapons are given from giveStartingGear

This commit is contained in:
Sainan 2025-03-06 16:25:50 +01:00
parent 77aa1caa8f
commit ed0d0e55a7

View File

@ -3,6 +3,7 @@ import { InventoryDocumentProps } from "@/src/models/inventoryModels/inventoryMo
import { import {
addEquipment, addEquipment,
addItem, addItem,
addPowerSuit,
combineInventoryChanges, combineInventoryChanges,
getInventory, getInventory,
updateSlots updateSlots
@ -52,7 +53,7 @@ export const addStartingGear = async (
addEquipment(inventory, "LongGuns", LongGuns[0].ItemType, undefined, inventoryChanges); addEquipment(inventory, "LongGuns", LongGuns[0].ItemType, undefined, inventoryChanges);
addEquipment(inventory, "Pistols", Pistols[0].ItemType, undefined, inventoryChanges); addEquipment(inventory, "Pistols", Pistols[0].ItemType, undefined, inventoryChanges);
addEquipment(inventory, "Melee", Melee[0].ItemType, undefined, inventoryChanges); addEquipment(inventory, "Melee", Melee[0].ItemType, undefined, inventoryChanges);
addEquipment(inventory, "Suits", Suits[0].ItemType, undefined, inventoryChanges, { Configs: Suits[0].Configs }); addPowerSuit(inventory, Suits[0].ItemType, inventoryChanges);
addEquipment( addEquipment(
inventory, inventory,
"DataKnives", "DataKnives",