finish armor data entry

merge-requests/15/head
James Miller 2019-08-07 19:55:16 -05:00
parent ecaf5ef116
commit c19a8e62f3
2 changed files with 20 additions and 9 deletions

View File

@ -44,6 +44,7 @@ INSERT INTO armor (
sources_id, sources_id,
sources_pages, sources_pages,
armor_category_id, armor_category_id,
item_level,
short_name, short_name,
price_text, price_text,
price_gp, price_gp,
@ -58,16 +59,22 @@ INSERT INTO armor (
) )
VALUES VALUES
-- unarmored -- unarmored
(1, 1, '275', 1, 'No armor', '-', 0.0, 0, NULL, NULL, NULL, NULL, 1, NULL, 'TODO'), (1, 1, '275', 1, 0, 'No armor', '-', 0.0, 0, NULL, NULL, NULL, NULL, 1, NULL, 'TODO'),
(2, 1, '275', 1, 'Explorer''s Clothing', '1 sp', 0.1, 0, 5, NULL, NULL, NULL, 2, NULL, 'TODO'), (2, 1, '275', 1, 0, 'Explorer''s clothing', '1 sp', 0.1, 0, 5, NULL, NULL, NULL, 2, NULL, 'TODO'),
-- light armor -- light armor
(3, 1, '275', 2, 'Padded Armor', '2 sp', 0.2, 1, 3, NULL, NULL, 10, 2, NULL, 'TODO'), (3, 1, '275', 2, 0, 'Padded armor', '2 sp', 0.2, 1, 3, NULL, NULL, 10, 2, NULL, 'TODO'),
(4, 1, '275', 2, 'Leather', '2 gp', 2.0, 1, 4, -1, NULL, 10, 3, NULL, 'TODO'), (4, 1, '275', 2, 0, 'Leather', '2 gp', 2.0, 1, 4, -1, NULL, 10, 3, NULL, 'TODO'),
(5, 1, '275', 2, 'Studded Leather', '3 gp', 3.0, 2, 3, -1, NULL, 12, 3, NULL, 'TODO'), (5, 1, '275', 2, 0, 'Studded leather', '3 gp', 3.0, 2, 3, -1, NULL, 12, 3, NULL, 'TODO'),
(6, 1, '275', 2, 'Chain Shirt', '5 gp', 5.0, 2, 3, -1, NULL, 12, 3, NULL, 'TODO'), (6, 1, '275', 2, 0, 'Chain shirt', '5 gp', 5.0, 2, 3, -1, NULL, 12, 3, NULL, 'TODO'),
-- medium armor -- medium armor
(7, 1, '275', 2, 'Hide', '2 gp', 2.0, 3, 2, -2, -5, 14, 4, 3, 'TODO'); (7, 1, '275', 3, 0, 'Hide', '2 gp', 2.0, 3, 2, -2, -5, 14, 4, 3, 'TODO'),
/* TODO continue on the armor inputs */ (8, 1, '275', 3, 0, 'Scale mail', '4 gp', 4.0, 3, 2, -2, -5, 14, 4, 2, 'TODO'),
(9, 1, '275', 3, 0, 'Chain mail', '6 gp', 6.0, 4, 1, -2, -5, 16, 4, 1, 'TODO'),
(10, 1, '275', 3, 0, 'Breastplate', '8 gp', 8.0, 4, 1, -2, -5, 16, 4, 4, 'TODO'),
-- heavy armor
(11, 1, '275', 4, 1, 'Splint mail', '13 gp', 13.0, 5, 1, -3, -10, 16, 5, 2, 'TODO'),
(12, 1, '275', 4, 1, 'Half plate', '18 gp', 18.0, 5, 1, -3, -10, 16, 5, 4, 'TODO'),
(13, 1, '275', 4, 2, 'Full plate', '30 gp', 30.0, 6, 0, -3, -10, 18, 6, 4, 'TODO');
@ -77,4 +84,7 @@ VALUES
(2, 88), -- explorer's clothing and comfort (2, 88), -- explorer's clothing and comfort
(3, 88), -- padded and comfort (3, 88), -- padded and comfort
(6, 89), -- chain shirt flexible (6, 89), -- chain shirt flexible
(6, 90); -- chain shirt noisy (6, 90), -- chain shirt noisy
(9, 89), -- chain mail flexible
(9, 90), -- chain mail noisy
(13, 87); -- full plate bulwark

View File

@ -28,6 +28,7 @@ CREATE TABLE armor (
sources_pages TEXT, sources_pages TEXT,
armor_category_id INTEGER NOT NULL, armor_category_id INTEGER NOT NULL,
short_name TEXT NOT NULL, short_name TEXT NOT NULL,
item_level INTEGER,
price_text TEXT NOT NULL, price_text TEXT NOT NULL,
price_gp FLOAT NOT NULL, price_gp FLOAT NOT NULL,
ac_bonus INTEGER NOT NULL, ac_bonus INTEGER NOT NULL,