1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-12-15 14:49:42 +00:00

Personalities

This commit is contained in:
Yan Maniez 2019-04-09 21:52:35 +02:00
parent 62b17e8659
commit b5381891c7
1831 changed files with 8974 additions and 8799 deletions

View file

@ -1,7 +1,6 @@
namespace AideDeJeuLib
{
public class PersonalityDefectItem : Item, TableProperty
public class PersonalityDefectItem : PersonalityItem
{
public string Table { get; set; }
}
}

View file

@ -1,7 +1,6 @@
namespace AideDeJeuLib
{
public class PersonalityIdealItem : Item, TableProperty
public class PersonalityIdealItem : PersonalityItem
{
public string Table { get; set; }
}
}

View file

@ -0,0 +1,7 @@
namespace AideDeJeuLib
{
public class PersonalityItem : Item, TableProperty
{
public string Table { get; set; }
}
}

View file

@ -1,7 +1,6 @@
namespace AideDeJeuLib
{
public class PersonalityLinkItem : Item, TableProperty
public class PersonalityLinkItem : PersonalityItem
{
public string Table { get; set; }
}
}

View file

@ -1,7 +1,6 @@
namespace AideDeJeuLib
{
public class PersonalityTraitItem : Item, TableProperty
public class PersonalityTraitItem : PersonalityItem
{
public string Table { get; set; }
}
}

View file

