diff --git a/src/main/resources/gameconfig.json b/src/main/resources/gameconfig.json index 37d2e6d..13219e9 100644 --- a/src/main/resources/gameconfig.json +++ b/src/main/resources/gameconfig.json @@ -24,14 +24,7 @@ "Stein" ], "mobs": [ - { - "name": "Big Foot", - "hp": 50, - "damage": "10-15", - "items": [ - "Fell" - ] - } + "Big Foot" ] }, { @@ -41,14 +34,7 @@ "Treibholz" ], "mobs": [ - { - "name": "Riesenkrabbe", - "damage": "10-15", - "hp": 50, - "items": [ - "Krabbenschere" - ] - } + "Riesenkrabbe" ] }, { @@ -58,15 +44,7 @@ "Schnee" ], "mobs": [ - { - "name": "Yeti", - "hp": 55, - "items": [ - "Fell", - "Yetikralle" - ], - "damage": "20-25" - } + "Yeti" ] }, { @@ -76,15 +54,7 @@ "Feuerstein" ], "mobs": [ - { - "name": "Loewe", - "damage": "10-15", - "items": [ - "Fell", - "Löwenkralle" - ], - "hp": 30 - } + "Loewe" ] }, { @@ -94,15 +64,7 @@ "Giftblume" ], "mobs": [ - { - "name": "Drache", - "hp": 55, - "damage": "15-20", - "items": [ - "Drachenzahn", - "Drachenhaut" - ] - } + "Drache" ] }, { @@ -112,14 +74,7 @@ "Kaktus" ], "mobs": [ - { - "name": "Mumie", - "items": [ - "Knochen" - ], - "hp": 40, - "damage": "10-15" - } + "Mumie" ] } ] diff --git a/src/main/resources/mobs.json b/src/main/resources/mobs.json new file mode 100644 index 0000000..c227a27 --- /dev/null +++ b/src/main/resources/mobs.json @@ -0,0 +1,53 @@ +[ + { + "name": "Big Foot", + "hp": 50, + "damage": "10-15", + "items": [ + "Fell" + ] + }, + { + "name": "Riesenkrabbe", + "damage": "10-15", + "hp": 50, + "items": [ + "Krabbenschere" + ] + }, + { + "name": "Yeti", + "hp": 55, + "items": [ + "Fell", + "Yetikralle" + ], + "damage": "20-25" + }, + { + "name": "Loewe", + "damage": "10-15", + "items": [ + "Fell", + "Löwenkralle" + ], + "hp": 30 + }, + { + "name": "Drache", + "hp": 55, + "damage": "15-20", + "items": [ + "Drachenzahn", + "Drachenhaut" + ] + }, + { + "name": "Mumie", + "items": [ + "Knochen" + ], + "hp": 40, + "damage": "10-15" + } +] \ No newline at end of file