fix: deduct 5000 credits for crafting a zaw (#1168)
All checks were successful
Build / build (20) (push) Successful in 39s
Build / build (18) (push) Successful in 1m4s
Build Docker image / docker (push) Successful in 32s
Build / build (22) (push) Successful in 56s

Reviewed-on: #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);