Added inventory load, fixed inventory save, v1.3.0

This commit is contained in:
Nicola Sovic
2022-07-04 13:24:54 +02:00
parent 22137fffde
commit 349e023cbf
6 changed files with 193 additions and 39 deletions

View File

@@ -3,7 +3,7 @@
"playername": "Nicola",
"maxHealth": 110,
"maxSecondary": 10,
"secondary": 15,
"secondary": 10,
"health": 110,
"strength": 7,
"dexterity": 5,
@@ -43,14 +43,14 @@
},
"bags": {
"slot0": {
"bag1": "empty",
"bag2": "empty",
"bag3": {
"bag1": {
"rarity": "COMMON",
"place": "BOOTS",
"itemName": "Common boots of mana",
"MP": 12
}
},
"bag2": "empty",
"bag3": "empty"
},
"slot1": {
"bag1": "empty",