You've already forked obsidian-visualiser
Add public characters and visibility flag
This commit is contained in:
@@ -29,7 +29,7 @@ export const elementTexts: Record<SpellElement, { class: string, text: string }>
|
||||
light: { class: 'text-light-yellow dark:text-dark-yellow', text: 'Lumière' },
|
||||
psyche: { class: 'text-light-purple dark:text-dark-purple', text: 'Psy' },
|
||||
}
|
||||
export const spellTypeTexts: Record<SpellType, string> = { "instinct": "Instinct", "knowledge": "Savoir", "precision": "Précision" };
|
||||
export const spellTypeTexts: Record<SpellType, string> = { "instinct": "Instinct", "knowledge": "Savoir", "precision": "Précision", "arts": "Oeuvres" };
|
||||
|
||||
export type Progression = {
|
||||
training: Record<MainStat, DoubleIndex<TrainingLevel>[]>;
|
||||
@@ -50,6 +50,7 @@ export type Character = {
|
||||
progress: Progression;
|
||||
values: CharacterValues;
|
||||
owner?: number;
|
||||
visibility: "private" | "public";
|
||||
};
|
||||
export type CharacterValues = {
|
||||
hp: number;
|
||||
|
||||
Reference in New Issue
Block a user