Bring in a spider enemy.
This commit is contained in:
parent
deb235dbc5
commit
615599084a
3 changed files with 14 additions and 1 deletions
|
@ -18,7 +18,8 @@
|
||||||
"tripwire_trap": "assets/tripwire_trap-256.png",
|
"tripwire_trap": "assets/tripwire_trap-256.png",
|
||||||
"cinqueda": "assets/cinqueda_1-256.png",
|
"cinqueda": "assets/cinqueda_1-256.png",
|
||||||
"left_gui": "assets/left_gui.png",
|
"left_gui": "assets/left_gui.png",
|
||||||
"blood_splatter": "assets/blood_splatter-256.png"
|
"blood_splatter": "assets/blood_splatter-256.png",
|
||||||
|
"hairy_spider": "assets/hairy_spider-256.png"
|
||||||
},
|
},
|
||||||
"enemy": {
|
"enemy": {
|
||||||
"HEARING_DISTANCE": 5
|
"HEARING_DISTANCE": 5
|
||||||
|
|
|
@ -49,5 +49,17 @@
|
||||||
{"_type": "EnemyConfig", "hearing_distance": 10},
|
{"_type": "EnemyConfig", "hearing_distance": 10},
|
||||||
{"_type": "Sprite", "name": "rat_with_sword"}
|
{"_type": "Sprite", "name": "rat_with_sword"}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"SPIDER_GIANT_HAIRY": {
|
||||||
|
"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": "hairy_spider"}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
BIN
assets/hairy_spider-256.png
Normal file
BIN
assets/hairy_spider-256.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
Loading…
Add table
Add a link
Reference in a new issue