chore: assert quantity is 1 if otherwise ignored in addItem #3051

Merged
Sainan merged 3 commits from addItem-qty-checks into main 2025-11-20 00:27:14 -08:00
Showing only changes of commit 7026bfe9a7 - Show all commits

View File

@@ -780,7 +780,7 @@ export const addItem = async (
{
const entry = inventory.RawUpgrades.find(x => x.ItemType == typeName);
if (entry && entry.ItemCount >= 10) {
logger.debug(`adding ${quantity} pix chips instead of ${typeName}`);
logger.debug(`adding ${quantity} pix chip(s) instead of ${typeName}`);
const miscItemChanges = [
{
ItemType: "/Lotus/Types/Items/MiscItems/1999ConquestBucks",