Add shop data changesets

This commit is contained in:
P0nk
2025-07-01 09:06:42 +02:00
parent 371ed4efff
commit da17490dbc
5 changed files with 3929 additions and 3917 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -3,4 +3,15 @@ CREATE TABLE lb_shops
shopid INT UNSIGNED NOT NULL AUTO_INCREMENT,
npcid INT NOT NULL DEFAULT '0',
PRIMARY KEY (shopid)
);
);
CREATE TABLE lb_shopitems
(
shopitemid INT UNSIGNED NOT NULL AUTO_INCREMENT,
shopid INT UNSIGNED NOT NULL,
itemid INT NOT NULL,
price INT NOT NULL,
pitch INT NOT NULL DEFAULT '0',
position INT NOT NULL COMMENT 'sort is an arbitrary field designed to give leeway when modifying shops. The lowest number is 104 and it increments by 4 for each item to allow decent space for swapping/inserting/removing items.',
PRIMARY KEY (shopitemid)
)

View File

@@ -0,0 +1,111 @@
INSERT INTO lb_shops (shopid, npcid)
VALUES (11000, 11000),
(11100, 11100),
(21000, 21000),
(1001000, 1001000),
(1001001, 1001001),
(1001100, 1001100),
(1011000, 1011000),
(1011001, 1011001),
(1011100, 1011100),
(1012004, 1012004),
(1021000, 1021000),
(1021001, 1021001),
(1021100, 1021100),
(1031000, 1031000),
(1031001, 1031001),
(1031100, 1031100),
(1032103, 1032103),
(1051000, 1051000),
(1051001, 1051001),
(1051002, 1051002),
(1052104, 1052104),
(1061001, 1061001),
(1061002, 1061002),
(1081000, 1081000),
(1091000, 1091000),
(1091001, 1091001),
(1091002, 1091002),
(1093000, 1093000),
(1100001, 1100001),
(1100002, 1100002),
(2010004, 2010004),
(2012003, 2012003),
(2012004, 2012004),
(2012005, 2012005),
(2020001, 2020001),
(2022000, 2022000),
(2022001, 2022001),
(2022002, 2022002),
(2030009, 2030009),
(2040049, 2040049),
(2040051, 2040051),
(2041002, 2041002),
(2041003, 2041003),
(2041006, 2041006),
(2041014, 2041014),
(2041016, 2041016),
(2050000, 2050000),
(2050003, 2050003),
(2051000, 2051000),
(2060003, 2060003),
(2060004, 2060004),
(2060007, 2060007),
(2070001, 2070001),
(2070002, 2070002),
(2070003, 2070003),
(2080001, 2080001),
(2080002, 2080002),
(2080003, 2080003),
(2080004, 2080004),
(2090001, 2090001),
(2090002, 2090002),
(2090003, 2090003),
(2090006, 2090006),
(2093000, 2093000),
(2093001, 2093001),
(2093002, 2093002),
(2100002, 2100002),
(2100003, 2100003),
(2100004, 2100004),
(2110001, 2110001),
(2130000, 2130000),
(9110003, 9110003),
(9110004, 9110004),
(9110005, 9110005),
(9110006, 9110006),
(9110007, 9110007),
(9120000, 9120000),
(9120002, 9120002),
(9120004, 9120004),
(9120019, 9120019),
(9201020, 9201020),
(9201058, 9201058),
(9201059, 9201059),
(9201060, 9201060),
(9201099, 9201099),
(9270019, 9270019),
(9270020, 9270020),
(9270021, 9270021),
(9270022, 9270022),
(9270027, 9270027),
(9999992, 9001002),
(9999993, 9001002),
(9999994, 9001002),
(9999995, 9001002),
(9999996, 9001002),
(9999997, 9001002),
(9999998, 9001002),
(9999999, 9001002),
(1337, 11000),
(9000069, 9000069),
(1338, 9090000),
(9270055, 9270055),
(9270056, 9270056),
(9270057, 9270057),
(9270065, 9270065),
(57, 2002001),
(1052116, 1052116),
(1301000, 1301000),
(1200001, 1200001),
(1200002, 1200002);

File diff suppressed because it is too large Load Diff

View File

@@ -101,4 +101,12 @@
<sqlFile path="db/024-duey.sql"/>
</changeSet>
<changeSet id="101" author="Ponk">
<sqlFile path="db/101-shops-data.sql"/>
</changeSet>
<changeSet id="102" author="Ponk">
<sqlFile path="db/102-shopitems-data.sql"/>
</changeSet>
</databaseChangeLog>