@ -7,6 +7,19 @@ namespace AideDeJeu.ViewModels
{
public class PickerViewModel<T> : BaseViewModel where T:class
{
private string _Title = null;
public string Title
{
get
{
return _Title;
}
set
{
SetProperty(ref _Title, value);
}
}
private List<T> _Items = null;
public List<T> Items
{

View file

@ -22,6 +22,9 @@ namespace AideDeJeu.ViewModels
Backgrounds = new NotifyTaskCompletion<List<BackgroundItem>>(Task.Run(() => LoadBackgroundsAsync()));
SubBackgrounds = new NotifyTaskCompletion<List<SubBackgroundItem>>(null);
PersonalityTraits = new NotifyTaskCompletion<List<string>>(null);
PersonalityIdeals = new NotifyTaskCompletion<List<string>>(null);
PersonalityLinks = new NotifyTaskCompletion<List<string>>(null);
PersonalityDefects = new NotifyTaskCompletion<List<string>>(null);
}
#region Selected PC
@ -109,7 +112,14 @@ namespace AideDeJeu.ViewModels
SelectedPlayerCharacter.Background = Backgrounds.Result[_BackgroundSelectedIndex];
SubBackgrounds = new NotifyTaskCompletion<List<SubBackgroundItem>>(Task.Run(() => LoadSubBackgroundsAsync(SelectedPlayerCharacter.Background)));
PersonalityTraits = new NotifyTaskCompletion<List<string>>(Task.Run(() => LoadPersonalityTraitsAsync(SelectedPlayerCharacter.Background)));
PersonalityIdeals = new NotifyTaskCompletion<List<string>>(Task.Run(() => LoadPersonalityIdealsAsync(SelectedPlayerCharacter.Background)));
PersonalityLinks = new NotifyTaskCompletion<List<string>>(Task.Run(() => LoadPersonalityLinksAsync(SelectedPlayerCharacter.Background)));
PersonalityDefects = new NotifyTaskCompletion<List<string>>(Task.Run(() => LoadPersonalityDefectsAsync(SelectedPlayerCharacter.Background)));
SelectedPlayerCharacter.SubBackground = null;
SelectedPlayerCharacter.PersonalityTrait = null;
SelectedPlayerCharacter.PersonalityIdeal = null;
SelectedPlayerCharacter.PersonalityLink = null;
SelectedPlayerCharacter.PersonalityDefect = null;
}
}
@ -160,6 +170,42 @@ namespace AideDeJeu.ViewModels
SetProperty(ref _PersonalityTraits, value);
}
}
private NotifyTaskCompletion<List<string>> _PersonalityIdeals = null;
public NotifyTaskCompletion<List<string>> PersonalityIdeals
{
get
{
return _PersonalityIdeals;
}
private set
{
SetProperty(ref _PersonalityIdeals, value);
}
}
private NotifyTaskCompletion<List<string>> _PersonalityLinks = null;
public NotifyTaskCompletion<List<string>> PersonalityLinks
{
get
{
return _PersonalityLinks;
}
private set
{
SetProperty(ref _PersonalityLinks, value);
}
}
private NotifyTaskCompletion<List<string>> _PersonalityDefects = null;
public NotifyTaskCompletion<List<string>> PersonalityDefects
{
get
{
return _PersonalityDefects;
}
private set
{
SetProperty(ref _PersonalityDefects, value);
}
}
public async Task<List<BackgroundItem>> LoadBackgroundsAsync()
{
@ -170,27 +216,78 @@ namespace AideDeJeu.ViewModels
}
}
public List<string> ExtractSimpleTable(string table)
{
var lines = table.Split('\n');
var result = new List<string>();
foreach (var line in lines.Skip(2))
{
if (line.StartsWith("|"))
{
var cols = line.Split('|');
var text = cols[2].Replace("<!--br-->", " ").Replace(" ", " ");
result.Add(text);
}
}
return result;
}
public async Task<List<string>> LoadPersonalityTraitsAsync(BackgroundItem background)
{
if (background != null)
{
using (var context = await StoreViewModel.GetLibraryContextAsync())
{
var list = await context.PersonalityTraits.Where(it => it.ParentLink.StartsWith(background.RootId)).OrderBy(b => Tools.Helpers.RemoveDiacritics(b.Name)).ToListAsync().ConfigureAwait(false);
var list = await context.PersonalityTraits.Where(it => it.ParentLink.StartsWith(background.RootId)).ToListAsync().ConfigureAwait(false);
var item = list.FirstOrDefault();
var table = item.Table;
var lines = table.Split('\n');
var result = new List<string>();
foreach (var line in lines.Skip(2))
{
if (line.StartsWith("|"))
{
var cols = line.Split('|');
var text = cols[2].Replace("<!--br-->", " ").Replace(" ", " ");
result.Add(text);
}
}
return result;
return ExtractSimpleTable(item.Table);
}
}
else
{
return null;
}
}
public async Task<List<string>> LoadPersonalityIdealsAsync(BackgroundItem background)
{
if (background != null)
{
using (var context = await StoreViewModel.GetLibraryContextAsync())
{
var list = await context.PersonalityIdeals.Where(it => it.ParentLink.StartsWith(background.RootId)).ToListAsync().ConfigureAwait(false);
var item = list.FirstOrDefault();
return ExtractSimpleTable(item.Table);
}
}
else
{
return null;
}
}
public async Task<List<string>> LoadPersonalityLinksAsync(BackgroundItem background)
{
if (background != null)
{
using (var context = await StoreViewModel.GetLibraryContextAsync())
{
var list = await context.PersonalityLinks.Where(it => it.ParentLink.StartsWith(background.RootId)).ToListAsync().ConfigureAwait(false);
var item = list.FirstOrDefault();
return ExtractSimpleTable(item.Table);
}
}
else
{
return null;
}
}
public async Task<List<string>> LoadPersonalityDefectsAsync(BackgroundItem background)
{
if (background != null)
{
using (var context = await StoreViewModel.GetLibraryContextAsync())
{
var list = await context.PersonalityDefects.Where(it => it.ParentLink.StartsWith(background.RootId)).ToListAsync().ConfigureAwait(false);
var item = list.FirstOrDefault();
return ExtractSimpleTable(item.Table);
}
}
else
@ -216,23 +313,45 @@ namespace AideDeJeu.ViewModels
}
}
public ICommand StringPickerCommand
public ICommand PersonalityTraitPickerCommand
{
get
{
return new Command<List<string>>(async (strings) => await ExecuteStringPickerCommandAsync(strings));
return new Command<List<string>>(async (strings) => SelectedPlayerCharacter.PersonalityTrait = await ExecuteStringPickerCommandAsync(strings));
}
}
public ICommand PersonalityIdealPickerCommand
{
get
{
return new Command<List<string>>(async (strings) => SelectedPlayerCharacter.PersonalityIdeal = await ExecuteStringPickerCommandAsync(strings));
}
}
public ICommand PersonalityLinkPickerCommand
{
get
{
return new Command<List<string>>(async (strings) => SelectedPlayerCharacter.PersonalityLink = await ExecuteStringPickerCommandAsync(strings));
}
}
public ICommand PersonalityDefectPickerCommand
{
get
{
return new Command<List<string>>(async (strings) => SelectedPlayerCharacter.PersonalityDefect = await ExecuteStringPickerCommandAsync(strings));
}
}
private async Task ExecuteStringPickerCommandAsync(List<string> strings)
private async Task<string> ExecuteStringPickerCommandAsync(List<string> strings)
{
var picker = new Views.StringPicker();
var vm = picker.ViewModel;
vm.Title = "Trait de personnalité";
vm.Items = strings;
await Main.Navigator.Navigation.PushModalAsync(picker, true);
var result = await vm.PickValueAsync();
await Main.Navigator.Navigation.PopModalAsync(true);
SelectedPlayerCharacter.PersonalityTrait = result;
return result;
}
#endregion Background

View file

@ -67,5 +67,41 @@ namespace AideDeJeu.ViewModels
SetProperty(ref _PersonalityTrait, value);
}
}
private string _PersonalityIdeal = null;
public string PersonalityIdeal
{
get
{
return _PersonalityIdeal;
}
set
{
SetProperty(ref _PersonalityIdeal, value);
}
}
private string _PersonalityLink = null;
public string PersonalityLink
{
get
{
return _PersonalityLink;
}
set
{
SetProperty(ref _PersonalityLink, value);
}
}
private string _PersonalityDefect = null;
public string PersonalityDefect
{
get
{
return _PersonalityDefect;
}
set
{
SetProperty(ref _PersonalityDefect, value);
}
}
}
}

