toconnell / kdm-manager

An interactive campaign manager for the game "Monster", by Kingdom Death. Development blog and release notes at https://blog.kdm-manager.com This project has no affiliation with Kingdom Death and is a totally independent, fan-maintained project.
http://kdm-manager.com
Other
26 stars 11 forks source link

Campaign Summary: dead survivors are hard to read #482

Closed toconnell closed 6 years ago

toconnell commented 6 years ago

dead_survivors_are_hard_to_read

toconnell commented 6 years ago

I'm just going to ditch the color style if they're dead. Problem solved, problem staying solved.

@@ -3787,9 +3724,9 @@ class settlement:
                                     disabled: s.meta.manageable == false,
                                     survivor_sheet_gradient: s.meta.manageable == true,
                                     dead_survivor_gradient: s.sheet.dead == true,
-                                    affinity_red: s.sheet.savior == 'red',
-                                    affinity_green: s.sheet.savior == 'green',
-                                    affinity_blue: s.sheet.savior == 'blue',
+                                    affinity_red: s.sheet.savior == 'red' && s.sheet.dead == undefined,
+                                    affinity_green: s.sheet.savior == 'green && s.sheet.dead == undefined,
+                                    affinity_blue: s.sheet.savior == 'blue'&& s.sheet.dead == undefined,
                                 }"
                                 style='{{settlement.survivor_color_schemes[s.sheet.color_scheme].style_string}}'
                             >