From a493832213a9a03119973a82c0aeaa0edf5cf26a Mon Sep 17 00:00:00 2001 From: sleet01 Date: Sat, 18 Jan 2025 18:07:01 -0800 Subject: [PATCH] Breadcrumb for later devs if they wish to move the non-VTL availability date --- .../src/megameklab/ui/util/AbstractEquipmentDatabaseView.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/megameklab/src/megameklab/ui/util/AbstractEquipmentDatabaseView.java b/megameklab/src/megameklab/ui/util/AbstractEquipmentDatabaseView.java index da560038d..f63973bf8 100644 --- a/megameklab/src/megameklab/ui/util/AbstractEquipmentDatabaseView.java +++ b/megameklab/src/megameklab/ui/util/AbstractEquipmentDatabaseView.java @@ -555,6 +555,9 @@ private void setupRowFilter() { public boolean include(Entry entry) { EquipmentTableModel equipModel = entry.getModel(); EquipmentType etype = equipModel.getType(entry.getIdentifier()); + // Note: append `&& eSource.getTechManager().getGameYear() >= etype.getProductionDate()` + // or `etype.getCommonDate()` in case we wish to change the availability start year from + // the prototype/introduction date to something later. return shouldShow(etype); } };