@if (activeTab === 'ai') {
}
@if (activeTab === 'dice') {
}
@if (activeTab === 'tables') {
}
@if (activeTab === 'objects') {
}
@if (activeTab === 'characters') {
@if (loadingChars) {
Chargement…
}
@if (!loadingChars) {
@if (characters.length > 0) {
Personnages joueurs
@for (c of characters; track c) {
}
}
@if (npcs.length > 0) {
Personnages non-joueurs
@for (n of npcs; track n) {
}
}
@if (characters.length === 0 && npcs.length === 0) {
Aucun personnage dans cette campagne.
}
}
}
@if (activeTab === 'scenes') {
@if (loadingTree) {
Chargement…
}
@if (!loadingTree && treeData) {
@if (treeData.arcs.length === 0) {
Aucun arc narratif. Construis le scénario de ta campagne pour le retrouver ici.
}
@for (arc of treeData.arcs; track arc) {
{{ arc.name }}
@for (chapter of chaptersOf(arc); track chapter) {
{{ chapter.name }}
@for (scene of scenesOf(chapter); track scene) {
}
}
}
}
}