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

Survivor Sheet: Refactor PotStars Courage/Understanding #549

Closed toconnell closed 3 years ago

toconnell commented 4 years ago

From a user:

image

toconnell commented 3 years ago

At a minimum, we're going to disable the Courage and Understanding radio buttons for this.

Ultimately, this is an opportunity to re-do the Survivor Sheets so they match AP's design, rather than doing the thing we've been doing.

The block needs to look more like this:

image

toconnell commented 3 years ago

In the next release, we're hiding these for campaigns where they're disabled:

@@ -1151,7 +1156,10 @@

                 <div
                     class="ng_fade kd_sheet_ui_ai_toggle_container"
-                    ng-if="survivor.sheet.Courage > 2"
+                    ng-if="
+                        settlement.game_assets.campaign.courage_ai_radio_raft !== false &&
+                        survivor.sheet.Courage > 2
+                    "
                     ng-init="setAttributeAI('courage')"
                 >

@@ -1302,7 +1310,10 @@

                 <div
                     class="ng_fade kd_sheet_ui_ai_toggle_container"
-                    ng-if="survivor.sheet.Understanding > 2"
+                    ng-if="
+                        settlement.game_assets.campaign.understanding_ai_radio_raft !== false &&
+                        survivor.sheet.Understanding > 2
+                    "
                     ng-init="setAttributeAI('understanding')"
                 >
                     <div
toconnell commented 3 years ago

While reviewing this, I noticed that we've got some problems on mobile devices with the radio buttons:

image

The next release of the Manager is going to basically be a major refactor of Courage/Understanding controls.

toconnell commented 3 years ago

The above issue is fixed in the next release:

image

toconnell commented 3 years ago

This is done and going out at all breakpoints in the next release of the Manager.