fix: deduct 5000 credits for crafting a zaw (#1168)

Reviewed-on: OpenWF/SpaceNinjaServer#1168
This commit is contained in:
Sainan 2025-03-13 04:26:06 -07:00
parent a029c288b7
commit 292ac9d41b

View File

@ -59,7 +59,9 @@ export const modularWeaponCraftingController: RequestHandler = async (req, res)
} }
const currencyChanges = updateCurrency( const currencyChanges = updateCurrency(
inventory, inventory,
category == "Hoverboards" || category == "MoaPets" ? 5000 : 4000, category == "Hoverboards" || category == "MoaPets" || category == "LongGuns" || category == "Pistols"
? 5000
: 4000, // Definitely correct for Melee & OperatorAmps
false false
); );
addMiscItems(inventory, miscItemChanges); addMiscItems(inventory, miscItemChanges);