From b73ea098b6e2b5ca25c6289a67d6c5f57e04d149 Mon Sep 17 00:00:00 2001 From: Tanja Herche Date: Wed, 8 Feb 2023 10:56:24 +0100 Subject: [PATCH] added 'doesDamage', changed damage number ranges to static numbers --- src/main/resources/items.json | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/src/main/resources/items.json b/src/main/resources/items.json index 5edb067..6329a39 100644 --- a/src/main/resources/items.json +++ b/src/main/resources/items.json @@ -1,9 +1,10 @@ [ { "name": "Holz", - "damage": "1-3", + "damage": "2", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 10, "gold": 10 }, @@ -12,14 +13,16 @@ "damage": "1000", "crafting": false, "durability": 1000, + "doesDamage": true, "amountShop": 1, "gold": 1000 }, { "name": "Stein", - "damage": "5-10", + "damage": "7", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 1500, "gold": 2 }, @@ -28,6 +31,7 @@ "damage": "0", "crafting": true, "durability": 1000, + "doesDamage": false, "amountShop": 500, "gold": 100 }, @@ -36,6 +40,7 @@ "damage": "2", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 1500, "gold": 1 }, @@ -44,6 +49,7 @@ "damage": "1", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 1000, "gold": 1 }, @@ -52,6 +58,7 @@ "damage": "4", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 750, "gold": 1 }, @@ -60,6 +67,7 @@ "damage": "5", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 1000, "gold": 1 }, @@ -68,6 +76,7 @@ "damage": "1", "crafting": true, "durability": 10, + "doesDamage": true, "amountShop": 100, "gold": 1 }, @@ -76,6 +85,7 @@ "damage": "20", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 250, "gold": 5 }, @@ -84,14 +94,16 @@ "damage": "10", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 400, "gold": 3 }, { "name": "Feuerstein", - "damage": "5-10", + "damage": "0", "crafting": true, "durability": 1000, + "doesDamage": false, "amountShop": 1500, "gold": 2 }, @@ -100,6 +112,7 @@ "damage": "0", "crafting": true, "durability": 5, + "doesDamage": false, "amountShop": 1500, "gold": 1 }, @@ -108,6 +121,7 @@ "damage": "0", "crafting": true, "durability": 1000, + "doesDamage": false, "amountShop": 3000, "gold": 1 }, @@ -116,6 +130,7 @@ "damage": "15-20", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 300, "gold": 1 }, @@ -124,6 +139,7 @@ "damage": "5", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 300, "gold": 3 }, @@ -132,6 +148,7 @@ "damage": "0", "crafting": true, "durability": 1000, + "doesDamage": false, "amountShop": 200, "gold": 3 }, @@ -140,6 +157,7 @@ "damage": "1", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 1500, "gold": 1 }, @@ -148,6 +166,7 @@ "damage": "6", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 450, "gold": 2 }, @@ -156,6 +175,7 @@ "damage": "5", "crafting": true, "durability": 1000, + "doesDamage": true, "amountShop": 700, "gold": 2 }