Now the body_ui handles the toughness and attack rating, and applies colors to show your body part status.
This commit is contained in:
parent
009c5c1cd2
commit
831b46fa3f
11 changed files with 92 additions and 20 deletions
|
|
@ -6,7 +6,8 @@
|
|||
"foreground": "enemies/fg:player",
|
||||
"background": "color:transparent"
|
||||
},
|
||||
{"_type": "Combat", "max_hp": 200, "max_ap": 12, "ap_delta": 6, "damage": 20,
|
||||
{"_type": "Combat", "max_hp": 200, "max_ap": 12,
|
||||
"ap_delta": 6, "damage": 20, "attack_rating": 0.5, "toughness_rating": 0.1,
|
||||
"body_parts": {
|
||||
"head": 200,
|
||||
"chest": 200,
|
||||
|
|
@ -21,7 +22,8 @@
|
|||
{"_type": "Collision", "has": true},
|
||||
{"_type": "EnemyConfig", "ai_script": "Host::actions", "ai_start_name": "Host::initial_state", "ai_goal_name": "Host::final_state"},
|
||||
{"_type": "Personality", "hearing_distance": 5, "tough": false},
|
||||
{"_type": "LightSource", "strength": 35, "radius": 2.0}
|
||||
{"_type": "LightSource", "strength": 35, "radius": 2.0},
|
||||
{"_type": "LearnByDoing", "attacks": 0, "hits": 0, "next_attack_level": 10, "next_toughness_level": 10}
|
||||
]
|
||||
},
|
||||
"SPIDER_BOT": {
|
||||
|
|
@ -30,7 +32,8 @@
|
|||
"foreground": "enemies/fg:rat_giant",
|
||||
"background": "color:transparent"
|
||||
},
|
||||
{"_type": "Combat", "max_hp": 50, "max_ap": 12, "ap_delta": 6,"damage": 30,
|
||||
{"_type": "Combat", "max_hp": 50, "max_ap": 12,
|
||||
"ap_delta": 6,"damage": 20, "attack_rating": 0.6, "toughness_rating": 0.2,
|
||||
"body_parts": {
|
||||
"head": 50,
|
||||
"chest": 50,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue