From 42f79686c849665b7024d6ef8cfdf4778dd3b9fc Mon Sep 17 00:00:00 2001 From: Matthias Gatto Date: Sat, 9 Dec 2023 01:04:16 +0100 Subject: [PATCH] add stats to lot of enemies Signed-off-by: Matthias Gatto --- npcs.json | 11 +++++++++++ npcs/random.json | 11 +++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/npcs.json b/npcs.json index be4ffe1..fc912e9 100644 --- a/npcs.json +++ b/npcs.json @@ -9,6 +9,10 @@ "is_generic": true, "hair": ["plain", "raven"], "loot": "auto", + "stats": { + "agility": 1, + "strength": 4 + }, "equipement": { "torso": "white longsleeve m", "legs": "teal pants m", @@ -326,6 +330,9 @@ "type": "sprite", "is_generic": true, "max_life": 1, + "stats": { + "agility": 2 + }, "sprite": { "paths": ["imgs/rat.png", "imgs/dead-rats.png"], "dead-pos": [0,2,2,2], @@ -340,6 +347,10 @@ "type": "sprite", "is_generic": true, "max_life": 5, + "stats": { + "agility": 3, + "strength": 2 + }, "sprite": { "path": "imgs/rat.png", "enlarge": 200, diff --git a/npcs/random.json b/npcs/random.json index 0bd5797..07bdce5 100644 --- a/npcs/random.json +++ b/npcs/random.json @@ -40,11 +40,15 @@ "Thrug 0": { "sex": "male", "type": "light", + "stats": { + "agility": 4, + "strength": 1 + }, "loot": "auto", "max_life": 10, "clothes": [ "feet/shoes/male/brown_shoes_male.png", - "torso/shirts/longsleeve/male/white_longsleeve.png", + "torso/shirts/longsleeve/male/male_shirt_red.png", "legs/pants/male/teal_pants_male.png", "hair/male/plain/raven.png" ] @@ -53,10 +57,13 @@ "sex": "male", "type": "light", "loot": "auto", + "stats": { + "agility": 1, + "strength": 4 + }, "max_life": 10, "clothes": [ "feet/shoes/male/brown_shoes_male.png", - "torso/shirts/longsleeve/male/white_longsleeve.png", "legs/pants/male/teal_pants_male.png", "hair/male/plain/raven.png" ]