Highlight Man God Autocracy abilities and publish viewer 0.1.184
This commit is contained in:
parent
71848d2d6c
commit
d08ace3085
25 changed files with 147 additions and 25 deletions
|
|
@ -646,3 +646,12 @@ Disable End turn and remove its ready highlight once End turn is queued while
|
|||
waiting for another player's choice. Close any end-turn confirmation in that
|
||||
state. Undo remains available to remove the queued End turn and enable it again.
|
||||
No engine update required.
|
||||
|
||||
## Viewer 0.1.184
|
||||
|
||||
Highlight Autocracy abilities granted by Man God in the research tree with an
|
||||
“Ability active · Man God” badge. Explain that these abilities are not researched
|
||||
advances and grant no extra advance or victory points. Preserve research locks,
|
||||
ownership and availability. Includes dark-mode styling, all supported translations,
|
||||
and regression coverage for partial grants, removed grants and Great Library loans.
|
||||
No engine update required.
|
||||
|
|
|
|||
4
web-client/package-lock.json
generated
4
web-client/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@boardgamers/clash-web-client",
|
||||
"version": "0.1.183",
|
||||
"version": "0.1.184",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@boardgamers/clash-web-client",
|
||||
"version": "0.1.183",
|
||||
"version": "0.1.184",
|
||||
"dependencies": {
|
||||
"@boardgamers/protocol": "0.9.0",
|
||||
"lucide-svelte": "^0.577.0",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@boardgamers/clash-web-client",
|
||||
"version": "0.1.183",
|
||||
"version": "0.1.184",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
type View,
|
||||
} from './types';
|
||||
import { buildingInfo } from './city';
|
||||
import { researchOwners, researchFreeHints, aqueductResearch, researchCardHints, type ResearchReference } from './research-links';
|
||||
import { manGodAbility, researchOwners, researchFreeHints, aqueductResearch, researchCardHints, type ResearchReference } from './research-links';
|
||||
import { actionReason, pileText } from './model';
|
||||
import { groupIcons, researchPresentation } from './research';
|
||||
import { researchDecision } from './decision-controls';
|
||||
|
|
@ -359,11 +359,13 @@
|
|||
(a) => a.id === advance.required,
|
||||
)}
|
||||
{@const warnsEvent = !reference && !!advance.action && !!advance.triggersEvent}
|
||||
{@const granted = manGodAbility(advance, player?.advances)}
|
||||
<article
|
||||
id={`research-${advance.id}`}
|
||||
class="research-node"
|
||||
class:child={statusFilter === 'all' && index > 0}
|
||||
class:owned={advance.owned}
|
||||
class:ability-granted={granted}
|
||||
class:available={researchAvailable(advance)}
|
||||
class:choice-available={!!choice && !!advance.action}
|
||||
class:choice-unavailable={!!choice && !advance.action && !advance.owned}
|
||||
|
|
@ -374,7 +376,7 @@
|
|||
class="research-pick"
|
||||
aria-label={`${advance.name}: ${presentation.summary}`}
|
||||
aria-pressed={selected?.id === advance.id}
|
||||
aria-describedby={warnsEvent ? `research-${advance.id}-event` : undefined}
|
||||
aria-describedby={[warnsEvent ? `research-${advance.id}-event` : '', granted ? `research-${advance.id}-granted` : ''].filter(Boolean).join(' ') || undefined}
|
||||
title={advance.description}
|
||||
onclick={() => selectAdvance(advance.id)}
|
||||
>
|
||||
|
|
@ -392,6 +394,9 @@
|
|||
: actionReason(advance.reason)}
|
||||
/>{/if}</span
|
||||
>
|
||||
{#if granted}<span class="research-granted-badge" id={`research-${advance.id}-granted`}
|
||||
title="Ability only: not researched, no extra advance or victory points."
|
||||
><Link size={13} aria-hidden="true" />Ability active · Man God</span>{/if}
|
||||
<span class="research-summary"><ResourceText text={presentation.summary} /></span>
|
||||
{#if researchOwners(view, advance.id, player?.index).length}
|
||||
<span class="research-other-owners" aria-label="Other civilizations with this advance">
|
||||
|
|
@ -535,6 +540,10 @@
|
|||
? 'Ships sail through connected sea tiles. Navigation adds a clockwise or counterclockwise shortcut around the edge to the next sea area. Unexplored regions must be explored before sailing farther.'
|
||||
: selected.description}
|
||||
</p>
|
||||
{#if manGodAbility(selected, player?.advances)}<p class="research-granted-explanation">
|
||||
<strong>Ability active · Man God</strong><br />
|
||||
Ability only: not researched, no extra advance or victory points.
|
||||
</p>{/if}
|
||||
{#if selected.unlocks && buildingInfo[selected.unlocks]}<p>
|
||||
<strong>{selected.unlocks}:</strong>
|
||||
{buildingInfo[selected.unlocks].effect}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "Kø stoppet · {p0} tilbage",
|
||||
"{p0} · Choosing an advance": "{p0} · Vælger et fremskridt",
|
||||
"{p0} · Placing a settler": "{p0} · Placerer en nybygger",
|
||||
"{p0} queued · End turn queued": "{p0} i kø · Turafslutning i kø"
|
||||
"{p0} queued · End turn queued": "{p0} i kø · Turafslutning i kø",
|
||||
"Ability active · Man God": "Evne aktiv · Menneskegud",
|
||||
"Ability only: not researched, no extra advance or victory points.": "Kun evnen: ikke forsket, ingen ekstra fremskridt eller sejrspoint."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "Plan angehalten · {p0} übrig",
|
||||
"{p0} · Choosing an advance": "{p0} · Wählt einen Fortschritt",
|
||||
"{p0} · Placing a settler": "{p0} · Platziert einen Siedler",
|
||||
"{p0} queued · End turn queued": "{p0} vorgemerkt · Zugende vorgemerkt"
|
||||
"{p0} queued · End turn queued": "{p0} vorgemerkt · Zugende vorgemerkt",
|
||||
"Ability active · Man God": "Fähigkeit aktiv · Menschengott",
|
||||
"Ability only: not researched, no extra advance or victory points.": "Nur die Fähigkeit: nicht erforscht, kein zusätzlicher Fortschritt und keine Siegpunkte."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "Η ουρά σταμάτησε · απομένουν {p0}",
|
||||
"{p0} · Choosing an advance": "{p0} · Επιλέγει πρόοδο",
|
||||
"{p0} · Placing a settler": "{p0} · Τοποθετεί άποικο",
|
||||
"{p0} queued · End turn queued": "{p0} στην ουρά · Τέλος γύρου στην ουρά"
|
||||
"{p0} queued · End turn queued": "{p0} στην ουρά · Τέλος γύρου στην ουρά",
|
||||
"Ability active · Man God": "Ενεργή ικανότητα · Άνθρωπος θεός",
|
||||
"Ability only: not researched, no extra advance or victory points.": "Μόνο ικανότητα: δεν έχει ερευνηθεί, χωρίς επιπλέον πρόοδο ή πόντους νίκης."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "Queue stopped · {p0} remaining",
|
||||
"{p0} · Choosing an advance": "{p0} · Choosing an advance",
|
||||
"{p0} · Placing a settler": "{p0} · Placing a settler",
|
||||
"{p0} queued · End turn queued": "{p0} queued · End turn queued"
|
||||
"{p0} queued · End turn queued": "{p0} queued · End turn queued",
|
||||
"Ability active · Man God": "Ability active · Man God",
|
||||
"Ability only: not researched, no extra advance or victory points.": "Ability only: not researched, no extra advance or victory points."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "صف متوقف شد · {p0} باقیمانده",
|
||||
"{p0} · Choosing an advance": "{p0} · در حال انتخاب پیشرفت",
|
||||
"{p0} · Placing a settler": "{p0} · در حال قرار دادن مهاجر",
|
||||
"{p0} queued · End turn queued": "{p0} در صف · پایان نوبت در صف"
|
||||
"{p0} queued · End turn queued": "{p0} در صف · پایان نوبت در صف",
|
||||
"Ability active · Man God": "توانایی فعال · انسانخدا",
|
||||
"Ability only: not researched, no extra advance or victory points.": "فقط توانایی: پژوهش نشده، بدون پیشرفت یا امتیاز پیروزی اضافی."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "File interrompue · {p0} restants",
|
||||
"{p0} · Choosing an advance": "{p0} · Choisit une avancée",
|
||||
"{p0} · Placing a settler": "{p0} · Place un colon",
|
||||
"{p0} queued · End turn queued": "{p0} en attente · Fin de tour en attente"
|
||||
"{p0} queued · End turn queued": "{p0} en attente · Fin de tour en attente",
|
||||
"Ability active · Man God": "Capacité active · Homme-dieu",
|
||||
"Ability only: not researched, no extra advance or victory points.": "Capacité uniquement : non recherchée, sans progrès ni points de victoire supplémentaires."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "कतार रुकी · {p0} शेष",
|
||||
"{p0} · Choosing an advance": "{p0} · उन्नति चुन रहा है",
|
||||
"{p0} · Placing a settler": "{p0} · बसने वाला रख रहा है",
|
||||
"{p0} queued · End turn queued": "कतार में {p0} · बारी समाप्ति कतार में"
|
||||
"{p0} queued · End turn queued": "कतार में {p0} · बारी समाप्ति कतार में",
|
||||
"Ability active · Man God": "क्षमता सक्रिय · मानव देवता",
|
||||
"Ability only: not researched, no extra advance or victory points.": "केवल क्षमता: शोध नहीं किया गया, कोई अतिरिक्त उन्नति या विजय अंक नहीं।"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "Coda interrotta · {p0} rimanenti",
|
||||
"{p0} · Choosing an advance": "{p0} · Sceglie un progresso",
|
||||
"{p0} · Placing a settler": "{p0} · Posiziona un colono",
|
||||
"{p0} queued · End turn queued": "{p0} in coda · Fine turno in coda"
|
||||
"{p0} queued · End turn queued": "{p0} in coda · Fine turno in coda",
|
||||
"Ability active · Man God": "Abilità attiva · Uomo-dio",
|
||||
"Ability only: not researched, no extra advance or victory points.": "Solo abilità: non ricercato, nessun progresso o punto vittoria aggiuntivo."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "대기열 중단 · {p0}개 남음",
|
||||
"{p0} · Choosing an advance": "{p0} · 발전 선택 중",
|
||||
"{p0} · Placing a settler": "{p0} · 개척자 배치 중",
|
||||
"{p0} queued · End turn queued": "{p0}개 대기 중 · 턴 종료 대기 중"
|
||||
"{p0} queued · End turn queued": "{p0}개 대기 중 · 턴 종료 대기 중",
|
||||
"Ability active · Man God": "능력 활성 · 인간 신",
|
||||
"Ability only: not researched, no extra advance or victory points.": "능력만 적용: 연구한 것이 아니며 추가 발전이나 승점은 없습니다."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "Wachtrij gestopt · {p0} resterend",
|
||||
"{p0} · Choosing an advance": "{p0} · Kiest een ontwikkeling",
|
||||
"{p0} · Placing a settler": "{p0} · Plaatst een kolonist",
|
||||
"{p0} queued · End turn queued": "{p0} in wachtrij · Beurteinde in wachtrij"
|
||||
"{p0} queued · End turn queued": "{p0} in wachtrij · Beurteinde in wachtrij",
|
||||
"Ability active · Man God": "Vaardigheid actief · Mensgod",
|
||||
"Ability only: not researched, no extra advance or victory points.": "Alleen de vaardigheid: niet onderzocht, geen extra vooruitgang of overwinningspunten."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "Kolejka zatrzymana · pozostało {p0}",
|
||||
"{p0} · Choosing an advance": "{p0} · Wybiera postęp",
|
||||
"{p0} · Placing a settler": "{p0} · Umieszcza osadnika",
|
||||
"{p0} queued · End turn queued": "{p0} w kolejce · Koniec tury w kolejce"
|
||||
"{p0} queued · End turn queued": "{p0} w kolejce · Koniec tury w kolejce",
|
||||
"Ability active · Man God": "Zdolność aktywna · Człowiek-bóg",
|
||||
"Ability only: not researched, no extra advance or victory points.": "Tylko zdolność: niezbadana, bez dodatkowego postępu ani punktów zwycięstwa."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "Fila interrompida · {p0} restantes",
|
||||
"{p0} · Choosing an advance": "{p0} · Escolhendo um avanço",
|
||||
"{p0} · Placing a settler": "{p0} · Posicionando um colono",
|
||||
"{p0} queued · End turn queued": "{p0} na fila · Fim do turno na fila"
|
||||
"{p0} queued · End turn queued": "{p0} na fila · Fim do turno na fila",
|
||||
"Ability active · Man God": "Habilidade ativa · Homem-Deus",
|
||||
"Ability only: not researched, no extra advance or victory points.": "Apenas a habilidade: não pesquisado, sem avanço ou pontos de vitória extras."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "Coadă oprită · {p0} rămase",
|
||||
"{p0} · Choosing an advance": "{p0} · Alege un progres",
|
||||
"{p0} · Placing a settler": "{p0} · Plasează un colonist",
|
||||
"{p0} queued · End turn queued": "{p0} în așteptare · Sfârșit de tură în așteptare"
|
||||
"{p0} queued · End turn queued": "{p0} în așteptare · Sfârșit de tură în așteptare",
|
||||
"Ability active · Man God": "Abilitate activă · Om-zeu",
|
||||
"Ability only: not researched, no extra advance or victory points.": "Doar abilitatea: necercetată, fără progres sau puncte de victorie suplimentare."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "Очередь остановлена · осталось {p0}",
|
||||
"{p0} · Choosing an advance": "{p0} · Выбирает достижение",
|
||||
"{p0} · Placing a settler": "{p0} · Размещает поселенца",
|
||||
"{p0} queued · End turn queued": "В очереди: {p0} · Конец хода в очереди"
|
||||
"{p0} queued · End turn queued": "В очереди: {p0} · Конец хода в очереди",
|
||||
"Ability active · Man God": "Способность активна · Человек-бог",
|
||||
"Ability only: not researched, no extra advance or victory points.": "Только способность: не исследовано, без дополнительного достижения или победных очков."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "Hàng đợi dừng · còn {p0}",
|
||||
"{p0} · Choosing an advance": "{p0} · Đang chọn tiến bộ",
|
||||
"{p0} · Placing a settler": "{p0} · Đang đặt người định cư",
|
||||
"{p0} queued · End turn queued": "{p0} đang chờ · Kết thúc lượt đang chờ"
|
||||
"{p0} queued · End turn queued": "{p0} đang chờ · Kết thúc lượt đang chờ",
|
||||
"Ability active · Man God": "Năng lực đang có hiệu lực · Thần nhân",
|
||||
"Ability only: not researched, no extra advance or victory points.": "Chỉ có năng lực: chưa nghiên cứu, không thêm tiến bộ hay điểm chiến thắng."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "队列已停止 · 剩余 {p0} 项",
|
||||
"{p0} · Choosing an advance": "{p0} · 正在选择进步",
|
||||
"{p0} · Placing a settler": "{p0} · 正在放置移民",
|
||||
"{p0} queued · End turn queued": "{p0} 项待执行 · 结束回合待执行"
|
||||
"{p0} queued · End turn queued": "{p0} 项待执行 · 结束回合待执行",
|
||||
"Ability active · Man God": "能力生效 · 人神",
|
||||
"Ability only: not researched, no extra advance or victory points.": "仅获得能力:未研究,不增加进步或胜利点数。"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4771,5 +4771,7 @@
|
|||
"Queue stopped · {p0} remaining": "佇列已停止 · 剩餘 {p0} 項",
|
||||
"{p0} · Choosing an advance": "{p0} · 正在選擇進步",
|
||||
"{p0} · Placing a settler": "{p0} · 正在放置移民",
|
||||
"{p0} queued · End turn queued": "{p0} 項待執行 · 結束回合待執行"
|
||||
"{p0} queued · End turn queued": "{p0} 項待執行 · 結束回合待執行",
|
||||
"Ability active · Man God": "能力生效 · 人神",
|
||||
"Ability only: not researched, no extra advance or victory points.": "僅獲得能力:未研究,不增加進步或勝利點數。"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import { createRequire } from 'node:module';
|
|||
import { readFileSync } from 'node:fs';
|
||||
import { frameDetails } from './playback.ts';
|
||||
import { journal } from './journal.ts';
|
||||
import { manGodAbility } from './research-links.ts';
|
||||
const engine = createRequire(import.meta.url)('../.engine/server.js');
|
||||
const serialize = (g: any) => (typeof g === 'string' ? g : JSON.stringify(g));
|
||||
const seat = (g: any) => engine.currentPlayer(serialize(g));
|
||||
|
|
@ -97,6 +98,35 @@ test('Man God grants abilities without adding government advances', async () =>
|
|||
const after = move(g, { Playing: 'EndTurn' });
|
||||
assert.ok(!after.players[seat(g)].advances.includes('AbsolutePower'));
|
||||
});
|
||||
test('research marks only currently granted Man God abilities, without ownership or actions', async () => {
|
||||
const g = await setup('Egypt');
|
||||
const index = seat(g), p = g.players[index];
|
||||
addAdvance(p, 'Myths', 'Priesthood');
|
||||
const pairs = [
|
||||
['Dogma', 'Nationalism'], ['Devotion', 'Totalitarianism'],
|
||||
['Conversion', 'AbsolutePower'], ['Fanaticism', 'ForcedLabor'],
|
||||
];
|
||||
const marked = () => {
|
||||
const v = view(g);
|
||||
const abilities = v.players.find((player: any) => player.index === index).advances;
|
||||
return v.advances.filter((a: any) => manGodAbility(a, abilities)).map((a: any) => a.id).sort();
|
||||
};
|
||||
assert.deepEqual(marked(), []);
|
||||
for (const [source, granted] of pairs) {
|
||||
addAdvance(p, source);
|
||||
const v = view(g), advance = v.advances.find((a: any) => a.id === granted);
|
||||
assert.ok(marked().includes(granted));
|
||||
assert.equal(advance.owned, false);
|
||||
assert.equal(advance.action, null);
|
||||
assert.ok(!p.advances.includes(granted));
|
||||
}
|
||||
assert.deepEqual(marked(), pairs.map(([, id]) => id).sort());
|
||||
p.advances = p.advances.filter((id: string) => id !== 'Conversion');
|
||||
assert.deepEqual(marked(), ['ForcedLabor', 'Nationalism', 'Totalitarianism']);
|
||||
p.advances = p.advances.filter((id: string) => !pairs.some(([source]) => source === id));
|
||||
assert.deepEqual(marked(), []);
|
||||
});
|
||||
|
||||
test('Beloved charges once and records protected city tokens', async () => {
|
||||
const g = await setup('Egypt', 'Cleopatra'),
|
||||
index = seat(g),
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { test } from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import { researchReferences, researchTextParts, researchOwners } from './research-links.ts';
|
||||
import { manGodAbility, researchReferences, researchTextParts, researchOwners } from './research-links.ts';
|
||||
import type { View } from './types.ts';
|
||||
|
||||
const advances = ['Irrigation', 'Education', 'Public Education', 'Mining'].map((name) => ({
|
||||
|
|
@ -77,3 +77,14 @@ test('research ownership badges use public permanent advances and exclude the vi
|
|||
);
|
||||
assert.deepEqual(researchOwners(view, 'Mining', 0), []);
|
||||
});
|
||||
|
||||
test('Man God indicator distinguishes granted abilities from research and Great Library loans', () => {
|
||||
const advance = { id: 'Nationalism', owned: false };
|
||||
const abilities = [{ ...advances[0], id: 'Nationalism', borrowed: true, borrowedSource: 'Man God', description: '', group: 'Autocracy', order: 0 }];
|
||||
assert.equal(manGodAbility(advance, abilities), true);
|
||||
assert.equal(manGodAbility({ ...advance, owned: true }, abilities), false);
|
||||
assert.equal(manGodAbility(advance), false);
|
||||
assert.equal(manGodAbility({ id: 'Totalitarianism', owned: false }, abilities), false);
|
||||
assert.equal(manGodAbility(advance, [{ ...abilities[0], borrowedSource: 'Great Library' }]), false);
|
||||
assert.equal(manGodAbility(advance, [{ ...abilities[0], borrowed: false }]), false);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,4 +1,11 @@
|
|||
import type { AdvanceView, View } from './types.ts';
|
||||
import type { AdvanceView, PublicAdvance, View } from './types.ts';
|
||||
|
||||
/** Ability access is not ownership and must never affect research eligibility. */
|
||||
export function manGodAbility(advance: Pick<AdvanceView, 'id' | 'owned'>, abilities: PublicAdvance[] = []): boolean {
|
||||
return !advance.owned && abilities.some(
|
||||
(a) => a.id === advance.id && a.borrowed && a.borrowedSource === 'Man God',
|
||||
);
|
||||
}
|
||||
|
||||
export interface ResearchReference {
|
||||
id: string;
|
||||
|
|
|
|||
|
|
@ -204,7 +204,29 @@
|
|||
border: 2px solid var(--gold);
|
||||
box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 22%, transparent);
|
||||
}
|
||||
.research-node.choice-unavailable:not(.selected) {
|
||||
.research-node.ability-granted {
|
||||
border: 2px solid #648eaa;
|
||||
background: #e7f0f5;
|
||||
}
|
||||
.government-locked .ability-granted .research-pick {
|
||||
opacity: 1;
|
||||
}
|
||||
.research-granted-badge {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
margin: 5px 0;
|
||||
color: #315f7c;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.dark .research-node.ability-granted {
|
||||
background: #293e4c;
|
||||
}
|
||||
.dark .research-granted-badge {
|
||||
color: #aed6ef;
|
||||
}
|
||||
.research-node.choice-unavailable:not(.selected):not(.ability-granted) {
|
||||
opacity: 0.55;
|
||||
}
|
||||
.research-node.selected {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue