enhance chest object handling and save/load functionality

This commit is contained in:
2026-03-23 19:19:20 +01:00
parent 5dbf7fcf1f
commit 70a250f775
6 changed files with 83 additions and 10 deletions

View File

@@ -23,6 +23,14 @@ public class DataStorage implements Serializable {
// PLAYER INVENTORY
List<String> itemNames = new ArrayList<>();
List<Integer> itemAmounts = new ArrayList<>();
int currentWeaponSlot;
int currentShieldSlot;
// MAP OBJECTS
String[][] mapObjectNames;
int[][] mapObjectWorldX;
int[][] mapObjectWorldY;
String[][] mapObjectLootNames;
boolean[][] mapObjectOpened;
}