Map Narwa's parts

This commit is contained in:
GreenComfyTea
2022-08-02 07:48:18 +03:00
parent 0f0aabb750
commit cad4e653fd
11 changed files with 57 additions and 34 deletions

View File

@@ -121,9 +121,9 @@ function body_part.draw(monster, part_UI, cached_config, parts_position_on_scree
local displayed_parts = {};
for REpart, part in pairs(monster.parts) do
local health_supported = part.max_health >= 0;
local break_supported = part.break_max_health >= 0;
local severe_supported = part.loss_max_health >= 0;
local health_supported = part.max_health > 0;
local break_supported = part.break_max_health > 0;
local severe_supported = part.loss_max_health > 0;
if health_supported then
if break_supported then