From 7c49cb2b6119daed38bf08eb8a1b430a1622c568 Mon Sep 17 00:00:00 2001
From: Scafu <Scafu@5288da4f-0efc-0310-bd40-8d490a2659fa>
Date: Fri, 20 Oct 2006 16:12:17 +0000
Subject: [PATCH] HTML/SQL: Another C5 spellbook seller (sorry for 2 changeset
 in little time)

---
 .../data/html/merchant/31415.htm              | 13 +++++++
 .../sql/merchant_buylists.sql                 | 37 ++++++++++++++++++-
 datapack_development/sql/merchant_shopids.sql |  1 +
 3 files changed, 50 insertions(+), 1 deletion(-)
 create mode 100644 datapack_development/data/html/merchant/31415.htm

diff --git a/datapack_development/data/html/merchant/31415.htm b/datapack_development/data/html/merchant/31415.htm
new file mode 100644
index 0000000000..44555232f3
--- /dev/null
+++ b/datapack_development/data/html/merchant/31415.htm
@@ -0,0 +1,13 @@
+<html><head>
+<body>
+Spellbook Seller Triya:<br>
+I've got to reorganize the entire collection of books in the warehouse and proofread for any typos! What a day! Oh yeah, I also need to bind some books as well! Phew! I'm overwhelmed!<br>
+Hi! Are you looking for a book? I'm very busy right now. Why don't you look around and see if we have something you want? Thanks!<br>
+<a action="bypass -h npc_%objectId%_Buy 161">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 8e78ce2263..f4d4039cbd 100644
--- a/datapack_development/sql/merchant_buylists.sql
+++ b/datapack_development/sql/merchant_buylists.sql
@@ -13984,4 +13984,39 @@ INSERT INTO `merchant_buylists` (`item_id`,`price`,`shop_id`,`order`) VALUES
 (1410,1470,160,51),
 (1398,1470,160,52),
 (1389,1470,160,53),
-(1378,1820,160,54);
\ No newline at end of file
+(1378,1820,160,54),
+(1294,85,161,1),
+(1095,85,161,2),
+(1048,115,161,3),
+(1050,115,161,4),
+(1051,115,161,5),
+(1049,115,161,6),
+(1152,115,161,7),
+(1054,570,161,8),
+(1058,570,161,9),
+(1099,570,161,10),
+(1098,570,161,11),
+(1056,570,161,12),
+(1055,570,161,13),
+(1053,570,161,14),
+(1052,570,161,15),
+(1097,630,161,16),
+(1096,630,161,17),
+(1386,915,161,18),
+(1514,915,161,19),
+(1372,915,161,20),
+(1667,915,161,21),
+(1671,915,161,22),
+(1669,915,161,23),
+(1403,915,161,24),
+(1405,915,161,25),
+(1370,915,161,26),
+(1401,915,161,27),
+(4916,915,161,28),
+(1411,915,161,29),
+(1513,915,161,30),
+(1399,915,161,31),
+(1515,915,161,32),
+(1371,915,161,33),
+(1383,915,161,34),
+(1377,915,161,35);
\ No newline at end of file
diff --git a/datapack_development/sql/merchant_shopids.sql b/datapack_development/sql/merchant_shopids.sql
index 3182b85ceb..671e45b95d 100644
--- a/datapack_development/sql/merchant_shopids.sql
+++ b/datapack_development/sql/merchant_shopids.sql
@@ -172,6 +172,7 @@ 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 (161,'31415');
 INSERT INTO merchant_shopids VALUES (5800,'30890');
 INSERT INTO merchant_shopids VALUES (5801,'30890');
 INSERT INTO merchant_shopids VALUES (5802,'30891');
-- 
GitLab