Skip to content

Commit

Permalink
add stats to lot of enemies
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Gatto <uso.cosmo.ray@gmail.com>
  • Loading branch information
cosmo-ray committed Dec 9, 2023
1 parent 20bc022 commit 42f7968
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 11 additions & 0 deletions npcs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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],
Expand All @@ -340,6 +347,10 @@
"type": "sprite",
"is_generic": true,
"max_life": 5,
"stats": {
"agility": 3,
"strength": 2
},
"sprite": {
"path": "imgs/rat.png",
"enlarge": 200,
Expand Down
11 changes: 9 additions & 2 deletions npcs/random.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand All @@ -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"
]
Expand Down

0 comments on commit 42f7968

Please sign in to comment.