//
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using SessionCompanion.Database;
namespace SessionCompanion.Database.Migrations
{
[DbContext(typeof(ApplicationDbContext))]
[Migration("20210102163136_weapons-added")]
partial class weaponsadded
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.UseIdentityColumns()
.HasAnnotation("Relational:MaxIdentifierLength", 128)
.HasAnnotation("ProductVersion", "5.0.0");
modelBuilder.Entity("SessionCompanion.Database.Tables.Alignment", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.HasKey("Id");
b.ToTable("Alignments");
b.HasData(
new
{
Id = 1
},
new
{
Id = 2
},
new
{
Id = 3
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Armor", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("ArmorClassBase")
.HasColumnType("nvarchar(max)");
b.Property("Category")
.HasColumnType("nvarchar(max)");
b.Property("Cost")
.HasColumnType("int");
b.Property("CurrencyType")
.HasColumnType("int");
b.Property("HaveDexterityBonus")
.HasColumnType("bit");
b.Property("HaveStealthDisadvantage")
.HasColumnType("bit");
b.Property("MinimumStrength")
.HasColumnType("int");
b.Property("Name")
.HasColumnType("nvarchar(max)");
b.Property("Weight")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("Armors");
b.HasData(
new
{
Id = 1,
ArmorClassBase = "11",
Category = "Light",
Cost = 5,
CurrencyType = 3,
HaveDexterityBonus = true,
HaveStealthDisadvantage = true,
MinimumStrength = 0,
Name = "Padded",
Weight = 8
},
new
{
Id = 2,
ArmorClassBase = "11",
Category = "Light",
Cost = 10,
CurrencyType = 3,
HaveDexterityBonus = true,
HaveStealthDisadvantage = false,
MinimumStrength = 0,
Name = "Leather",
Weight = 10
},
new
{
Id = 3,
ArmorClassBase = "12",
Category = "Light",
Cost = 45,
CurrencyType = 3,
HaveDexterityBonus = true,
HaveStealthDisadvantage = false,
MinimumStrength = 0,
Name = "Studded Leather",
Weight = 13
},
new
{
Id = 4,
ArmorClassBase = "12",
Category = "Medium",
Cost = 10,
CurrencyType = 3,
HaveDexterityBonus = true,
HaveStealthDisadvantage = false,
MinimumStrength = 0,
Name = "Hide",
Weight = 12
},
new
{
Id = 5,
ArmorClassBase = "13",
Category = "Medium",
Cost = 50,
CurrencyType = 3,
HaveDexterityBonus = true,
HaveStealthDisadvantage = false,
MinimumStrength = 0,
Name = "Chain Shirt",
Weight = 20
},
new
{
Id = 6,
ArmorClassBase = "14",
Category = "Medium",
Cost = 50,
CurrencyType = 3,
HaveDexterityBonus = true,
HaveStealthDisadvantage = true,
MinimumStrength = 0,
Name = "Scale Mail",
Weight = 45
},
new
{
Id = 7,
ArmorClassBase = "14",
Category = "Medium",
Cost = 400,
CurrencyType = 3,
HaveDexterityBonus = true,
HaveStealthDisadvantage = false,
MinimumStrength = 0,
Name = "Breastplate",
Weight = 20
},
new
{
Id = 8,
ArmorClassBase = "15",
Category = "Medium",
Cost = 750,
CurrencyType = 3,
HaveDexterityBonus = true,
HaveStealthDisadvantage = true,
MinimumStrength = 0,
Name = "Half Plate",
Weight = 40
},
new
{
Id = 9,
ArmorClassBase = "14",
Category = "Heavy",
Cost = 30,
CurrencyType = 3,
HaveDexterityBonus = false,
HaveStealthDisadvantage = true,
MinimumStrength = 0,
Name = "Ring Mail",
Weight = 40
},
new
{
Id = 10,
ArmorClassBase = "16",
Category = "Heavy",
Cost = 75,
CurrencyType = 3,
HaveDexterityBonus = false,
HaveStealthDisadvantage = true,
MinimumStrength = 13,
Name = "Chain Mail",
Weight = 55
},
new
{
Id = 11,
ArmorClassBase = "17",
Category = "Heavy",
Cost = 200,
CurrencyType = 3,
HaveDexterityBonus = false,
HaveStealthDisadvantage = true,
MinimumStrength = 15,
Name = "Splint",
Weight = 60
},
new
{
Id = 12,
ArmorClassBase = "18",
Category = "Heavy",
Cost = 1500,
CurrencyType = 3,
HaveDexterityBonus = false,
HaveStealthDisadvantage = true,
MinimumStrength = 15,
Name = "Plate",
Weight = 65
},
new
{
Id = 13,
ArmorClassBase = "2",
Category = "Shield",
Cost = 10,
CurrencyType = 3,
HaveDexterityBonus = false,
HaveStealthDisadvantage = false,
MinimumStrength = 0,
Name = "Shield",
Weight = 6
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Background", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.HasKey("Id");
b.ToTable("Backgrounds");
b.HasData(
new
{
Id = 1
},
new
{
Id = 2
},
new
{
Id = 3
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Biography", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("AlignmentId")
.HasColumnType("int");
b.Property("BackgroundId")
.HasColumnType("int");
b.Property("CharacterId")
.HasColumnType("int");
b.Property("ClassId")
.HasColumnType("int");
b.Property("Name")
.HasColumnType("nvarchar(max)");
b.Property("RaceId")
.HasColumnType("int");
b.Property("Sex")
.HasColumnType("nvarchar(max)");
b.HasKey("Id");
b.HasIndex("AlignmentId");
b.HasIndex("BackgroundId");
b.HasIndex("CharacterId")
.IsUnique();
b.HasIndex("ClassId");
b.HasIndex("RaceId");
b.ToTable("Biographies");
b.HasData(
new
{
Id = 1,
AlignmentId = 1,
BackgroundId = 1,
CharacterId = 1,
ClassId = 1,
Name = "Bob",
RaceId = 1,
Sex = "Male"
},
new
{
Id = 2,
AlignmentId = 2,
BackgroundId = 2,
CharacterId = 2,
ClassId = 2,
Name = "Queen Daenerys Stormborn of the House Targaryen, the First of Her Name, Queen of the Andals, the Rhoynar and the First Men, Lady of the Seven Kingdoms and Protector of the Realm, Lady of Dragonstone, Queen of Meereen, Khaleesi of the Great Grass Sea, the Unburnt, Breaker of Chains and Mother of Dragons.",
RaceId = 2,
Sex = "Female"
},
new
{
Id = 3,
AlignmentId = 3,
BackgroundId = 3,
CharacterId = 3,
ClassId = 3,
Name = "Gandalf the White",
RaceId = 3,
Sex = "Both"
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Character", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("UserId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("UserId");
b.ToTable("Characters");
b.HasData(
new
{
Id = 1,
UserId = 1
},
new
{
Id = 2,
UserId = 2
},
new
{
Id = 3,
UserId = 3
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.CharacterArmor", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("ArmorId")
.HasColumnType("int");
b.Property("CharacterId")
.HasColumnType("int");
b.Property("InUse")
.HasColumnType("bit");
b.HasKey("Id");
b.HasIndex("ArmorId");
b.HasIndex("CharacterId");
b.ToTable("CharacterArmors");
b.HasData(
new
{
Id = 1,
ArmorId = 1,
CharacterId = 1,
InUse = true
},
new
{
Id = 2,
ArmorId = 3,
CharacterId = 1,
InUse = false
},
new
{
Id = 3,
ArmorId = 2,
CharacterId = 2,
InUse = true
},
new
{
Id = 4,
ArmorId = 5,
CharacterId = 2,
InUse = false
},
new
{
Id = 5,
ArmorId = 6,
CharacterId = 3,
InUse = true
},
new
{
Id = 6,
ArmorId = 2,
CharacterId = 3,
InUse = false
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.CharacterOtherEquipment", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("CharacterId")
.HasColumnType("int");
b.Property("OtherEquipmentId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("CharacterId");
b.HasIndex("OtherEquipmentId");
b.ToTable("CharacterOtherEquipment");
b.HasData(
new
{
Id = 1,
CharacterId = 1,
OtherEquipmentId = 1
},
new
{
Id = 2,
CharacterId = 1,
OtherEquipmentId = 3
},
new
{
Id = 3,
CharacterId = 2,
OtherEquipmentId = 2
},
new
{
Id = 4,
CharacterId = 2,
OtherEquipmentId = 5
},
new
{
Id = 5,
CharacterId = 3,
OtherEquipmentId = 6
},
new
{
Id = 6,
CharacterId = 3,
OtherEquipmentId = 2
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.CharacterWeapon", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("CharacterId")
.HasColumnType("int");
b.Property("HoldInLeftHand")
.HasColumnType("bit");
b.Property("HoldInRightHand")
.HasColumnType("bit");
b.Property("InUse")
.HasColumnType("bit");
b.Property("WeaponId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("CharacterId");
b.HasIndex("WeaponId");
b.ToTable("CharacterWeapons");
b.HasData(
new
{
Id = 1,
CharacterId = 1,
HoldInLeftHand = false,
HoldInRightHand = false,
InUse = false,
WeaponId = 1
},
new
{
Id = 2,
CharacterId = 1,
HoldInLeftHand = true,
HoldInRightHand = false,
InUse = true,
WeaponId = 4
},
new
{
Id = 3,
CharacterId = 2,
HoldInLeftHand = false,
HoldInRightHand = true,
InUse = true,
WeaponId = 2
},
new
{
Id = 4,
CharacterId = 2,
HoldInLeftHand = false,
HoldInRightHand = false,
InUse = false,
WeaponId = 8
},
new
{
Id = 5,
CharacterId = 3,
HoldInLeftHand = false,
HoldInRightHand = false,
InUse = false,
WeaponId = 9
},
new
{
Id = 7,
CharacterId = 3,
HoldInLeftHand = false,
HoldInRightHand = true,
InUse = true,
WeaponId = 7
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Charisma", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("CanDeception")
.HasColumnType("bit");
b.Property("CanIntimidation")
.HasColumnType("bit");
b.Property("CanPerformance")
.HasColumnType("bit");
b.Property("CanPersuasion")
.HasColumnType("bit");
b.Property("CanSaveThrows")
.HasColumnType("bit");
b.Property("CharacterId")
.HasColumnType("int");
b.Property("Deception")
.HasColumnType("int");
b.Property("Intimidation")
.HasColumnType("int");
b.Property("Modification")
.HasColumnType("int");
b.Property("Performance")
.HasColumnType("int");
b.Property("Persuasion")
.HasColumnType("int");
b.Property("SavingThrows")
.HasColumnType("int");
b.Property("Value")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("CharacterId")
.IsUnique();
b.ToTable("Charismas");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Class", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("Name")
.HasColumnType("nvarchar(max)");
b.HasKey("Id");
b.ToTable("Classes");
b.HasData(
new
{
Id = 1,
Name = "Fighter"
},
new
{
Id = 2,
Name = "Paladin"
},
new
{
Id = 3,
Name = "Cleric"
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Constitution", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("CanSaveThrows")
.HasColumnType("bit");
b.Property("CharacterId")
.HasColumnType("int");
b.Property("Modification")
.HasColumnType("int");
b.Property("SavingThrows")
.HasColumnType("int");
b.Property("Value")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("CharacterId")
.IsUnique();
b.ToTable("Constitutions");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Dexterity", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("Acrobatics")
.HasColumnType("int");
b.Property("CanAcrobatics")
.HasColumnType("bit");
b.Property("CanSaveThrows")
.HasColumnType("bit");
b.Property("CanSleightOfHand")
.HasColumnType("bit");
b.Property("CanStealth")
.HasColumnType("bit");
b.Property("CharacterId")
.HasColumnType("int");
b.Property("Modification")
.HasColumnType("int");
b.Property("SavingThrows")
.HasColumnType("int");
b.Property("SleightOfHand")
.HasColumnType("int");
b.Property("Stealth")
.HasColumnType("int");
b.Property("Value")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("CharacterId")
.IsUnique();
b.ToTable("Dexterities");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Intelligence", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("Arcana")
.HasColumnType("int");
b.Property("CanArcana")
.HasColumnType("bit");
b.Property("CanHistory")
.HasColumnType("bit");
b.Property("CanInvestigation")
.HasColumnType("bit");
b.Property("CanNature")
.HasColumnType("bit");
b.Property("CanReligion")
.HasColumnType("bit");
b.Property("CanSaveThrows")
.HasColumnType("bit");
b.Property("CharacterId")
.HasColumnType("int");
b.Property("History")
.HasColumnType("int");
b.Property("Investigation")
.HasColumnType("int");
b.Property("Modification")
.HasColumnType("int");
b.Property("Nature")
.HasColumnType("int");
b.Property("Religion")
.HasColumnType("int");
b.Property("SavingThrows")
.HasColumnType("int");
b.Property("Value")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("CharacterId")
.IsUnique();
b.ToTable("Intelligences");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.OtherEquipment", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("Cost")
.HasColumnType("int");
b.Property("CurrencyType")
.HasColumnType("int");
b.Property("Description")
.HasColumnType("nvarchar(max)");
b.Property("Name")
.HasColumnType("nvarchar(max)");
b.HasKey("Id");
b.ToTable("OtherEquipment");
b.HasData(
new
{
Id = 1,
Cost = 2,
CurrencyType = 3,
Description = "",
Name = "Abacus"
},
new
{
Id = 2,
Cost = 25,
CurrencyType = 3,
Description = " As an action, you can splash the contents of this vial onto a creature within 5 feet of you or throw the vial up to 20 feet, shattering it on impact. In either case, make a ranged attack against a creature or object, treating the acid as an improvised weapon. On a hit, the target takes 2d6 acid damage.",
Name = "Acid (vial)"
},
new
{
Id = 3,
Cost = 50,
CurrencyType = 3,
Description = " This sticky, adhesive fluid ignites when exposed to air. As an action, you can throw this flask up to 20 feet, shattering it on impact. Make a ranged attack against a creature or object, treating the alchemist's fire as an improvised weapon. On a hit, the target takes 1d4 fire damage at the start of each of its turns. A creature can end this damage by using its action to make a DC 10 Dexterity check to extinguish the flames.",
Name = "Alchemist's fire (flask)"
},
new
{
Id = 4,
Cost = 5,
CurrencyType = 0,
Description = "",
Name = "Arrow"
},
new
{
Id = 5,
Cost = 2,
CurrencyType = 0,
Description = "",
Name = "Blowgun needle"
},
new
{
Id = 6,
Cost = 5,
CurrencyType = 0,
Description = "",
Name = "Crossbow bolt"
},
new
{
Id = 7,
Cost = 1,
CurrencyType = 0,
Description = "",
Name = "Sling bullet"
},
new
{
Id = 8,
Cost = 5,
CurrencyType = 3,
Description = " A holy symbol is a representation of a god or pantheon. It might be an amulet depicting a symbol representing a deity, the same symbol carefully engraved or inlaid as an emblem on a shield, or a tiny box holding a fragment of a sacred relic. Appendix B lists the symbols commonly associated with many gods in the multiverse. A cleric or paladin can use a holy symbol as a spellcasting focus. To use the symbol in this way, the caster must hold it in hand, wear it visibly, or bear it on a shield.",
Name = "Amulet"
},
new
{
Id = 9,
Cost = 50,
CurrencyType = 3,
Description = " A creature that drinks this vial of liquid gains advantage on saving throws against poison for 1 hour. It confers no benefit to undead or constructs.",
Name = "Antitoxin (vial)"
},
new
{
Id = 10,
Cost = 10,
CurrencyType = 3,
Description = " An arcane focus is a special item--an orb, a crystal, a rod, a specially constructed staff, a wand-like length of wood, or some similar item--designed to channel the power of arcane spells. A sorcerer, warlock, or wizard can use such an item as a spellcasting focus.",
Name = "Crystal"
},
new
{
Id = 11,
Cost = 20,
CurrencyType = 3,
Description = " An arcane focus is a special item--an orb, a crystal, a rod, a specially constructed staff, a wand-like length of wood, or some similar item--designed to channel the power of arcane spells. A sorcerer, warlock, or wizard can use such an item as a spellcasting focus.",
Name = "Orb"
},
new
{
Id = 12,
Cost = 10,
CurrencyType = 3,
Description = " An arcane focus is a special item--an orb, a crystal, a rod, a specially constructed staff, a wand-like length of wood, or some similar item--designed to channel the power of arcane spells. A sorcerer, warlock, or wizard can use such an item as a spellcasting focus.",
Name = "Rod"
},
new
{
Id = 13,
Cost = 5,
CurrencyType = 3,
Description = " An arcane focus is a special item--an orb, a crystal, a rod, a specially constructed staff, a wand-like length of wood, or some similar item--designed to channel the power of arcane spells. A sorcerer, warlock, or wizard can use such an item as a spellcasting focus.",
Name = "Staff"
},
new
{
Id = 14,
Cost = 10,
CurrencyType = 3,
Description = " An arcane focus is a special item--an orb, a crystal, a rod, a specially constructed staff, a wand-like length of wood, or some similar item--designed to channel the power of arcane spells. A sorcerer, warlock, or wizard can use such an item as a spellcasting focus.",
Name = "Wand"
},
new
{
Id = 15,
Cost = 2,
CurrencyType = 3,
Description = "",
Name = "Backpack"
},
new
{
Id = 16,
Cost = 1,
CurrencyType = 3,
Description = " As an action, you can spill these tiny metal balls from their pouch to cover a level, square area that is 10 feet on a side. A creature moving across the covered area must succeed on a DC 10 Dexterity saving throw or fall prone. A creature moving through the area at half speed doesn't need to make the save.",
Name = "Ball bearings (bag of 1,000)"
},
new
{
Id = 17,
Cost = 2,
CurrencyType = 3,
Description = "",
Name = "Barrel"
},
new
{
Id = 18,
Cost = 4,
CurrencyType = 1,
Description = "",
Name = "Basket"
},
new
{
Id = 19,
Cost = 1,
CurrencyType = 3,
Description = "",
Name = "Bedroll"
},
new
{
Id = 20,
Cost = 1,
CurrencyType = 3,
Description = "",
Name = "Bell"
},
new
{
Id = 21,
Cost = 5,
CurrencyType = 1,
Description = "",
Name = "Blanket"
},
new
{
Id = 22,
Cost = 1,
CurrencyType = 3,
Description = " A set of pulleys with a cable threaded through them and a hook to attach to objects, a block and tackle allows you to hoist up to four times the weight you can normally lift.",
Name = "Block and tackle"
},
new
{
Id = 23,
Cost = 25,
CurrencyType = 3,
Description = " A book might contain poetry, historical accounts, information pertaining to a particular field of lore, diagrams and notes on gnomish contraptions, or just about anything else that can be represented using text or pictures. A book of spells is a spellbook (described later in this section).",
Name = "Book"
},
new
{
Id = 24,
Cost = 2,
CurrencyType = 3,
Description = "",
Name = "Bottle, glass"
},
new
{
Id = 25,
Cost = 5,
CurrencyType = 0,
Description = "",
Name = "Bucket"
},
new
{
Id = 26,
Cost = 5,
CurrencyType = 0,
Description = " As an action, you can spread a bag of caltrops to cover a square area that is 5 feet on a side. Any creature that enters the area must succeed on a DC 15 Dexterity saving throw or stop moving this turn and take 1 piercing damage. Taking this damage reduces the creature's walking speed by 10 feet until the creature regains at least 1 hit point. A creature moving through the area at half speed doesn't need to make the save.",
Name = "Caltrops"
},
new
{
Id = 27,
Cost = 1,
CurrencyType = 0,
Description = " For 1 hour, a candle sheds bright light in a 5-foot radius and dim light for an additional 5 feet.",
Name = "Candle"
},
new
{
Id = 28,
Cost = 1,
CurrencyType = 3,
Description = " This wooden case can hold up to twenty crossbow bolts.",
Name = "Case, crossbow bolt"
},
new
{
Id = 29,
Cost = 1,
CurrencyType = 3,
Description = " This cylindrical leather case can hold up to ten rolled-up sheets of paper or five rolled-up sheets of parchment.",
Name = "Case, map or scroll"
},
new
{
Id = 30,
Cost = 5,
CurrencyType = 3,
Description = " A chain has 10 hit points. It can be burst with a successful DC 20 Strength check.",
Name = "Chain (10 feet)"
},
new
{
Id = 31,
Cost = 1,
CurrencyType = 0,
Description = "",
Name = "Chalk (1 piece)"
},
new
{
Id = 32,
Cost = 5,
CurrencyType = 3,
Description = "",
Name = "Chest"
},
new
{
Id = 33,
Cost = 5,
CurrencyType = 1,
Description = "",
Name = "Clothes, common"
},
new
{
Id = 34,
Cost = 5,
CurrencyType = 3,
Description = "",
Name = "Clothes, costume"
},
new
{
Id = 35,
Cost = 15,
CurrencyType = 3,
Description = "",
Name = "Clothes, fine"
},
new
{
Id = 36,
Cost = 2,
CurrencyType = 3,
Description = "",
Name = "Clothes, traveler's"
},
new
{
Id = 37,
Cost = 25,
CurrencyType = 3,
Description = " A component pouch is a small, watertight leather belt pouch that has compartments to hold all the material components and other special items you need to cast your spells, except for those components that have a specific cost (as indicated in a spell's description).",
Name = "Component pouch"
},
new
{
Id = 38,
Cost = 2,
CurrencyType = 3,
Description = " Using a crowbar grants advantage to Strength checks where the crowbar's leverage can be applied.",
Name = "Crowbar"
},
new
{
Id = 39,
Cost = 1,
CurrencyType = 3,
Description = " A druidic focus might be a sprig of mistletoe or holly, a wand or scepter made of yew or another special wood, a staff drawn whole out of a living tree, or a totem object incorporating feathers, fur, bones, and teeth from sacred animals. A druid can use such an object as a spellcasting focus.",
Name = "Sprig of mistletoe"
},
new
{
Id = 40,
Cost = 1,
CurrencyType = 3,
Description = " A druidic focus might be a sprig of mistletoe or holly, a wand or scepter made of yew or another special wood, a staff drawn whole out of a living tree, or a totem object incorporating feathers, fur, bones, and teeth from sacred animals. A druid can use such an object as a spellcasting focus.",
Name = "Totem"
},
new
{
Id = 41,
Cost = 5,
CurrencyType = 3,
Description = " A druidic focus might be a sprig of mistletoe or holly, a wand or scepter made of yew or another special wood, a staff drawn whole out of a living tree, or a totem object incorporating feathers, fur, bones, and teeth from sacred animals. A druid can use such an object as a spellcasting focus.",
Name = "Wooden staff"
},
new
{
Id = 42,
Cost = 10,
CurrencyType = 3,
Description = " A druidic focus might be a sprig of mistletoe or holly, a wand or scepter made of yew or another special wood, a staff drawn whole out of a living tree, or a totem object incorporating feathers, fur, bones, and teeth from sacred animals. A druid can use such an object as a spellcasting focus.",
Name = "Yew wand"
},
new
{
Id = 43,
Cost = 5,
CurrencyType = 3,
Description = " A holy symbol is a representation of a god or pantheon. It might be an amulet depicting a symbol representing a deity, the same symbol carefully engraved or inlaid as an emblem on a shield, or a tiny box holding a fragment of a sacred relic. Appendix B lists the symbols commonly associated with many gods in the multiverse. A cleric or paladin can use a holy symbol as a spellcasting focus. To use the symbol in this way, the caster must hold it in hand, wear it visibly, or bear it on a shield.",
Name = "Emblem"
},
new
{
Id = 44,
Cost = 1,
CurrencyType = 3,
Description = " This kit includes a wooden rod, silken line, corkwood bobbers, steel hooks, lead sinkers, velvet lures, and narrow netting.",
Name = "Fishing tackle"
},
new
{
Id = 45,
Cost = 2,
CurrencyType = 0,
Description = "",
Name = "Flask or tankard"
},
new
{
Id = 46,
Cost = 2,
CurrencyType = 3,
Description = "",
Name = "Grappling hook"
},
new
{
Id = 47,
Cost = 1,
CurrencyType = 3,
Description = "",
Name = "Hammer"
},
new
{
Id = 48,
Cost = 2,
CurrencyType = 3,
Description = "",
Name = "Hammer, sledge"
},
new
{
Id = 49,
Cost = 25,
CurrencyType = 3,
Description = " As an action, you can splash the contents of this flask onto a creature within 5 feet of you or throw it up to 20 feet, shattering it on impact. In either case, make a ranged attack against a target creature, treating the holy water as an improvised weapon. If the target is a fiend or undead, it takes 2d6 radiant damage. A cleric or paladin may create holy water by performing a special ritual. The ritual takes 1 hour to perform, uses 25 gp worth of powdered silver, and requires the caster to expend a 1st-level spell slot.",
Name = "Holy water (flask)"
},
new
{
Id = 50,
Cost = 25,
CurrencyType = 3,
Description = "",
Name = "Hourglass"
},
new
{
Id = 51,
Cost = 5,
CurrencyType = 3,
Description = " When you use your action to set it, this trap forms a saw-toothed steel ring that snaps shut when a creature steps on a pressure plate in the center. The trap is affixed by a heavy chain to an immobile object, such as a tree or a spike driven into the ground. A creature that steps on the plate must succeed on a DC 13 Dexterity saving throw or take 1d4 piercing damage and stop moving. Thereafter, until the creature breaks free of the trap, its movement is limited by the length of the chain (typically 3 feet long). A creature can use its action to make a DC 13 Strength check, freeing itself or another creature within its reach on a success. Each failed check deals 1 piercing damage to the trapped creature.",
Name = "Hunting trap"
},
new
{
Id = 52,
Cost = 10,
CurrencyType = 3,
Description = "",
Name = "Ink (1 ounce bottle)"
},
new
{
Id = 53,
Cost = 2,
CurrencyType = 0,
Description = "",
Name = "Ink pen"
},
new
{
Id = 54,
Cost = 2,
CurrencyType = 0,
Description = "",
Name = "Jug or pitcher"
},
new
{
Id = 55,
Cost = 25,
CurrencyType = 3,
Description = " A climber's kit includes special pitons, boot tips, gloves, and a harness. You can use the climber's kit as an action to anchor yourself; when you do, you can't fall more than 25 feet from the point where you anchored yourself, and you can't climb more than 25 feet away from that point without undoing the anchor.",
Name = "Climber's Kit"
},
new
{
Id = 56,
Cost = 25,
CurrencyType = 3,
Description = " This pouch of cosmetics, hair dye, and small props lets you create disguises that change your physical appearance. Proficiency with this kit lets you add your proficiency bonus to any ability checks you make to create a visual disguise.",
Name = "Disguise Kit"
},
new
{
Id = 57,
Cost = 15,
CurrencyType = 3,
Description = " This small box contains a variety of papers and parchments, pens and inks, seals and sealing wax, gold and silver leaf, and other supplies necessary to create convincing forgeries of physical documents. Proficiency with this kit lets you add your proficiency bonus to any ability checks you make to create a physical forgery of a document.",
Name = "Forgery Kit"
},
new
{
Id = 58,
Cost = 5,
CurrencyType = 3,
Description = " This kit contains a variety of instruments such as clippers, mortar and pestle, and pouches and vials used by herbalists to create remedies and potions. Proficiency with this kit lets you add your proficiency bonus to any ability checks you make to identify or apply herbs. Also, proficiency with this kit is required to create antitoxin and potions of healing.",
Name = "Herbalism Kit"
},
new
{
Id = 59,
Cost = 5,
CurrencyType = 3,
Description = " This kit is a leather pouch containing bandages, salves, and splints. The kit has ten uses. As an action, you can expend one use of the kit to stabilize a creature that has 0 hit points, without needing to make a Wisdom (Medicine) check.",
Name = "Healer's Kit"
},
new
{
Id = 60,
Cost = 2,
CurrencyType = 1,
Description = " This tin box contains a cup and simple cutlery. The box clamps together, and one side can be used as a cooking pan and the other as a plate or shallow bowl.",
Name = "Mess Kit"
},
new
{
Id = 61,
Cost = 50,
CurrencyType = 3,
Description = " A poisoner's kit includes the vials, chemicals, and other equipment necessary for the creation of poisons. Proficiency with this kit lets you add your proficiency bonus to any ability checks you make to craft or use poisons.",
Name = "Poisoner's Kit"
},
new
{
Id = 62,
Cost = 1,
CurrencyType = 1,
Description = "",
Name = "Ladder (10-foot)"
},
new
{
Id = 63,
Cost = 5,
CurrencyType = 1,
Description = " A lamp casts bright light in a 15-foot radius and dim light for an additional 30 feet. Once lit, it burns for 6 hours on a flask (1 pint) of oil.",
Name = "Lamp"
},
new
{
Id = 64,
Cost = 10,
CurrencyType = 3,
Description = " A bullseye lantern casts bright light in a 60-foot cone and dim light for an additional 60 feet. Once lit, it burns for 6 hours on a flask (1 pint) of oil.",
Name = "Lantern, bullseye"
},
new
{
Id = 65,
Cost = 5,
CurrencyType = 3,
Description = " A hooded lantern casts bright light in a 30-foot radius and dim light for an additional 30 feet. Once lit, it burns for 6 hours on a flask (1 pint) of oil. As an action, you can lower the hood, reducing the light to dim light in a 5-foot radius.",
Name = "Lantern, hooded"
},
new
{
Id = 66,
Cost = 10,
CurrencyType = 3,
Description = " A key is provided with the lock. Without the key, a creature proficient with thieves' tools can pick this lock with a successful DC 15 Dexterity check. Your GM may decide that better locks are available for higher prices.",
Name = "Lock"
},
new
{
Id = 67,
Cost = 100,
CurrencyType = 3,
Description = " This lens allows a closer look at small objects. It is also useful as a substitute for flint and steel when starting fires. Lighting a fire with a magnifying glass requires light as bright as sunlight to focus, tinder to ignite, and about 5 minutes for the fire to ignite. A magnifying glass grants advantage on any ability check made to appraise or inspect an item that is small or highly detailed.",
Name = "Magnifying glass"
},
new
{
Id = 68,
Cost = 2,
CurrencyType = 3,
Description = " These metal restraints can bind a Small or Medium creature. Escaping the manacles requires a successful DC 20 Dexterity check. Breaking them requires a successful DC 20 Strength check. Each set of manacles comes with one key. Without the key, a creature proficient with thieves' tools can pick the manacles' lock with a successful DC 15 Dexterity check. Manacles have 15 hit points.",
Name = "Manacles"
},
new
{
Id = 69,
Cost = 5,
CurrencyType = 3,
Description = "",
Name = "Mirror, steel"
},
new
{
Id = 70,
Cost = 1,
CurrencyType = 1,
Description = " Oil usually comes in a clay flask that holds 1 pint. As an action, you can splash the oil in this flask onto a creature within 5 feet of you or throw it up to 20 feet, shattering it on impact. Make a ranged attack against a target creature or object, treating the oil as an improvised weapon. On a hit, the target is covered in oil. If the target takes any fire damage before the oil dries (after 1 minute), the target takes an additional 5 fire damage from the burning oil. You can also pour a flask of oil on the ground to cover a 5-foot-square area, provided that the surface is level. If lit, the oil burns for 2 rounds and deals 5 fire damage to any creature that enters the area or ends its turn in the area. A creature can take this damage only once per turn.",
Name = "Oil (flask)"
},
new
{
Id = 71,
Cost = 2,
CurrencyType = 1,
Description = "",
Name = "Paper (one sheet)"
},
new
{
Id = 72,
Cost = 1,
CurrencyType = 1,
Description = "",
Name = "Parchment (one sheet)"
},
new
{
Id = 73,
Cost = 5,
CurrencyType = 3,
Description = "",
Name = "Perfume (vial)"
},
new
{
Id = 74,
Cost = 2,
CurrencyType = 3,
Description = "",
Name = "Pick, miner's"
},
new
{
Id = 75,
Cost = 5,
CurrencyType = 0,
Description = "",
Name = "Piton"
},
new
{
Id = 76,
Cost = 100,
CurrencyType = 3,
Description = " You can use the poison in this vial to coat one slashing or piercing weapon or up to three pieces of ammunition. Applying the poison takes an action. A creature hit by the poisoned weapon or ammunition must make a DC 10 Constitution saving throw or take 1d4 poison damage. Once applied, the poison retains potency for 1 minute before drying.",
Name = "Poison, basic (vial)"
},
new
{
Id = 77,
Cost = 5,
CurrencyType = 0,
Description = "",
Name = "Pole (10-foot)"
},
new
{
Id = 78,
Cost = 2,
CurrencyType = 3,
Description = "",
Name = "Pot, iron"
},
new
{
Id = 79,
Cost = 50,
CurrencyType = 3,
Description = " A character who drinks the magical red fluid in this vial regains 2d4 + 2 hit points. Drinking or administering a potion takes an action.",
Name = "Potion of healing"
},
new
{
Id = 80,
Cost = 5,
CurrencyType = 1,
Description = " A cloth or leather pouch can hold up to 20 sling bullets or 50 blowgun needles, among other things. A compartmentalized pouch for holding spell components is called a component pouch (described earlier in this section).",
Name = "Pouch"
},
new
{
Id = 81,
Cost = 1,
CurrencyType = 3,
Description = " A quiver can hold up to 20 arrows.",
Name = "Quiver"
},
new
{
Id = 82,
Cost = 4,
CurrencyType = 3,
Description = " You can use a portable ram to break down doors. When doing so, you gain a +4 bonus on the Strength check. One other character can help you use the ram, giving you advantage on this check.",
Name = "Ram, portable"
},
new
{
Id = 83,
Cost = 5,
CurrencyType = 1,
Description = " Rations consist of dry foods suitable for extended travel, including jerky, dried fruit, hardtack, and nuts.",
Name = "Rations (1 day)"
},
new
{
Id = 84,
Cost = 5,
CurrencyType = 3,
Description = " A holy symbol is a representation of a god or pantheon. It might be an amulet depicting a symbol representing a deity, the same symbol carefully engraved or inlaid as an emblem on a shield, or a tiny box holding a fragment of a sacred relic. Appendix B lists the symbols commonly associated with many gods in the multiverse. A cleric or paladin can use a holy symbol as a spellcasting focus. To use the symbol in this way, the caster must hold it in hand, wear it visibly, or bear it on a shield.",
Name = "Reliquary"
},
new
{
Id = 85,
Cost = 1,
CurrencyType = 3,
Description = "",
Name = "Robes"
},
new
{
Id = 86,
Cost = 1,
CurrencyType = 3,
Description = " Rope, whether made of hemp or silk, has 2 hit points and can be burst with a DC 17 Strength check.",
Name = "Rope, hempen (50 feet)"
},
new
{
Id = 87,
Cost = 10,
CurrencyType = 3,
Description = " Rope, whether made of hemp or silk, has 2 hit points and can be burst with a DC 17 Strength check.",
Name = "Rope, silk (50 feet)"
},
new
{
Id = 88,
Cost = 1,
CurrencyType = 0,
Description = "",
Name = "Sack"
},
new
{
Id = 89,
Cost = 5,
CurrencyType = 3,
Description = " A scale includes a small balance, pans, and a suitable assortment of weights up to 2 pounds. With it, you can measure the exact weight of small objects, such as raw precious metals or trade goods, to help determine their worth.",
Name = "Scale, merchant's"
},
new
{
Id = 90,
Cost = 5,
CurrencyType = 1,
Description = "",
Name = "Sealing wax"
},
new
{
Id = 91,
Cost = 2,
CurrencyType = 3,
Description = "",
Name = "Shovel"
},
new
{
Id = 92,
Cost = 5,
CurrencyType = 0,
Description = "",
Name = "Signal whistle"
},
new
{
Id = 93,
Cost = 5,
CurrencyType = 3,
Description = "",
Name = "Signet ring"
},
new
{
Id = 94,
Cost = 2,
CurrencyType = 0,
Description = "",
Name = "Soap"
},
new
{
Id = 95,
Cost = 50,
CurrencyType = 3,
Description = " Essential for wizards, a spellbook is a leather-bound tome with 100 blank vellum pages suitable for recording spells.",
Name = "Spellbook"
},
new
{
Id = 96,
Cost = 1,
CurrencyType = 1,
Description = "",
Name = "Spike, iron"
},
new
{
Id = 97,
Cost = 1000,
CurrencyType = 3,
Description = " Objects viewed through a spyglass are magnified to twice their size.",
Name = "Spyglass"
},
new
{
Id = 98,
Cost = 2,
CurrencyType = 3,
Description = " A simple and portable canvas shelter, a tent sleeps two.",
Name = "Tent, two-person"
},
new
{
Id = 99,
Cost = 5,
CurrencyType = 1,
Description = " This small container holds flint, fire steel, and tinder (usually dry cloth soaked in light oil) used to kindle a fire. Using it to light a torch--or anything else with abundant, exposed fuel--takes an action. Lighting any other fire takes 1 minute.",
Name = "Tinderbox"
},
new
{
Id = 100,
Cost = 1,
CurrencyType = 0,
Description = " A torch burns for 1 hour, providing bright light in a 20-foot radius and dim light for an additional 20 feet. If you make a melee attack with a burning torch and hit, it deals 1 fire damage.",
Name = "Torch"
},
new
{
Id = 101,
Cost = 1,
CurrencyType = 3,
Description = "",
Name = "Vial"
},
new
{
Id = 102,
Cost = 2,
CurrencyType = 1,
Description = "",
Name = "Waterskin"
},
new
{
Id = 103,
Cost = 1,
CurrencyType = 0,
Description = "",
Name = "Whetstone"
},
new
{
Id = 104,
Cost = 16,
CurrencyType = 3,
Description = "",
Name = "Burglar's Pack"
},
new
{
Id = 105,
Cost = 50,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Alchemist's supplies"
},
new
{
Id = 106,
Cost = 20,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Brewer's supplies"
},
new
{
Id = 107,
Cost = 10,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Calligrapher's supplies"
},
new
{
Id = 108,
Cost = 8,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Carpenter's tools"
},
new
{
Id = 109,
Cost = 15,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Cartographer's tools"
},
new
{
Id = 110,
Cost = 5,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Cobbler's tools"
},
new
{
Id = 111,
Cost = 1,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Cook's utensils"
},
new
{
Id = 112,
Cost = 30,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Glassblower's tools"
},
new
{
Id = 113,
Cost = 25,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Jeweler's tools"
},
new
{
Id = 114,
Cost = 5,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Leatherworker's tools"
},
new
{
Id = 115,
Cost = 10,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Mason's tools"
},
new
{
Id = 116,
Cost = 10,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Painter's supplies"
},
new
{
Id = 117,
Cost = 10,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Potter's tools"
},
new
{
Id = 118,
Cost = 20,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Smith's tools"
},
new
{
Id = 119,
Cost = 50,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Tinker's tools"
},
new
{
Id = 120,
Cost = 1,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Weaver's tools"
},
new
{
Id = 121,
Cost = 1,
CurrencyType = 3,
Description = " These special tools include the items needed to pursue a craft or trade. The table shows examples of the most common types of tools, each providing items related to a single craft. Proficiency with a set of artisan's tools lets you add your proficiency bonus to any ability checks you make using the tools in your craft. Each type of artisan's tools requires a separate proficiency.",
Name = "Woodcarver's tools"
},
new
{
Id = 122,
Cost = 1,
CurrencyType = 1,
Description = " This item encompasses a wide range of game pieces, including dice and decks of cards (for games such as Three-Dragon Ante). A few common examples appear on the Tools table, but other kinds of gaming sets exist. If you are proficient with a gaming set, you can add your proficiency bonus to ability checks you make to play a game with that set. Each type of gaming set requires a separate proficiency.",
Name = "Dice set"
},
new
{
Id = 123,
Cost = 5,
CurrencyType = 1,
Description = " This item encompasses a wide range of game pieces, including dice and decks of cards (for games such as Three-Dragon Ante). A few common examples appear on the Tools table, but other kinds of gaming sets exist. If you are proficient with a gaming set, you can add your proficiency bonus to ability checks you make to play a game with that set. Each type of gaming set requires a separate proficiency.",
Name = "Playing card set"
},
new
{
Id = 124,
Cost = 30,
CurrencyType = 3,
Description = " Several of the most common types of musical instruments are shown on the table as examples. If you have proficiency with a given musical instrument, you can add your proficiency bonus to any ability checks you make to play music with the instrument. A bard can use a musical instrument as a spellcasting focus. Each type of musical instrument requires a separate proficiency.",
Name = "Bagpipes"
},
new
{
Id = 125,
Cost = 6,
CurrencyType = 3,
Description = " Several of the most common types of musical instruments are shown on the table as examples. If you have proficiency with a given musical instrument, you can add your proficiency bonus to any ability checks you make to play music with the instrument. A bard can use a musical instrument as a spellcasting focus. Each type of musical instrument requires a separate proficiency.",
Name = "Drum"
},
new
{
Id = 126,
Cost = 25,
CurrencyType = 3,
Description = " Several of the most common types of musical instruments are shown on the table as examples. If you have proficiency with a given musical instrument, you can add your proficiency bonus to any ability checks you make to play music with the instrument. A bard can use a musical instrument as a spellcasting focus. Each type of musical instrument requires a separate proficiency.",
Name = "Dulcimer"
},
new
{
Id = 127,
Cost = 2,
CurrencyType = 3,
Description = " Several of the most common types of musical instruments are shown on the table as examples. If you have proficiency with a given musical instrument, you can add your proficiency bonus to any ability checks you make to play music with the instrument. A bard can use a musical instrument as a spellcasting focus. Each type of musical instrument requires a separate proficiency.",
Name = "Flute"
},
new
{
Id = 128,
Cost = 35,
CurrencyType = 3,
Description = " Several of the most common types of musical instruments are shown on the table as examples. If you have proficiency with a given musical instrument, you can add your proficiency bonus to any ability checks you make to play music with the instrument. A bard can use a musical instrument as a spellcasting focus. Each type of musical instrument requires a separate proficiency.",
Name = "Lute"
},
new
{
Id = 129,
Cost = 30,
CurrencyType = 3,
Description = " Several of the most common types of musical instruments are shown on the table as examples. If you have proficiency with a given musical instrument, you can add your proficiency bonus to any ability checks you make to play music with the instrument. A bard can use a musical instrument as a spellcasting focus. Each type of musical instrument requires a separate proficiency.",
Name = "Lyre"
},
new
{
Id = 130,
Cost = 3,
CurrencyType = 3,
Description = " Several of the most common types of musical instruments are shown on the table as examples. If you have proficiency with a given musical instrument, you can add your proficiency bonus to any ability checks you make to play music with the instrument. A bard can use a musical instrument as a spellcasting focus. Each type of musical instrument requires a separate proficiency.",
Name = "Horn"
},
new
{
Id = 131,
Cost = 12,
CurrencyType = 3,
Description = " Several of the most common types of musical instruments are shown on the table as examples. If you have proficiency with a given musical instrument, you can add your proficiency bonus to any ability checks you make to play music with the instrument. A bard can use a musical instrument as a spellcasting focus. Each type of musical instrument requires a separate proficiency.",
Name = "Pan flute"
},
new
{
Id = 132,
Cost = 2,
CurrencyType = 3,
Description = " Several of the most common types of musical instruments are shown on the table as examples. If you have proficiency with a given musical instrument, you can add your proficiency bonus to any ability checks you make to play music with the instrument. A bard can use a musical instrument as a spellcasting focus. Each type of musical instrument requires a separate proficiency.",
Name = "Shawm"
},
new
{
Id = 133,
Cost = 30,
CurrencyType = 3,
Description = " Several of the most common types of musical instruments are shown on the table as examples. If you have proficiency with a given musical instrument, you can add your proficiency bonus to any ability checks you make to play music with the instrument. A bard can use a musical instrument as a spellcasting focus. Each type of musical instrument requires a separate proficiency.",
Name = "Viol"
},
new
{
Id = 134,
Cost = 25,
CurrencyType = 3,
Description = " This set of instruments is used for navigation at sea. Proficiency with navigator's tools lets you chart a ship's course and follow navigation charts. In addition, these tools allow you to add your proficiency bonus to any ability check you make to avoid getting lost at sea.",
Name = "Navigator's tools"
},
new
{
Id = 135,
Cost = 25,
CurrencyType = 3,
Description = " This set of tools includes a small file, a set of lock picks, a small mirror mounted on a metal handle, a set of narrow-bladed scissors, and a pair of pliers. Proficiency with these tools lets you add your proficiency bonus to any ability checks you make to disarm traps or open locks.",
Name = "Thieves' tools"
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Race", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("Name")
.HasColumnType("nvarchar(max)");
b.HasKey("Id");
b.ToTable("Races");
b.HasData(
new
{
Id = 1,
Name = "Human"
},
new
{
Id = 2,
Name = "Dwarf"
},
new
{
Id = 3,
Name = "Elf"
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Statistics", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("ArmorClass")
.HasColumnType("int");
b.Property("CharacterId")
.HasColumnType("int");
b.Property("CurrentHealthPoints")
.HasColumnType("int");
b.Property("ExperiencePoints")
.HasColumnType("int");
b.Property("HealthPoints")
.HasColumnType("int");
b.Property("Initiative")
.HasColumnType("int");
b.Property("Level")
.HasColumnType("int");
b.Property("Proficiency")
.HasColumnType("int");
b.Property("Speed")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("CharacterId")
.IsUnique();
b.ToTable("Statistics");
b.HasData(
new
{
Id = 1,
ArmorClass = 9,
CharacterId = 1,
CurrentHealthPoints = 18,
ExperiencePoints = 2,
HealthPoints = 20,
Initiative = 12,
Level = 1,
Proficiency = 1,
Speed = 5
},
new
{
Id = 2,
ArmorClass = 12,
CharacterId = 2,
CurrentHealthPoints = 26,
ExperiencePoints = 0,
HealthPoints = 26,
Initiative = 7,
Level = 1,
Proficiency = 1,
Speed = 10
},
new
{
Id = 3,
ArmorClass = 2,
CharacterId = 3,
CurrentHealthPoints = 7,
ExperiencePoints = 24,
HealthPoints = 7,
Initiative = 18,
Level = 1,
Proficiency = 2,
Speed = 15
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Strength", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("Athletics")
.HasColumnType("int");
b.Property("CanAthletics")
.HasColumnType("bit");
b.Property("CanSaveThrows")
.HasColumnType("bit");
b.Property("CharacterId")
.HasColumnType("int");
b.Property("Modification")
.HasColumnType("int");
b.Property("SavingThrows")
.HasColumnType("int");
b.Property("Value")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("CharacterId")
.IsUnique();
b.ToTable("Strengths");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.User", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("Password")
.HasColumnType("nvarchar(max)");
b.Property("Username")
.HasColumnType("nvarchar(max)");
b.HasKey("Id");
b.ToTable("Users");
b.HasData(
new
{
Id = 1,
Password = "123",
Username = "Morwiec"
},
new
{
Id = 2,
Password = "123",
Username = "Cichoklepiec"
},
new
{
Id = 3,
Password = "123",
Username = "Ruletka"
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Weapon", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("Cost")
.HasColumnType("int");
b.Property("CurrencyType")
.HasColumnType("int");
b.Property("Description")
.HasColumnType("nvarchar(max)");
b.Property("DiceCount")
.HasColumnType("int");
b.Property("DiceValue")
.HasColumnType("int");
b.Property("Name")
.HasColumnType("nvarchar(max)");
b.Property("RangeLong")
.HasColumnType("int");
b.Property("RangeMeele")
.HasColumnType("int");
b.Property("RangeThrowLong")
.HasColumnType("int");
b.Property("RangeThrowNormal")
.HasColumnType("int");
b.Property("TwoHandDamageType")
.HasColumnType("nvarchar(max)");
b.Property("TwoHandDiceCount")
.HasColumnType("int");
b.Property("TwoHandDiceValue")
.HasColumnType("int");
b.Property("WeaponType")
.HasColumnType("nvarchar(max)");
b.Property("Weight")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("Weapons");
b.HasData(
new
{
Id = 1,
Cost = 1,
CurrencyType = 1,
DiceCount = 1,
DiceValue = 4,
Name = "Club",
RangeMeele = 5,
WeaponType = "Simple Melee",
Weight = 2
},
new
{
Id = 2,
Cost = 2,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 4,
Name = "Dagger",
RangeMeele = 5,
RangeThrowLong = 60,
RangeThrowNormal = 20,
WeaponType = "Simple Melee",
Weight = 1
},
new
{
Id = 3,
Cost = 2,
CurrencyType = 1,
DiceCount = 1,
DiceValue = 8,
Name = "Greatclub",
RangeMeele = 5,
WeaponType = "Simple Melee",
Weight = 10
},
new
{
Id = 4,
Cost = 5,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 6,
Name = "Handaxe",
RangeMeele = 5,
RangeThrowLong = 60,
RangeThrowNormal = 20,
WeaponType = "Simple Melee",
Weight = 2
},
new
{
Id = 5,
Cost = 5,
CurrencyType = 1,
DiceCount = 1,
DiceValue = 6,
Name = "Javelin",
RangeMeele = 5,
RangeThrowLong = 120,
RangeThrowNormal = 30,
WeaponType = "Simple Melee",
Weight = 2
},
new
{
Id = 6,
Cost = 2,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 4,
Name = "Light hammer",
RangeMeele = 5,
RangeThrowLong = 60,
RangeThrowNormal = 20,
WeaponType = "Simple Melee",
Weight = 2
},
new
{
Id = 7,
Cost = 5,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 6,
Name = "Mace",
RangeMeele = 5,
WeaponType = "Simple Melee",
Weight = 4
},
new
{
Id = 8,
Cost = 2,
CurrencyType = 1,
DiceCount = 1,
DiceValue = 6,
Name = "Quarterstaff",
RangeMeele = 5,
TwoHandDiceCount = 1,
TwoHandDiceValue = 8,
WeaponType = "Simple Melee",
Weight = 4
},
new
{
Id = 9,
Cost = 1,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 4,
Name = "Sickle",
RangeMeele = 5,
WeaponType = "Simple Melee",
Weight = 2
},
new
{
Id = 10,
Cost = 1,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 4,
Name = "Spear",
RangeMeele = 5,
RangeThrowLong = 60,
RangeThrowNormal = 20,
TwoHandDiceCount = 1,
TwoHandDiceValue = 8,
WeaponType = "Simple Melee",
Weight = 3
},
new
{
Id = 11,
Cost = 25,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 8,
Name = "Crossbow, light",
RangeMeele = 5,
WeaponType = "Simple Ranged",
Weight = 5
},
new
{
Id = 12,
Cost = 5,
CurrencyType = 0,
DiceCount = 1,
DiceValue = 4,
Name = "Dart",
RangeMeele = 5,
RangeThrowLong = 60,
RangeThrowNormal = 20,
WeaponType = "Simple Ranged",
Weight = 0
},
new
{
Id = 13,
Cost = 25,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 6,
Name = "Shortbow",
RangeMeele = 5,
WeaponType = "Simple Ranged",
Weight = 2
},
new
{
Id = 14,
Cost = 1,
CurrencyType = 1,
DiceCount = 1,
DiceValue = 4,
Name = "Sling",
RangeMeele = 5,
WeaponType = "Simple Ranged",
Weight = 0
},
new
{
Id = 15,
Cost = 10,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 8,
Name = "Battleaxe",
RangeMeele = 5,
TwoHandDiceCount = 1,
TwoHandDiceValue = 10,
WeaponType = "Martial Melee",
Weight = 4
},
new
{
Id = 16,
Cost = 10,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 8,
Name = "Flail",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 2
},
new
{
Id = 17,
Cost = 20,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 10,
Name = "Glaive",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 6
},
new
{
Id = 18,
Cost = 30,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 12,
Name = "Greataxe",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 7
},
new
{
Id = 19,
Cost = 50,
CurrencyType = 3,
DiceCount = 2,
DiceValue = 6,
Name = "Greatsword",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 6
},
new
{
Id = 20,
Cost = 20,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 10,
Name = "Halberd",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 6
},
new
{
Id = 21,
Cost = 10,
CurrencyType = 3,
Description = "You have disadvantage when you use a lance to attack a target within 5 feet of you. Also, a lance requires two hands to wield when you aren�t mounted.",
DiceCount = 1,
DiceValue = 12,
Name = "Lance",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 6
},
new
{
Id = 22,
Cost = 15,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 8,
Name = "Longsword",
RangeMeele = 5,
TwoHandDiceCount = 1,
TwoHandDiceValue = 10,
WeaponType = "Martial Melee",
Weight = 3
},
new
{
Id = 23,
Cost = 10,
CurrencyType = 3,
DiceCount = 2,
DiceValue = 6,
Name = "Maul",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 10
},
new
{
Id = 24,
Cost = 15,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 8,
Name = "Morningstar",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 4
},
new
{
Id = 25,
Cost = 5,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 10,
Name = "Pike",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 18
},
new
{
Id = 26,
Cost = 25,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 8,
Name = "Rapier",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 2
},
new
{
Id = 27,
Cost = 25,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 6,
Name = "Scimitar",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 3
},
new
{
Id = 28,
Cost = 10,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 6,
Name = "Shortsword",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 2
},
new
{
Id = 29,
Cost = 5,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 6,
Name = "Trident",
RangeMeele = 5,
RangeThrowLong = 60,
RangeThrowNormal = 20,
WeaponType = "Martial Melee",
Weight = 4
},
new
{
Id = 30,
Cost = 5,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 8,
Name = "War pick",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 2
},
new
{
Id = 31,
Cost = 15,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 8,
Name = "Warhammer",
RangeMeele = 5,
TwoHandDiceCount = 1,
TwoHandDiceValue = 10,
WeaponType = "Martial Melee",
Weight = 2
},
new
{
Id = 32,
Cost = 2,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 4,
Name = "Whip",
RangeMeele = 5,
WeaponType = "Martial Melee",
Weight = 3
},
new
{
Id = 33,
Cost = 10,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 1,
Name = "Blowgun",
RangeMeele = 5,
WeaponType = "Martial Ranged",
Weight = 1
},
new
{
Id = 34,
Cost = 75,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 6,
Name = "Crossbow, hand",
RangeMeele = 5,
WeaponType = "Martial Ranged",
Weight = 3
},
new
{
Id = 35,
Cost = 50,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 10,
Name = "Crossbow, heavy",
RangeMeele = 5,
WeaponType = "Martial Ranged",
Weight = 18
},
new
{
Id = 36,
Cost = 50,
CurrencyType = 3,
DiceCount = 1,
DiceValue = 8,
Name = "Longbow",
RangeMeele = 5,
WeaponType = "Martial Ranged",
Weight = 2
},
new
{
Id = 37,
Cost = 1,
CurrencyType = 3,
Description = "A Large or smaller creature hit by a net is restrained until it is freed. A net has no effect on creatures that are formless, or creatures that are Huge or larger. A creature can use its action to make a DC 10 Strength check, freeing itself or another creature within its reach on a success. Dealing 5 slashing damage to the net (AC 10) also frees the creature without harming it, ending the effect and destroying the net. When you use an action, bonus action, or reaction to attack with a net, you can make only one attack regardless of the number of attacks you can normally make.",
DiceCount = 1,
DiceValue = 0,
Name = "Net",
RangeMeele = 5,
RangeThrowLong = 15,
RangeThrowNormal = 5,
WeaponType = "Martial Ranged",
Weight = 3
});
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Wisdom", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.UseIdentityColumn();
b.Property("AnimalHandling")
.HasColumnType("int");
b.Property("CanAnimalHandling")
.HasColumnType("bit");
b.Property("CanInsight")
.HasColumnType("bit");
b.Property("CanMedicine")
.HasColumnType("bit");
b.Property("CanPerception")
.HasColumnType("bit");
b.Property("CanSaveThrows")
.HasColumnType("bit");
b.Property("CanSurvival")
.HasColumnType("bit");
b.Property("CharacterId")
.HasColumnType("int");
b.Property("Insight")
.HasColumnType("int");
b.Property("Medicine")
.HasColumnType("int");
b.Property("Modification")
.HasColumnType("int");
b.Property("Perception")
.HasColumnType("int");
b.Property("SavingThrows")
.HasColumnType("int");
b.Property("Survival")
.HasColumnType("int");
b.Property("Value")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("CharacterId")
.IsUnique();
b.ToTable("Wisdoms");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Biography", b =>
{
b.HasOne("SessionCompanion.Database.Tables.Alignment", "Alignment")
.WithMany("Biography")
.HasForeignKey("AlignmentId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("SessionCompanion.Database.Tables.Background", "Background")
.WithMany("Biography")
.HasForeignKey("BackgroundId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("SessionCompanion.Database.Tables.Character", "Character")
.WithOne("Biography")
.HasForeignKey("SessionCompanion.Database.Tables.Biography", "CharacterId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("SessionCompanion.Database.Tables.Class", "Class")
.WithMany("Biography")
.HasForeignKey("ClassId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("SessionCompanion.Database.Tables.Race", "Race")
.WithMany("Biography")
.HasForeignKey("RaceId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Alignment");
b.Navigation("Background");
b.Navigation("Character");
b.Navigation("Class");
b.Navigation("Race");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Character", b =>
{
b.HasOne("SessionCompanion.Database.Tables.User", "User")
.WithMany("Character")
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("User");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.CharacterArmor", b =>
{
b.HasOne("SessionCompanion.Database.Tables.Armor", "Armor")
.WithMany("CharacterArmors")
.HasForeignKey("ArmorId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("SessionCompanion.Database.Tables.Character", "Character")
.WithMany()
.HasForeignKey("CharacterId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Armor");
b.Navigation("Character");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.CharacterOtherEquipment", b =>
{
b.HasOne("SessionCompanion.Database.Tables.Character", "Character")
.WithMany()
.HasForeignKey("CharacterId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("SessionCompanion.Database.Tables.OtherEquipment", "OtherEquipment")
.WithMany("CharacterOtherEquipments")
.HasForeignKey("OtherEquipmentId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Character");
b.Navigation("OtherEquipment");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.CharacterWeapon", b =>
{
b.HasOne("SessionCompanion.Database.Tables.Character", "Character")
.WithMany()
.HasForeignKey("CharacterId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("SessionCompanion.Database.Tables.Weapon", "Weapon")
.WithMany("CharacterWeapons")
.HasForeignKey("WeaponId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Character");
b.Navigation("Weapon");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Charisma", b =>
{
b.HasOne("SessionCompanion.Database.Tables.Character", "Character")
.WithOne("Charisma")
.HasForeignKey("SessionCompanion.Database.Tables.Charisma", "CharacterId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Character");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Constitution", b =>
{
b.HasOne("SessionCompanion.Database.Tables.Character", "Character")
.WithOne("Constitution")
.HasForeignKey("SessionCompanion.Database.Tables.Constitution", "CharacterId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Character");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Dexterity", b =>
{
b.HasOne("SessionCompanion.Database.Tables.Character", "Character")
.WithOne("Dexterity")
.HasForeignKey("SessionCompanion.Database.Tables.Dexterity", "CharacterId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Character");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Intelligence", b =>
{
b.HasOne("SessionCompanion.Database.Tables.Character", "Character")
.WithOne("Intelligence")
.HasForeignKey("SessionCompanion.Database.Tables.Intelligence", "CharacterId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Character");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Statistics", b =>
{
b.HasOne("SessionCompanion.Database.Tables.Character", "Character")
.WithOne("Statistics")
.HasForeignKey("SessionCompanion.Database.Tables.Statistics", "CharacterId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Character");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Strength", b =>
{
b.HasOne("SessionCompanion.Database.Tables.Character", "Character")
.WithOne("Strength")
.HasForeignKey("SessionCompanion.Database.Tables.Strength", "CharacterId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Character");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Wisdom", b =>
{
b.HasOne("SessionCompanion.Database.Tables.Character", "Character")
.WithOne("Wisdom")
.HasForeignKey("SessionCompanion.Database.Tables.Wisdom", "CharacterId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Character");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Alignment", b =>
{
b.Navigation("Biography");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Armor", b =>
{
b.Navigation("CharacterArmors");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Background", b =>
{
b.Navigation("Biography");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Character", b =>
{
b.Navigation("Biography");
b.Navigation("Charisma");
b.Navigation("Constitution");
b.Navigation("Dexterity");
b.Navigation("Intelligence");
b.Navigation("Statistics");
b.Navigation("Strength");
b.Navigation("Wisdom");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Class", b =>
{
b.Navigation("Biography");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.OtherEquipment", b =>
{
b.Navigation("CharacterOtherEquipments");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Race", b =>
{
b.Navigation("Biography");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.User", b =>
{
b.Navigation("Character");
});
modelBuilder.Entity("SessionCompanion.Database.Tables.Weapon", b =>
{
b.Navigation("CharacterWeapons");
});
#pragma warning restore 612, 618
}
}
}