/giveall materials should now give a more "reasonable" amount

This commit is contained in:
Melledy
2023-12-14 20:31:44 -08:00
parent bf713d2ddd
commit 1ce75b7f71

View File

@@ -38,12 +38,12 @@ public class GiveAllCommand implements CommandHandler {
for (ItemExcel excel : GameData.getItemExcelMap().values()) {
int purpose = excel.getPurposeType();
if ((purpose >= 1 && purpose <= 7) || purpose == 10) {
items.add(new GameItem(excel, excel.getPileLimit()));
items.add(new GameItem(excel, 10_000));
}
}
// Credits
items.add(new GameItem(2, Integer.MAX_VALUE));
items.add(new GameItem(2, 100_000_000));
// Add to target's inventory
target.getInventory().addItems(items, true);