fix visions, fix speeds, basic ancestries data entered

merge-requests/1/head
James Miller 2019-08-02 22:14:58 -05:00
parent 249647752d
commit c2f948fccf
3 changed files with 18 additions and 3 deletions

View File

@ -2,7 +2,18 @@
/* Decide on format of flavor text; probably markdown? */
INSERT INTO ancestries (ancestry_id, short_name, flavor_text, hp, size_id,
/* Decide on whether to break out the flavor text to another table? */
/* TODO Left out speed, add in here and in schema */
/* TODO probably need to model Half-Elf and Half-Orc as a whole separate ancestry? */
INSERT INTO ancestries (ancestry_id, short_name, flavor_text, hp, size_id, speed,
boosts, flaws, vision_id)
VALUES
(1, 'Dwarf', 'TODO', 10, );
(1, 'Dwarf', 'TODO', 10, 3, 20, 84, 32, 1),
(2, 'Elf', 'TODO', 6, 3, 30, 74, 4, 2),
(3, 'Gnome', 'TODO', 8, 2, 25, 100, 1, 2),
(4, 'Goblin', 'TODO', 6, 2, 25, 98, 16, 1),
(5, 'Halfling', 'TODO', 6, 2, 25, 82, 1, 3),
(6, 'Human', 'TODO', 8, 3, 25, 128, 0, 4);

View File

@ -8,4 +8,7 @@ INSERT INTO visions (vision_id,
VALUES
(1, 'Darkvision', 'You can see in darkness and dim light just as well as you can see in bright light, though your vision in darkness is in black and white.'),
(2, 'Low-Light Vision', 'TODO'),
(3, 'Keen Eyes', 'TODO');
(3, 'Keen Eyes', 'TODO'),
(4, 'None', 'No special vision.');

View File

@ -17,6 +17,7 @@ CREATE TABLE ancestries (
flavor_text TEXT NOT NULL,
hp INTEGER NOT NULL,
size_id INTEGER NOT NULL,
speed INTEGER NOT NULL,
boosts INTEGER NOT NULL,
flaws INTEGER NOT NULL,
vision_id INTEGER NOT NULL,