Esempio n. 1
0
 public Embed GetEmbed()
 {
     return(new EmbedBuilder()
            .WithTitle($"__{NPCResources.NPCTitle}__")
            .WithThumbnailUrl(IconUrl)
            .WithFields(new EmbedFieldBuilder().WithName(NPCResources.Name).WithValue(Name).WithIsInline(false))
            .WithFields(Roles.EmbedFieldBuilderFromList(NPCResources.Role, true))
            .WithFields(Goals.EmbedFieldBuilderFromList(NPCResources.Goal, true))
            .WithFields(Descriptors.EmbedFieldBuilderFromList(NPCResources.Descriptor, true))
            .WithFields(Activities.EmbedFieldBuilderFromList(NPCResources.Activity, true))
            .WithFields(Dispositions.EmbedFieldBuilderFromList(NPCResources.Disposition, true))
            .WithFooter(GameName.Ironsworn.ToString())
            .WithDescription(EmbedDesc)
            .Build());
 }