From f3ccc8683d1f443db904a95edbd56474c574ce8e Mon Sep 17 00:00:00 2001 From: James Miller Date: Tue, 6 Aug 2019 12:10:19 -0500 Subject: [PATCH] add back in ancestries_heritages --- data/heritages.sql | 42 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/data/heritages.sql b/data/heritages.sql index 8aa10f8..7d8da42 100644 --- a/data/heritages.sql +++ b/data/heritages.sql @@ -62,15 +62,49 @@ VALUES (503, 'Versatile Heritage', 'Humanity’s versatility and ambition have fueled its ascendance to be the most common ancestry in most nations throughout the world. Select a general feat of your choice for which you meet the prerequisites (as with your ancestry feat, you can select this general feat at any point during character creation).', 0, 0); - -INSERT INTO ancestries_heritages - (ancestry_id, heritage_id) +INSERT INTO ancestries_heritages (ancestry_id, heritage_id) VALUES + -- Dwarf (1, 1), (1, 2), (1, 3), (1, 4), - (1, 5); + (1, 5), + -- Elf + (2, 100), + (2, 101), + (2, 102), + (2, 103), + (2, 104), + -- Gnome + (3, 200), + (3, 201), + (3, 202), + (3, 203), + (3, 204), + -- Goblin + (4, 300), + (4, 301), + (4, 302), + (4, 303), + (4, 304), + -- Halfling + (5, 400), + (5, 401), + (5, 402), + (5, 403), + (5, 404), + -- Human + (6, 500), + (6, 501), + (6, 502), + (6, 503), + (6, 504), + -- Half-elf and half orc (yes, we know they're technically only a heritage, + -- but we link it up to ancestry ids too) + (7, 500), + (8, 501); + /* TODO this table is likely not needed anymore; AND TODO the trait_ids likely don't match anymore. */