New rat enemy.

This commit is contained in:
Zed A. Shaw 2025-02-14 15:22:47 -05:00
parent 02a385e707
commit e7e0df6b70
3 changed files with 14 additions and 1 deletions

View file

@ -32,10 +32,22 @@
"foreground": [205, 164, 246],
"background": [30, 20, 75]
},
{"_type": "Combat", "hp": 50, "max_hp": 20, "damage": 50, "dead": false},
{"_type": "Combat", "hp": 50, "max_hp": 50, "damage": 50, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
{"_type": "EnemyConfig", "hearing_distance": 10},
{"_type": "Sprite", "name": "evil_eye"}
]
},
"RAT_GIANT": {
"components": [
{"_type": "Tile", "display": "\u08ea",
"foreground": [205, 164, 246],
"background": [30, 20, 75]
},
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 20, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
{"_type": "EnemyConfig", "hearing_distance": 10},
{"_type": "Sprite", "name": "rat_with_sword"}
]
}
}