From e7f156b1aff33c7f71760ec27192d3653dd82860 Mon Sep 17 00:00:00 2001 From: Juliakn66 <117075450+Juliakn66@users.noreply.github.com> Date: Fri, 27 Jan 2023 13:16:11 +0100 Subject: [PATCH] added damage and doesDamage to playerconfig --- src/main/resources/playerconfig.json | 35 ++++++++++++++++------------ 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/src/main/resources/playerconfig.json b/src/main/resources/playerconfig.json index 1a2c55e..59af4e6 100644 --- a/src/main/resources/playerconfig.json +++ b/src/main/resources/playerconfig.json @@ -1,17 +1,22 @@ { - "name": "null", - "gold": 0, - "hp": 10, - "currentLocation": "Wald", - "inventory": [ - { - "name": "Holz", - "amount": "5", - "durability": 1000 - },{ - "name": "Stein", - "amount": "5", - "durability": 1000 - } - ] + "gold": 0, + "name": "null", + "hp": 10, + "inventory": [ + { + "damage": 10, + "amount": 5, + "durability": 1000, + "name": "Holz", + "doesDamage": true + }, + { + "damage": 10, + "amount": 5, + "durability": 1000, + "name": "Stein", + "doesDamage": true + } + ], + "currentLocation": "Wald" } \ No newline at end of file