View file

@ -561,6 +561,9 @@ namespace AideDeJeu.ViewModels
public DbSet<BackgroundItem> Backgrounds { get; set; }
public DbSet<SubBackgroundItem> SubBackgrounds { get; set; }
public DbSet<PersonalityTraitItem> PersonalityTraits { get; set; }
public DbSet<PersonalityIdealItem> PersonalityIdeals { get; set; }
public DbSet<PersonalityLinkItem> PersonalityLinks { get; set; }
public DbSet<PersonalityDefectItem> PersonalityDefects { get; set; }
public AideDeJeuContext(string dbPath)
{

View file

@ -58,19 +58,21 @@
<StackLayout HorizontalOptions="FillAndExpand" >
<mdview:MarkdownView Markdown="{Binding SelectedPlayerCharacter.Background.Description}" />
<mdview:MarkdownView Markdown="{Binding SelectedPlayerCharacter.SubBackground.Description}" />
<Button Text="Trait de personnalité" Command="{Binding StringPickerCommand}" CommandParameter="{Binding PersonalityTraits.Result}" />
<mdview:MarkdownView HorizontalOptions="FillAndExpand" Markdown="{Binding SelectedPlayerCharacter.PersonalityTrait}" />
<!--<ListView HorizontalOptions="FillAndExpand" ItemsSource="{Binding PersonalityTraits.Result}">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<mdview:MarkdownView HorizontalOptions="FillAndExpand" Markdown="{Binding}" />
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>-->
<mdview:MarkdownView Markdown="{Binding SelectedPlayerCharacter.Background.Markdown}" />
<mdview:MarkdownView Markdown="{Binding SelectedPlayerCharacter.SubBackground.Markdown}" />
<Button IsVisible="{Binding SubBackgrounds.IsSuccessfullyCompleted}" Text="Trait de personnalité" Command="{Binding PersonalityTraitPickerCommand}" CommandParameter="{Binding PersonalityTraits.Result}" />
<mdview:MarkdownView IsVisible="{Binding SubBackgrounds.IsSuccessfullyCompleted}" HorizontalOptions="FillAndExpand" Markdown="{Binding SelectedPlayerCharacter.PersonalityTrait}" />
<Button IsVisible="{Binding SubBackgrounds.IsSuccessfullyCompleted}" Text="Idéal" Command="{Binding PersonalityIdealPickerCommand}" CommandParameter="{Binding PersonalityIdeals.Result}" />
<mdview:MarkdownView IsVisible="{Binding SubBackgrounds.IsSuccessfullyCompleted}" HorizontalOptions="FillAndExpand" Markdown="{Binding SelectedPlayerCharacter.PersonalityIdeal}" />
<Button IsVisible="{Binding SubBackgrounds.IsSuccessfullyCompleted}" Text="Lien" Command="{Binding PersonalityLinkPickerCommand}" CommandParameter="{Binding PersonalityLinks.Result}" />
<mdview:MarkdownView IsVisible="{Binding SubBackgrounds.IsSuccessfullyCompleted}" HorizontalOptions="FillAndExpand" Markdown="{Binding SelectedPlayerCharacter.PersonalityLink}" />
<Button IsVisible="{Binding SubBackgrounds.IsSuccessfullyCompleted}" Text="Défaut" Command="{Binding PersonalityDefectPickerCommand}" CommandParameter="{Binding PersonalityDefects.Result}" />
<mdview:MarkdownView IsVisible="{Binding SubBackgrounds.IsSuccessfullyCompleted}" HorizontalOptions="FillAndExpand" Markdown="{Binding SelectedPlayerCharacter.PersonalityDefect}" />
<!--<mdview:MarkdownView Markdown="{Binding SelectedPlayerCharacter.Background.Markdown}" />
<mdview:MarkdownView Markdown="{Binding SelectedPlayerCharacter.SubBackground.Markdown}" />-->
</StackLayout>
</ScrollView>
</StackLayout>

View file

@ -2,18 +2,17 @@
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:mdview="clr-namespace:Xam.Forms.Markdown"
x:Class="AideDeJeu.Views.StringPicker">
x:Class="AideDeJeu.Views.StringPicker"
Title="{Binding Title}">
<ContentPage.Content>
<StackLayout>
<ListView ItemsSource="{Binding Items}" SelectedItem="{Binding SelectedItem, Mode=TwoWay}">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<mdview:MarkdownView HorizontalOptions="FillAndExpand" Markdown="{Binding}" />
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackLayout>
<ListView ItemsSource="{Binding Items}" HasUnevenRows="True" SelectedItem="{Binding SelectedItem, Mode=TwoWay}">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<mdview:MarkdownView HorizontalOptions="FillAndExpand" Markdown="{Binding}" />
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</ContentPage.Content>
</ContentPage>

View file

@ -1,13 +1,13 @@
---
!Items
Name: Utiliser les caractéristiques
AltName: Using Ability Scores (SRD p76)
Source: (MDR p258)
Id: abilities_hd.md#utiliser-les-caractéristiques
RootId: abilities_hd.md
ParentLink: index.md
Name: Utiliser les caractéristiques
ParentName: Manuel des règles
NameLevel: 1
AltName: Using Ability Scores (SRD p76)
Source: (MDR p258)
Attributes: {}
---
>  [Manuel des règles](index.md)

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Avantage et désavantage
Id: abilities_hd.md#avantage-et-désavantage
ParentLink: abilities_hd.md#utiliser-les-caractéristiques
Name: Avantage et désavantage
ParentName: Utiliser les caractéristiques
NameLevel: 1
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Bonus de maîtrise
Id: abilities_hd.md#bonus-de-maîtrise
ParentLink: abilities_hd.md#utiliser-les-caractéristiques
Name: Bonus de maîtrise
ParentName: Utiliser les caractéristiques
NameLevel: 1
Attributes: {}

View file

@ -1,13 +1,13 @@
---
!Items
Name: Charisme
AltName: Charisma (SRD p82)
Source: (MDR p265)
Id: abilities_charisma_hd.md#charisme
RootId: abilities_charisma_hd.md
ParentLink: abilities_hd.md
Name: Charisme
ParentName: Caractéristiques
NameLevel: 1
AltName: Charisma (SRD p82)
Source: (MDR p265)
Attributes: {}
---
>  [Caractéristiques](hd_abilities.md)

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Autres tests de Charisme
Id: abilities_charisma_hd.md#autres-tests-de-charisme
ParentLink: abilities_charisma_hd.md#charisme
Name: Autres tests de Charisme
ParentName: Charisme
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Caractéristique d'incantation
Id: abilities_charisma_hd.md#caractéristique-dincantation
ParentLink: abilities_charisma_hd.md#charisme
Name: Caractéristique d'incantation
ParentName: Charisme
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Intimidation
Id: abilities_charisma_hd.md#intimidation
ParentLink: abilities_charisma_hd.md#charisme
Name: Intimidation
ParentName: Charisme
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Persuasion
Id: abilities_charisma_hd.md#persuasion
ParentLink: abilities_charisma_hd.md#charisme
Name: Persuasion
ParentName: Charisme
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Représentation
Id: abilities_charisma_hd.md#représentation
ParentLink: abilities_charisma_hd.md#charisme
Name: Représentation
ParentName: Charisme
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Supercherie
Id: abilities_charisma_hd.md#supercherie
ParentLink: abilities_charisma_hd.md#charisme
Name: Supercherie
ParentName: Charisme
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Tests de Charisme
Id: abilities_charisma_hd.md#tests-de-charisme
ParentLink: abilities_charisma_hd.md#charisme
Name: Tests de Charisme
ParentName: Charisme
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Compétences
Id: abilities_hd.md#compétences
ParentLink: abilities_hd.md#utiliser-les-caractéristiques
Name: Compétences
ParentName: Utiliser les caractéristiques
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Points de vie
Id: abilities_constitution_hd.md#points-de-vie
ParentLink: abilities_constitution_hd.md#constitution
Name: Points de vie
ParentName: Constitution
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Tests de Constitution
Id: abilities_constitution_hd.md#tests-de-constitution
ParentLink: abilities_constitution_hd.md#constitution
Name: Tests de Constitution
ParentName: Constitution
NameLevel: 2
Attributes: {}

View file

@ -1,13 +1,13 @@
---
!Items
Name: Dextérité
AltName: Dexterity (SRD p80)
Source: (MDR p263)
Id: abilities_dexterity_hd.md#dextérité
RootId: abilities_dexterity_hd.md
ParentLink: abilities_hd.md
Name: Dextérité
ParentName: Caractéristiques
NameLevel: 1
AltName: Dexterity (SRD p80)
Source: (MDR p263)
Attributes: {}
---
>  [Caractéristiques](hd_abilities.md)

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Acrobaties
Id: abilities_dexterity_hd.md#acrobaties
ParentLink: abilities_dexterity_hd.md#dextérité
Name: Acrobaties
ParentName: Dextérité
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Autres tests de Dextérité
Id: abilities_dexterity_hd.md#autres-tests-de-dextérité
ParentLink: abilities_dexterity_hd.md#dextérité
Name: Autres tests de Dextérité
ParentName: Dextérité
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Classe d'armure
Id: abilities_dexterity_hd.md#classe-darmure
ParentLink: abilities_dexterity_hd.md#dextérité
Name: Classe d'armure
ParentName: Dextérité
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Discrétion
Id: abilities_dexterity_hd.md#discrétion
ParentLink: abilities_dexterity_hd.md#dextérité
Name: Discrétion
ParentName: Dextérité
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Escamotage
Id: abilities_dexterity_hd.md#escamotage
ParentLink: abilities_dexterity_hd.md#dextérité
Name: Escamotage
ParentName: Dextérité
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Initiative
Id: abilities_dexterity_hd.md#initiative
ParentLink: abilities_dexterity_hd.md#dextérité
Name: Initiative
ParentName: Dextérité
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Jets d'attaque et de dégâts
Id: abilities_dexterity_hd.md#jets-dattaque-et-de-dégâts
ParentLink: abilities_dexterity_hd.md#dextérité
Name: Jets d'attaque et de dégâts
ParentName: Dextérité
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Perception passive
Id: abilities_dexterity_hd.md#perception-passive
ParentLink: abilities_dexterity_hd.md#dextérité
Name: Perception passive
ParentName: Dextérité
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Que pouvez-vous voir ?
Id: abilities_dexterity_hd.md#que-pouvez-vous-voir-?
ParentLink: abilities_dexterity_hd.md#dextérité
Name: Que pouvez-vous voir ?
ParentName: Dextérité
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Se cacher
Id: abilities_dexterity_hd.md#se-cacher
ParentLink: abilities_dexterity_hd.md#dextérité
Name: Se cacher
ParentName: Dextérité
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Tests de Dextérité
Id: abilities_dexterity_hd.md#tests-de-dextérité
ParentLink: abilities_dexterity_hd.md#dextérité
Name: Tests de Dextérité
ParentName: Dextérité
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Arcanes
Id: abilities_intelligence_hd.md#arcanes
ParentLink: abilities_intelligence_hd.md#intelligence
Name: Arcanes
ParentName: Intelligence
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Autres tests d'Intelligence
Id: abilities_intelligence_hd.md#autres-tests-dintelligence
ParentLink: abilities_intelligence_hd.md#intelligence
Name: Autres tests d'Intelligence
ParentName: Intelligence
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Caractéristique d'incantation
Id: abilities_intelligence_hd.md#caractéristique-dincantation
ParentLink: abilities_intelligence_hd.md#intelligence
Name: Caractéristique d'incantation
ParentName: Intelligence
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Histoire
Id: abilities_intelligence_hd.md#histoire
ParentLink: abilities_intelligence_hd.md#intelligence
Name: Histoire
ParentName: Intelligence
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Investigation
Id: abilities_intelligence_hd.md#investigation
ParentLink: abilities_intelligence_hd.md#intelligence
Name: Investigation
ParentName: Intelligence
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Nature
Id: abilities_intelligence_hd.md#nature
ParentLink: abilities_intelligence_hd.md#intelligence
Name: Nature
ParentName: Intelligence
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Religion
Id: abilities_intelligence_hd.md#religion
ParentLink: abilities_intelligence_hd.md#intelligence
Name: Religion
ParentName: Intelligence
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Tests d'Intelligence
Id: abilities_intelligence_hd.md#tests-dintelligence
ParentLink: abilities_intelligence_hd.md#intelligence
Name: Tests d'Intelligence
ParentName: Intelligence
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Jets de sauvegarde
Id: abilities_hd.md#jets-de-sauvegarde
ParentLink: abilities_hd.md#utiliser-les-caractéristiques
Name: Jets de sauvegarde
ParentName: Utiliser les caractéristiques
NameLevel: 1
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Opposition
Id: abilities_hd.md#opposition
ParentLink: abilities_hd.md#utiliser-les-caractéristiques
Name: Opposition
ParentName: Utiliser les caractéristiques
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: 'Option : compétences associées avec différentes caractéristiques'
Id: abilities_hd.md#option--compétences-associées-avec-différentes-caractéristiques
ParentLink: abilities_hd.md#utiliser-les-caractéristiques
Name: 'Option : compétences associées avec différentes caractéristiques'
ParentName: Utiliser les caractéristiques
NameLevel: 3
Attributes: {}

View file

@ -1,13 +1,13 @@
---
!Items
Name: Force
AltName: Strength (SRD p79)
Source: (MDR p262)
Id: abilities_strength_hd.md#force
RootId: abilities_strength_hd.md
ParentLink: abilities_hd.md
Name: Force
ParentName: Caractéristiques
NameLevel: 1
AltName: Strength (SRD p79)
Source: (MDR p262)
Attributes: {}
---
>  [Caractéristiques](hd_abilities.md)

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Athlétisme
Id: abilities_strength_hd.md#athlétisme
ParentLink: abilities_strength_hd.md#force
Name: Athlétisme
ParentName: Force
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: 'Autres tests de Force '
Id: abilities_strength_hd.md#autres-tests-de-force-
ParentLink: abilities_strength_hd.md#force
Name: 'Autres tests de Force '
ParentName: Force
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Capacité de charge
Id: abilities_strength_hd.md#capacité-de-charge
ParentLink: abilities_strength_hd.md#force
Name: Capacité de charge
ParentName: Force
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Jets d'attaque et de dégâts
Id: abilities_strength_hd.md#jets-dattaque-et-de-dégâts
ParentLink: abilities_strength_hd.md#force
Name: Jets d'attaque et de dégâts
ParentName: Force
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Pousser, tirer, soulever
Id: abilities_strength_hd.md#pousser-tirer-soulever
ParentLink: abilities_strength_hd.md#force
Name: Pousser, tirer, soulever
ParentName: Force
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Soulever et transporter
Id: abilities_strength_hd.md#soulever-et-transporter
ParentLink: abilities_strength_hd.md#force
Name: Soulever et transporter
ParentName: Force
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Taille et Force
Id: abilities_strength_hd.md#taille-et-force
ParentLink: abilities_strength_hd.md#force
Name: Taille et Force
ParentName: Force
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Tests de Force
Id: abilities_strength_hd.md#tests-de-force
ParentLink: abilities_strength_hd.md#force
Name: Tests de Force
ParentName: Force
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Tests de caractéristique
Id: abilities_hd.md#tests-de-caractéristique
ParentLink: abilities_hd.md#utiliser-les-caractéristiques
Name: Tests de caractéristique
ParentName: Utiliser les caractéristiques
NameLevel: 1
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Tests de groupe
Id: abilities_hd.md#tests-de-groupe
ParentLink: abilities_hd.md#utiliser-les-caractéristiques
Name: Tests de groupe
ParentName: Utiliser les caractéristiques
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Tests passifs
Id: abilities_hd.md#tests-passifs
ParentLink: abilities_hd.md#utiliser-les-caractéristiques
Name: Tests passifs
ParentName: Utiliser les caractéristiques
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Travailler ensemble
Id: abilities_hd.md#travailler-ensemble
ParentLink: abilities_hd.md#utiliser-les-caractéristiques
Name: Travailler ensemble
ParentName: Utiliser les caractéristiques
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Utiliser chaque caractéristique
Id: abilities_hd.md#utiliser-chaque-caractéristique
ParentLink: abilities_hd.md#utiliser-les-caractéristiques
Name: Utiliser chaque caractéristique
ParentName: Utiliser les caractéristiques
NameLevel: 1
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Valeurs de caractéristiques et modificateurs
Id: abilities_hd.md#valeurs-de-caractéristiques-et-modificateurs
ParentLink: abilities_hd.md#utiliser-les-caractéristiques
Name: Valeurs de caractéristiques et modificateurs
ParentName: Utiliser les caractéristiques
NameLevel: 1
Attributes: {}

View file

@ -1,13 +1,13 @@
---
!Items
Name: Sagesse
AltName: Wisdom (SRD p82)
Source: (MDR p265)
Id: abilities_wisdom_hd.md#sagesse
RootId: abilities_wisdom_hd.md
ParentLink: abilities_hd.md
Name: Sagesse
ParentName: Caractéristiques
NameLevel: 1
AltName: Wisdom (SRD p82)
Source: (MDR p265)
Attributes: {}
---
>  [Caractéristiques](hd_abilities.md)

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Autres tests de Sagesse
Id: abilities_wisdom_hd.md#autres-tests-de-sagesse
ParentLink: abilities_wisdom_hd.md#sagesse
Name: Autres tests de Sagesse
ParentName: Sagesse
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Caractéristique d'incantation
Id: abilities_wisdom_hd.md#caractéristique-dincantation
ParentLink: abilities_wisdom_hd.md#sagesse
Name: Caractéristique d'incantation
ParentName: Sagesse
NameLevel: 2
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Dressage
Id: abilities_wisdom_hd.md#dressage
ParentLink: abilities_wisdom_hd.md#sagesse
Name: Dressage
ParentName: Sagesse
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Médecine
Id: abilities_wisdom_hd.md#médecine
ParentLink: abilities_wisdom_hd.md#sagesse
Name: Médecine
ParentName: Sagesse
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Perception
Id: abilities_wisdom_hd.md#perception
ParentLink: abilities_wisdom_hd.md#sagesse
Name: Perception
ParentName: Sagesse
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Perspicacité
Id: abilities_wisdom_hd.md#perspicacité
ParentLink: abilities_wisdom_hd.md#sagesse
Name: Perspicacité
ParentName: Sagesse
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Survie
Id: abilities_wisdom_hd.md#survie
ParentLink: abilities_wisdom_hd.md#sagesse
Name: Survie
ParentName: Sagesse
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Tests de Sagesse
Id: abilities_wisdom_hd.md#tests-de-sagesse
ParentLink: abilities_wisdom_hd.md#sagesse
Name: Tests de Sagesse
ParentName: Sagesse
NameLevel: 2
Attributes: {}

View file

@ -1,9 +1,9 @@
---
!Items
Name: Partir à l'aventure
Id: adventure_hd.md#partir-à-laventure
RootId: adventure_hd.md
ParentLink: index.md
Name: Partir à l'aventure
ParentName: Manuel des règles
NameLevel: 1
Attributes: {}

View file

@ -1,13 +1,13 @@
---
!Items
Name: Alignement
AltName: Alignment (SRD p58)
Source: (MDR p75)
Id: alignment_hd.md#alignement
RootId: alignment_hd.md
ParentLink: personnality_background_hd.md#
Name: Alignement
ParentName: Personnalité et Historique
NameLevel: 1
AltName: Alignment (SRD p58)
Source: (MDR p75)
Attributes: {}
---
>  [Personnalité et Historique](personnality_background_hd.md#)

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Chaotique Bon (CB)
Id: alignment_hd.md#chaotique-bon-cb
ParentLink: alignment_hd.md#alignement
Name: Chaotique Bon (CB)
ParentName: Alignement
NameLevel: 4
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Chaotique Mauvais (CM)
Id: alignment_hd.md#chaotique-mauvais-cm
ParentLink: alignment_hd.md#alignement
Name: Chaotique Mauvais (CM)
ParentName: Alignement
NameLevel: 4
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Chaotique Neutre (CN)
Id: alignment_hd.md#chaotique-neutre-cn
ParentLink: alignment_hd.md#alignement
Name: Chaotique Neutre (CN)
ParentName: Alignement
NameLevel: 4
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: L'alignement dans le multivers
Id: alignment_hd.md#lalignement-dans-le-multivers
ParentLink: alignment_hd.md#alignement
Name: L'alignement dans le multivers
ParentName: Alignement
NameLevel: 3
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Loyal Bon (LB)
Id: alignment_hd.md#loyal-bon-lb
ParentLink: alignment_hd.md#alignement
Name: Loyal Bon (LB)
ParentName: Alignement
NameLevel: 4
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Loyal Mauvais (LM)
Id: alignment_hd.md#loyal-mauvais-lm
ParentLink: alignment_hd.md#alignement
Name: Loyal Mauvais (LM)
ParentName: Alignement
NameLevel: 4
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Loyal Neutre (LN)
Id: alignment_hd.md#loyal-neutre-ln
ParentLink: alignment_hd.md#alignement
Name: Loyal Neutre (LN)
ParentName: Alignement
NameLevel: 4
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Neutre Bon (NB)
Id: alignment_hd.md#neutre-bon-nb
ParentLink: alignment_hd.md#alignement
Name: Neutre Bon (NB)
ParentName: Alignement
NameLevel: 4
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Neutre Mauvais (NM)
Id: alignment_hd.md#neutre-mauvais-nm
ParentLink: alignment_hd.md#alignement
Name: Neutre Mauvais (NM)
ParentName: Alignement
NameLevel: 4
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!GenericItem
Name: Neutre (N)
Id: alignment_hd.md#neutre-n
ParentLink: alignment_hd.md#alignement
Name: Neutre (N)
ParentName: Alignement
NameLevel: 4
Attributes: {}

View file

@ -1,13 +1,13 @@
---
!Items
Name: Armures
AltName: Armor (SRD p62)
Source: (MDR p223)
Id: armor_hd.md#armures
RootId: armor_hd.md
ParentLink: equipment_hd.md
Name: Armures
ParentName: Équipement
NameLevel: 1
AltName: Armor (SRD p62)
Source: (MDR p223)
Attributes: {}
---
>  [Équipement](hd_equipment.md)

View file

@ -1,12 +1,12 @@
---
!GenericItem
Id: armor_hd.md#armures-intermédiaires
ParentLink: armor_hd.md#armures
Name: Armures intermédiaires
ParentName: Armures
NameLevel: 3
AltName: Medium Armor (SRD p63)
Source: (MDR p224)
Id: armor_hd.md#armures-intermédiaires
ParentLink: armor_hd.md#armures
ParentName: Armures
NameLevel: 3
Attributes: {}
---
> [Armures](hd_armor.md)

View file

@ -1,12 +1,12 @@
---
!GenericItem
Id: armor_hd.md#armures-légères
ParentLink: armor_hd.md#armures
Name: Armures légères
ParentName: Armures
NameLevel: 3
AltName: Light Armor (SRD p63)
Source: (MDR p223)
Id: armor_hd.md#armures-légères
ParentLink: armor_hd.md#armures
ParentName: Armures
NameLevel: 3
Attributes: {}
---
> [Armures](hd_armor.md)

View file

@ -1,12 +1,12 @@
---
!GenericItem
Id: armor_hd.md#armures-lourdes
ParentLink: armor_hd.md#armures
Name: Armures lourdes
ParentName: Armures
NameLevel: 3
AltName: Heavy Armor (SRD p63)
Source: (MDR p225)
Id: armor_hd.md#armures-lourdes
ParentLink: armor_hd.md#armures
ParentName: Armures
NameLevel: 3
Attributes: {}
---
> [Armures](hd_armor.md)

View file

@ -1,12 +1,12 @@
---
!GenericItem
Id: armor_hd.md#enfiler-et-retirer-une-armure
ParentLink: armor_hd.md#armures
Name: Enfiler et retirer une armure
ParentName: Armures
NameLevel: 3
AltName: Getting Into and Out of Armor (SRD p64)
Source: (MDR p225)
Id: armor_hd.md#enfiler-et-retirer-une-armure
ParentLink: armor_hd.md#armures
ParentName: Armures
NameLevel: 3
Attributes: {}
---
> [Armures](hd_armor.md)

View file

@ -1,13 +1,13 @@
---
!Items
Name: Artefacts
AltName: Artifacts (SRD p252)
Source: (CDC p191)
Id: artifacts_hd.md#artefacts
RootId: artifacts_hd.md
ParentLink: index.md
Name: Artefacts
ParentName: Cadre de campagne
NameLevel: 1
AltName: Artifacts (SRD p252)
Source: (CDC p191)
Attributes: {}
---
>  [Cadre de campagne](index.md)

View file

@ -1,11 +1,11 @@
---
!GenericItem
Name: ANNEAU DE LUNE
Source: (CDC p191)
Id: artifacts_hd.md#anneau-de-lune
ParentLink: artifacts_hd.md#artefacts
Name: ANNEAU DE LUNE
ParentName: Artefacts
NameLevel: 2
Source: (CDC p191)
Attributes: {}
---
> [Artefacts](hd_artifacts.md)

View file

@ -1,11 +1,11 @@
---
!GenericItem
Name: BOUCLIER DE HROLJNIR
Source: (CDC p191)
Id: artifacts_hd.md#bouclier-de-hroljnir
ParentLink: artifacts_hd.md#artefacts
Name: BOUCLIER DE HROLJNIR
ParentName: Artefacts
NameLevel: 2
Source: (CDC p191)
Attributes: {}
---
> [Artefacts](hd_artifacts.md)

View file

@ -1,11 +1,11 @@
---
!GenericItem
Name: LYRE DE LA REINE SYLVESTRE
Source: (CDC p192)
Id: artifacts_hd.md#lyre-de-la-reine-sylvestre
ParentLink: artifacts_hd.md#artefacts
Name: LYRE DE LA REINE SYLVESTRE
ParentName: Artefacts
NameLevel: 2
Source: (CDC p192)
Attributes: {}
---
> [Artefacts](hd_artifacts.md)

View file

@ -1,12 +1,12 @@
---
!GenericItem
Id: artifacts_hd.md#orbe-des-dragons
ParentLink: artifacts_hd.md#artefacts
Name: ORBE DES DRAGONS
ParentName: Artefacts
NameLevel: 2
AltName: Orb of Dragonkind (SRD p252)
Source: (CDC p192)
Id: artifacts_hd.md#orbe-des-dragons
ParentLink: artifacts_hd.md#artefacts
ParentName: Artefacts
NameLevel: 2
Attributes: {}
---
> [Artefacts](hd_artifacts.md)

View file

@ -1,11 +1,11 @@
---
!GenericItem
Name: PERLE DES PROFONDEURS
Source: (CDC p193)
Id: artifacts_hd.md#perle-des-profondeurs
ParentLink: artifacts_hd.md#artefacts
Name: PERLE DES PROFONDEURS
ParentName: Artefacts
NameLevel: 2
Source: (CDC p193)
Attributes: {}
---
> [Artefacts](hd_artifacts.md)

View file

@ -1,8 +1,8 @@
---
!Items
Name: Personnalités suggérées
Id: background_brigand_hd.md#personnalités-suggérées
ParentLink: background_brigand_hd.md#brigand
Name: Personnalités suggérées
ParentName: Brigand
NameLevel: 4
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!Items
Name: Personnalités suggérées
Id: background_crapule_hd.md#personnalités-suggérées
ParentLink: background_crapule_hd.md#crapule
Name: Personnalités suggérées
ParentName: Crapule
NameLevel: 4
Attributes: {}

View file

@ -1,12 +1,12 @@
---
!Items
Id: background_devot_hd.md#personnalités-suggérées
ParentLink: background_devot_hd.md#dévot
Name: Personnalités suggérées
ParentName: Dévot
NameLevel: 4
AltName: 'Feature: Suggested Characteristics (SRD p61)'
Source: (MDR p82)
Id: background_devot_hd.md#personnalités-suggérées
ParentLink: background_devot_hd.md#dévot
ParentName: Dévot
NameLevel: 4
Attributes: {}
Description: >+
La personnalité des acolytes est façonnée par leurs expériences dans les temples ou les communautés religieuses. Leurs études de l'histoire et des fondements de leur religion, ainsi que leurs rapports aux temples, autels ou clergés ont une influence sur leurs manières et leurs idéaux.

View file

@ -1,8 +1,8 @@
---
!Items
Name: Personnalités suggérées
Id: background_erudit_hd.md#personnalités-suggérées
ParentLink: background_erudit_hd.md#Érudit
Name: Personnalités suggérées
ParentName: Érudit
NameLevel: 4
Attributes: {}

View file

@ -1,8 +1,8 @@
---
!Items
Name: Personnalités suggérées
Id: background_explorateur_hd.md#personnalités-suggérées
ParentLink: background_explorateur_hd.md#explorateur
Name: Personnalités suggérées
ParentName: Explorateur
NameLevel: 4
Attributes: {}

Some files were not shown because too many files have changed in this diff Show more