From ddea267ff7346486413916cca50eff99bb36f2ed Mon Sep 17 00:00:00 2001
From: Scafu <Scafu@5288da4f-0efc-0310-bd40-8d490a2659fa>
Date: Fri, 20 Oct 2006 15:46:39 +0000
Subject: [PATCH] SQL/HTML: C5 Spellbook Seller missing

---
 .../data/html/merchant/31418.htm              | 13 +++++
 .../sql/merchant_buylists.sql                 | 56 ++++++++++++++++++-
 datapack_development/sql/merchant_shopids.sql |  3 +-
 3 files changed, 70 insertions(+), 2 deletions(-)
 create mode 100644 datapack_development/data/html/merchant/31418.htm

diff --git a/datapack_development/data/html/merchant/31418.htm b/datapack_development/data/html/merchant/31418.htm
new file mode 100644
index 0000000000..ff80ed5ce3
--- /dev/null
+++ b/datapack_development/data/html/merchant/31418.htm
@@ -0,0 +1,13 @@
+<html><head>
+<body>
+Spellbook Seller Rouke:<br>
+Oh seeker of truth! May the sacred light of Einhasad be with you always...<br>
+The path to truth is found in books. You need not buy anything from me. Why don't you try reading a book?<br>
+<a action="bypass -h npc_%objectId%_Buy 160">Buy</a><br>
+<a action="bypass -h npc_%objectId%_Sell">Sell</a>
+<br>
+<a action="bypass -h npc_%objectId%_TerritoryStatus">"Who is the lord of the manor and what is the tax rate?"</a>
+<br>
+<a action="bypass -h npc_%objectId%_Quest">Quest</a>
+</body>
+</html>
\ No newline at end of file
diff --git a/datapack_development/sql/merchant_buylists.sql b/datapack_development/sql/merchant_buylists.sql
index 278b83e5dc..8e78ce2263 100644
--- a/datapack_development/sql/merchant_buylists.sql
+++ b/datapack_development/sql/merchant_buylists.sql
@@ -13930,4 +13930,58 @@ INSERT INTO `merchant_buylists` (`item_id`,`price`,`shop_id`,`order`) VALUES
 (1515,915,159,32),
 (1371,915,159,33),
 (1383,915,159,34),
-(1377,915,159,35);
+(1377,915,159,35),
+(1294,87,160,1),
+(1095,87,160,2),
+(1048,117,160,3),
+(1050,117,160,4),
+(1051,117,160,5),
+(1049,117,160,6),
+(1152,117,160,7),
+(1054,586,160,8),
+(1058,586,160,9),
+(1099,586,160,10),
+(1098,586,160,11),
+(1056,586,160,12),
+(1055,586,160,13),
+(1053,586,160,14),
+(1052,586,160,15),
+(1097,645,160,16),
+(1096,645,160,17),
+(1386,940,160,18),
+(1514,940,160,19),
+(1372,940,160,20),
+(1667,940,160,21),
+(1671,940,160,22),
+(1669,940,160,23),
+(1403,940,160,24),
+(1405,940,160,25),
+(1370,940,160,26),
+(1401,940,160,27),
+(4916,940,160,28),
+(1411,940,160,29),
+(1513,940,160,30),
+(1399,940,160,31),
+(1515,940,160,32),
+(1371,940,160,33),
+(1383,940,160,34),
+(1377,940,160,35),
+(1512,1350,160,36),
+(1379,1350,160,37),
+(1415,1470,160,38),
+(1388,1470,160,39),
+(1517,1470,160,40),
+(4908,1470,160,41),
+(1417,1470,160,42),
+(1400,1470,160,43),
+(1418,1470,160,44),
+(1668,1470,160,45),
+(1670,1470,160,46),
+(1404,1470,160,47),
+(4906,1470,160,48),
+(1402,1470,160,49),
+(1391,1470,160,50),
+(1410,1470,160,51),
+(1398,1470,160,52),
+(1389,1470,160,53),
+(1378,1820,160,54);
\ No newline at end of file
diff --git a/datapack_development/sql/merchant_shopids.sql b/datapack_development/sql/merchant_shopids.sql
index 7f8260b53f..3182b85ceb 100644
--- a/datapack_development/sql/merchant_shopids.sql
+++ b/datapack_development/sql/merchant_shopids.sql
@@ -171,6 +171,7 @@ INSERT INTO merchant_shopids VALUES (156,'31444');
 INSERT INTO merchant_shopids VALUES (157,'31696');
 INSERT INTO merchant_shopids VALUES (158,'31963');
 INSERT INTO merchant_shopids VALUES (159,'31414');
+INSERT INTO merchant_shopids VALUES (160,'31418');
 INSERT INTO merchant_shopids VALUES (5800,'30890');
 INSERT INTO merchant_shopids VALUES (5801,'30890');
 INSERT INTO merchant_shopids VALUES (5802,'30891');
@@ -400,4 +401,4 @@ INSERT INTO merchant_shopids VALUES (71026,'gm');
 INSERT INTO merchant_shopids VALUES (71027,'gm');
 INSERT INTO merchant_shopids VALUES (71028,'gm');
 INSERT INTO merchant_shopids VALUES (71029,'gm');
-INSERT INTO merchant_shopids VALUES (71030,'gm');
+INSERT INTO merchant_shopids VALUES (71030,'gm');
\ No newline at end of file
-- 
GitLab