Upgrade matrix you can read at a glance

- Each tree sits centred under the Earth Uplink; links run square between
  rows and down the gaps between columns, never through a node or a name
- Clear node states: gold is done, a green ring is buyable now, green tint
  is started, grey is not open yet; the selected node has a blue ring
- Every node shows the price of its next level and pips for its levels
- The detail panel lists every level with what it gives and what it costs;
  requirements turn green as they are met
- Tabs show how much of each tree is bought
- -demoshop [slot] shoots every tab

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
NiemandKG
2026-11-10 13:08:46 +06:00
parent 172c3b978d
commit 6b2a9931b9
17 changed files with 300 additions and 103 deletions

View File

@ -834,7 +834,7 @@
border-width: 0;
border-radius: 0;
}
.slot-on, .node-afford, .node-maxed, .build-card-on { background-color: rgba(0, 0, 0, 0); background-image: url("../Art/UI/ui_slot_on.png"); }
.slot-on, .node-maxed, .build-card-on { background-color: rgba(0, 0, 0, 0); background-image: url("../Art/UI/ui_slot_on.png"); }
.node-available, .node-owned, .node-locked { background-color: rgba(0, 0, 0, 0); }
.node-owned { -unity-background-image-tint-color: #CFE3A0; }
.node-locked { -unity-background-image-tint-color: #A89E86; }
@ -996,3 +996,53 @@
.set-foot { flex-direction: row; align-items: center; flex-shrink: 0; margin-top: 10px; padding-top: 12px; border-top-width: 3px; border-color: rgba(42, 33, 20, 0.18); }
.set-desc { flex-grow: 1; flex-shrink: 1; font-size: 21px; color: #6A5A3A; white-space: normal; margin: 0 28px 0 28px; min-height: 56px; -unity-text-align: middle-left; }
/* ───────── v4: the upgrade matrix, readable at a glance ───────── */
/* gold is done; a green ring is what you can buy now; green tint is started; grey is not open yet */
.node { padding-bottom: 8px; }
.node-afford { border-width: 5px; border-color: #63C43A; border-radius: 18px; }
.node-selected, .node-afford.node-selected { border-width: 7px; border-color: #3A9BE8; border-radius: 18px; -unity-background-image-tint-color: #FFFDF0; }
.node-locked > .node-icon { opacity: 0.3; }
.node-lock { font-size: 40px; color: #FFFFFF; }
.node-pips { position: absolute; bottom: 9px; flex-direction: row; justify-content: center; }
.node-pip { width: 15px; height: 7px; border-radius: 4px; margin: 0 2px 0 2px; background-color: rgba(42, 33, 20, 0.28); }
.node-pip-on { background-color: #4FAE2E; }
.node-maxed .node-pip-on { background-color: #2A2114; }
.node-price {
position: absolute; bottom: -19px; font-size: 23px; padding: 1px 11px 1px 11px; border-radius: 10px;
background-color: #7A5A3A; color: #FFFFFF; -unity-text-align: middle-center;
}
.node-price-yes { background-color: #3E8A24; }
.node-price-no { background-color: #8B5E34; color: #F1E6C6; }
.node-price-shut { background-color: #8F8672; color: #ECE6D4; }
.node-price-done { background-color: #C28F1C; }
.node-name { width: 230px; font-size: 20px; }
.shop-tabs > .tab { padding-bottom: 12px; }
.tab-progress {
position: absolute; left: 16px; right: 16px; bottom: 6px; height: 5px; border-radius: 3px;
background-color: rgba(42, 33, 20, 0.2); overflow: hidden;
}
.tab-progress-fill { height: 100%; border-radius: 3px; width: 0; }
.detail-top { height: 150px; }
.detail-icon { width: 130px; height: 130px; }
.detail-desc { margin-top: 2px; margin-bottom: 8px; }
.ladder { margin-top: 4px; }
.ladder-row {
flex-direction: row; align-items: center; padding: 6px 10px 6px 8px; margin-bottom: 6px; border-radius: 12px;
background-color: rgba(139, 94, 52, 0.1); border-width: 3px; border-color: rgba(0, 0, 0, 0);
}
.ladder-done { background-color: rgba(99, 196, 58, 0.22); }
.ladder-next { background-color: #FFF6D6; border-color: #2A2114; }
.ladder-lvl {
width: 44px; height: 32px; border-radius: 9px; margin-right: 10px; flex-shrink: 0;
background-color: #A89E86; color: #FFFFFF; font-size: 19px; -unity-text-align: middle-center;
}
.ladder-done > .ladder-lvl { background-color: #3E8A24; }
.ladder-next > .ladder-lvl { background-color: #C28F1C; }
.ladder-fx { flex-grow: 1; flex-shrink: 1; font-size: 20px; color: #2A2114; }
.ladder-done > .ladder-fx { color: #3B5A22; }
.ladder-price { font-size: 21px; color: #2A2114; margin-left: 8px; flex-shrink: 0; -unity-font-style: bold; }
.ladder-price-later { color: #8F8672; -unity-font-style: normal; }
.detail-req { margin-top: 8px; }
.detail-maxed { font-size: 40px; }