Browse Source

JYTHON: Adding quest 384 : Warehouse Keeper's Pastime. Another pre-C5 quest done! Only one more to go! Woot! Maybe it'll get done before the next update (lol).
Also updating Sagas Superscript a little bit more, removing an unneeded function.

Emperorc 17 years ago
parent
commit
544ef7c10b
51 changed files with 751 additions and 20 deletions
  1. 1 0
      datapack_development/data/scripts.cfg
  2. 3 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-01.htm
  3. 3 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-02.htm
  4. 3 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-03.htm
  5. 2 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-04.htm
  6. 2 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-05.htm
  7. 4 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-06.htm
  8. 5 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-07.htm
  9. 2 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-08.htm
  10. 3 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-09.htm
  11. 2 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-10.htm
  12. 11 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-11.htm
  13. 2 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-12.htm
  14. 11 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-13.htm
  15. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-14.htm
  16. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-15.htm
  17. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-16.htm
  18. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-17.htm
  19. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-18.htm
  20. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-19.htm
  21. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-20.htm
  22. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-21.htm
  23. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-22.htm
  24. 8 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-23.htm
  25. 7 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-24.htm
  26. 8 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-25.htm
  27. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-26.htm
  28. 4 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-01.htm
  29. 5 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-02.htm
  30. 3 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-04.htm
  31. 2 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-05.htm
  32. 2 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-08.htm
  33. 11 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-11.htm
  34. 3 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-12.htm
  35. 11 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-13.htm
  36. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-14.htm
  37. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-15.htm
  38. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-16.htm
  39. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-17.htm
  40. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-18.htm
  41. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-19.htm
  42. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-20.htm
  43. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-21.htm
  44. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-22.htm
  45. 8 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-23.htm
  46. 7 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-24.htm
  47. 8 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-25.htm
  48. 17 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-26.htm
  49. 260 0
      datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/__init__.py
  50. 9 19
      datapack_development/data/scripts/quests/SagasSuperclass/__init__.py
  51. 1 1
      datapack_development/sql/etcitem.sql

+ 1 - 0
datapack_development/data/scripts.cfg

@@ -352,6 +352,7 @@ quests/380_BringOutTheFlavorOfIngredients/__init__.py
 quests/381_LetsBecomeARoyalMember/__init__.py
 quests/382_KailsMagicCoin/__init__.py
 quests/383_SearchingForTreasure/__init__.py
+quests/384_WarehouseKeepersPastime/__init__.py
 quests/385_YokeofthePast/__init__.py
 quests/386_StolenDignity/__init__.py
 quests/401_PathToWarrior/__init__.py

+ 3 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-01.htm

@@ -0,0 +1,3 @@
+<html><body>Warehouse Freightman Cliff:<br>
+Being a warehouse keeper can be very boring, just sitting around waiting for people to bring items in. <font color="LEVEL">Warehouse keepers think of different ways to amuse themselves. </font>I usually pass the time playing <font color="LEVEL"> bingo</font> with other warehouse keepers. On my day off, I visit the warehouse keepers in the village and play bingo with them.<br>But we find the old rules of the game too boring...<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30182-02.htm">"How do you make the game more interesting?"</a></body></html>

+ 3 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-02.htm

@@ -0,0 +1,3 @@
+<html><body>Warehouse Freightman Cliff:<br>
+We bet items! Working as a warehouse keeper, all sorts of items become available to you. Many items in the warehouse go unclaimed, therefore I never lack for things to wager. <br><font color="LEVEL">Lately, I've been betting Warehouse Keeper's Medals.</font> These are awards issued by the Iron Gate Guild to warehouse keepers according to their productivity. Please don't tell anyone I'm wagering with them!<br>I've actually had a problem with this lately...<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30182-03.htm">"What's the problem?"</a></body></html>

+ 3 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-03.htm

@@ -0,0 +1,3 @@
+<html><body>Warehouse Freightman Cliff:<br>
+Some time ago <font color="LEVEL">a cargo wagon from Hunters Village was attacked by evil creatures</font> and all of the cargo was stolen. Most of it wasn't very valuable, but a large quantity of <font color="LEVEL">Warehouse Keeper's Medals that I was expecting </font> were among the cargo.<br>You may wonder why I was expecting such a large shipment of medals... Well, you see... Recently while playing bingo with some warehouse keeper friends of mine, I won big time. I did so well, in fact, that I couldn't carry all of my winnings home with me! I asked them to send the medals with their next shipment of cargo. And now this! <br>Will you help me to recover the medals? If you do this for me, I will reward you generously.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30182-05.htm">"I will help you."</a></body></html>

+ 2 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-04.htm

@@ -0,0 +1,2 @@
+<html><body>Warehouse Freightman Cliff:<br>
+Being a warehouse keeper can be very boring, just sitting around waiting for people to bring items in. <font color="LEVEL">Warehouse keepers think of different ways to amuse themselves. </font>I usually pass the time playing <font color="LEVEL"> bingo</font> with other warehouse keepers. On my day off, I visit the warehouse keepers in the village and play bingo with them.<br>I recently had a problem at a game, and would really like to ask you to help me, but I'm afraid you aren't yet up to the task. Come back when you've improved your abilities.<br>(This quest can only be undertaken by a character of level 40 or higher.)</body></html>

+ 2 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-05.htm

@@ -0,0 +1,2 @@
+<html><body>Warehouse Freightman Cliff:<br>
+Good choice! After you bring the <font color="LEVEL">Warehouse Keeper's Medals</font> to me, I'll let you <font color="LEVEL">play bingo</font>.  If you win, I'll give you an unclaimed item as a reward!  You never know...  you may obtain a high quality weapon or armor!   <br>According to our rules, <font color="LEVEL">you can bet either 10 or 100 medals</font>.  Therefore, you should bring back at least 10 medals.  Of course, if you bet 100 medals, you'll have a better chance of winning a higher-quality item.  <br> Ah,  Go and see <font color="LEVEL">Warehouse Chief Baxt of Hunters Village</font>, he will also let you play bingo.  He feels responsible for allowing the robbery to happen, and has offered to help with the recovery of the medals.<br>There is one more important thing.  Based upon the footprints, hair samples and statements from witnesses, the evil creatures that attacked the cargo wagon were <font color="LEVEL">rotting golems, gigantic monster eyes, konzur bats, konzur bat lords, tulben, hunter gargoyles, dragon bearer chiefs, dragon bearer warriors, dragon bearer archers, dustwind gargoyles, thunder wyrms, carinkain, weird drakes, grave guards, cadeines, sanhidros, connabi, bartals, luminuns, innersens, nightmare guides, nightmare keepers, and nightmare lords</font>.  Good luck! </body></html>

+ 4 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-06.htm

@@ -0,0 +1,4 @@
+<html><body>Warehouse Freightman Cliff:<br>
+As I asked you earlier, please go slay <font color="LEVEL">rotting golems, gigantic monster eyes, konzur bats, konzur bat lords, tulben, hunter gargoyles, dragon bearer chiefs, dragon bearer warriors, dragon bearer archers, dustwind gargoyles, thunder wyrms, carinkain, weird drakes, grave guards, cadeines, sanhidros, connabi, bartals, luminuns, innersens, nightmare guides, nightmare keepers and nightmare lords</font> and recover the <font color="LEVEL">Warehouse Keeper's Medals</font> that are among the stolen cargo.  Then I'll let you <font color="LEVEL">play bingo</font>.   <br>If you win, I'll give you an unclaimed item as a reward!  You never know... you may obtain a high-quality weapon or armor!   <br>According to our rules, <font color="LEVEL">you can bet either 10 or 100 medals</font>.  Therefore, you should bring back at least 10 medals.   Of course, if you bet 100 medals, you'll have a better chance of winning a higher-quality item.  <br> Ah,  Go and see <font color="LEVEL">Warehouse Chief Baxt of Hunters Village</font>, he will also let you play bingo.  He feels responsible for allowing the robbery to happen and has offered to help with the recovery of the medals.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30182-10.htm">Listen to the explanation on the rules of the bingo game.</a><br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30182-08.htm">"I want to quit."</a></body></html>

+ 5 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-07.htm

@@ -0,0 +1,5 @@
+<html><body>Warehouse Freightman Cliff:<br>
+Have you brought back the medals? Well then, let's play bingo!<br>According to our rules, you can bet either 10 or 100 medals. Of course, if you bet 100 medals, you will have a higher probability of winning a better-quality item.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30182-11.htm">Bet 10 Warehouse Keeper's Medals.</a><br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30182-13.htm">Bet 100 Warehouse Keeper's Medals.</a><br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30182-09.htm">Explanation of rules.</a></body></html>

+ 2 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-08.htm

@@ -0,0 +1,2 @@
+<html><body>Warehouse Freightman Cliff:<br>
+Oh, too bad... More medals must still be recovered. I suppose you have your own reasons for quitting... I guess you're just tired of dealing with medals, eh? <br>Oh, well, if you ever want to play bingo again, come back to see me.</body></html>

+ 3 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-09.htm

@@ -0,0 +1,3 @@
+<html><body>Warehouse Freightman Cliff:<br>
+I will arrange the numbers 1 through 9 on the panel. You choose 6 numbers between 1 and 9. We then see how if the numbers you selected form any horizontal, vertical or diagonal lines on the panel. <br>If your numbers create 3 lines, you win.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30182-07.htm">Return to the game.</a></body></html>

+ 2 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-10.htm

@@ -0,0 +1,2 @@
+<html><body>Warehouse Freightman Cliff:<br>
+I'll randomly arrange the numbers 1-9 on the panel. Then you'll select 6 numbers between 1 and 9. If your choices form 3 lines, either horizontal, vertical or diagonal, you win a prize! Does that make sense? You'll get the hang of it once we start playing...</body></html>

+ 11 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-11.htm

@@ -0,0 +1,11 @@
+<html><body>Warehouse Freightman Cliff:<br>
+I arranged the numbers 1 through 9 on the panel. Don't peek!<br>I've learned the hard way that I must get your payment in advance. Some players run away when they realize that they don't have a chance of winning the game. If you quit during game play, you will forfeit your wager. Is this agreeable?<br>Now select 6 numbers between 1 and 9. Pick your first number. <br
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-9">9</a></body></html>

+ 2 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-12.htm

@@ -0,0 +1,2 @@
+<html><body>Warehouse Freightman Cliff:<br>
+You don't have enough medals.<br>Please collect more medals and come back.</body></html>

+ 11 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-13.htm

@@ -0,0 +1,11 @@
+<html><body>Warehouse Freightman Cliff:<br>
+I arranged the numbers 1 through 9 on the panel. Don't peek!<br>I've learned the hard way that I should get your payment in advance. Some players run away when they realize that they don't stand a chance of winning the game. If you quit during game play, you will forfeit your wager. Is this agreeable?<br>Now select 6 numbers between 1 and 9. Pick your first number. <br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-9">9</a></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-14.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Freightman Cliff:<br>
+Now choose your second number.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+Your current selection is shown below.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-15.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Freightman Cliff:<br>
+Now choose your third number.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+Your current selection is shown below.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-16.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Freightman Cliff:<br>
+You have already selected that number. Choose again.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+Your current selections are shown below.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-17.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Freightman Cliff:<br>
+Make your fourth choice. Choose carefully.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+Your current selections are listed below.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-18.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Freightman Cliff:<br>
+You have already chosen that number. Make your third choice again.<br> 
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+Your current selections are listed below.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-19.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Freightman Cliff:<br>
+You're almost done. Now, choose your fifth number carefully.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+Your current selections are shown below.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-20.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Freightman Cliff:<br>
+You have already chosen that number. Make your fourth choice again.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+Your current selections are shown below.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-21.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Freightman Cliff:<br>
+Now make your final choice.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-9">9</a><br>
+Your selections are shown below.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-22.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Freightman Cliff:<br>
+I realize this game is a bit confusing at first. You have selected a number that you have previously chosen. Make your fifth choice again.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+Your current selections are shown below.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 8 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-23.htm

@@ -0,0 +1,8 @@
+<html><body>Warehouse Freightman Cliff:<br>
+You've created 3 lines! The red-colored numbers on the bingo panel below are the numbers you chose. As you can see, they formed 3 lines. Congratulations! As I promised, you shall be rewarded with an unclaimed item from my warehouse. Wait here...<br>
+.<br>.<br>.<br>Puff puff... it's very dusty. Here it is! Do you like it?<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><font color="<?FontColor1?>"><?Cell1?></font></td> <td align="center"><font color="<?FontColor2?>"><?Cell2?></font></td> <td align="center"><font color="<?FontColor3?>"><?Cell3?></font></td> </tr> 
+<tr> <td align="center"><font color="<?FontColor4?>"><?Cell4?></font></td> <td align="center"><font color="<?FontColor5?>"><?Cell5?></font></td> <td align="center"><font color="<?FontColor6?>"><?Cell6?></font></td> </tr> 
+<tr> <td align="center"><font color="<?FontColor7?>"><?Cell7?></font></td> <td align="center"><font color="<?FontColor8?>"><?Cell8?></font></td> <td align="center"><font color="<?FontColor9?>"><?Cell9?></font></td> </tr> 
+</table></body></html>

+ 7 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-24.htm

@@ -0,0 +1,7 @@
+<html><body>Warehouse Freightman Cliff:<br>
+Hmm... Unfortunately, your numbers did not create 3 lines. Better luck next time. The red-colored numbers on the panel are the ones you chose.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><font color="<?FontColor1?>"><?Cell1?></font></td> <td align="center"><font color="<?FontColor2?>"><?Cell2?></font></td> <td align="center"><font color="<?FontColor3?>"><?Cell3?></font></td> </tr> 
+<tr> <td align="center"><font color="<?FontColor4?>"><?Cell4?></font></td> <td align="center"><font color="<?FontColor5?>"><?Cell5?></font></td> <td align="center"><font color="<?FontColor6?>"><?Cell6?></font></td> </tr> 
+<tr> <td align="center"><font color="<?FontColor7?>"><?Cell7?></font></td> <td align="center"><font color="<?FontColor8?>"><?Cell8?></font></td> <td align="center"><font color="<?FontColor9?>"><?Cell9?></font></td> </tr> 
+</table></body></html>

+ 8 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-25.htm

@@ -0,0 +1,8 @@
+<html><body>Warehouse Freightman Cliff:<br>
+Luck is not with you, my friend! The red-colored numbers on the panel below are the ones you chose. They didn't create even a single line! Actually, it's harder not to create a single line than to create all 3 lines!<br>Usually, I don't give a reward when you don't create a single line, but I feel sorry for you. Wait here... <br>.<br>.<br>.<br>
+Take this. I hope it will help improve your luck!<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><font color="<?FontColor1?>"><?Cell1?></font></td> <td align="center"><font color="<?FontColor2?>"><?Cell2?></font></td> <td align="center"><font color="<?FontColor3?>"><?Cell3?></font></td> </tr> 
+<tr> <td align="center"><font color="<?FontColor4?>"><?Cell4?></font></td> <td align="center"><font color="<?FontColor5?>"><?Cell5?></font></td> <td align="center"><font color="<?FontColor6?>"><?Cell6?></font></td> </tr> 
+<tr> <td align="center"><font color="<?FontColor7?>"><?Cell7?></font></td> <td align="center"><font color="<?FontColor8?>"><?Cell8?></font></td> <td align="center"><font color="<?FontColor9?>"><?Cell9?></font></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30182-26.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Freightman Cliff:<br>
+You have already chosen that number. Please choose your sixth number again.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-9">9</a><br>
+Your current selections are shown below.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 4 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-01.htm

@@ -0,0 +1,4 @@
+<html><body>Warehouse Chief Baxt:<br>
+As Cliff told you, you must slay the<font color="LEVEL">rotting golem, the gigantic monster eyes, the konzur bat, the konzur bat lord, the tulben, the hunter gargoyle, the dragon bearer chief, the dragon bearer warrior, the dragon bearer archer, the dustwind gargoyle, the thunder wyrm, the carinkain, the weird drake, the grave guard, the cadeine, the sanhidro, the connabi, the bartal, the luminun, the innersen, the nightmare guide, the nightmare keeper, and the nightmare lord </font>and bring back the <font color="LEVEL">Warehouse Keeper's Medals</font> they stole.  Then, like Cliff, I will also let you <font color="LEVEL">play bingo</font>.  I feel somewhat responsible for the shoddy security provided for the freight wagon, and have decided to help with the recovery of the medals.  <br>If you win, I'll give you an unclaimed item as a reward!  You never know... you may obtain a high-quality weapon or armor!   <br>According to our rules, <font color="LEVEL">you can bet either 10 or 100 medals</font>.  Therefore, you should bring back at least 10 medals.   If you bet 100 medals, you will have a better chance of winning a higher-quality item.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30685-05.htm">"Tell me about the rules for playing bingo."</a><br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30685-08.htm">"I want to quit."</a></body></html>

+ 5 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-02.htm

@@ -0,0 +1,5 @@
+<html><body>Warehouse Chief Baxt:<br>
+Have you brought back the medals? Well then, let's play bingo!<br>According to the rules, <font color="LEVEL">you can bet either 10 or 100 medals. </font> Of course, if you bet 100 medals, you will have a better chance of winning a higher-quality item.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30685-11.htm">Bet 10 Warehouse Keeper's Medals .</a><br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30685-13.htm">Bet 100 Warehouse Keeper's Medals.</a><br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30685-04.htm">The rules of bingo.</a></body></html>

+ 3 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-04.htm

@@ -0,0 +1,3 @@
+<html><body>Warehouse Chief Baxt:<br>
+I will randomly arrange the numbers 1-9 on the panel. Then you select 6 numbers between 1 and 9. If your choices form 3 lines, either horizontal, vertical or diagonal, you win! Does that make sense? You'll understand better once we start playing. <br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime 30685-02.htm">Return to the game.</a></body></html>

+ 2 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-05.htm

@@ -0,0 +1,2 @@
+<html><body>Warehouse Chief Baxt:<br>
+I'll arrange the numbers 1-9 on the panel. Then you select 6 numbers between 1 and 9. If your choices form 3 lines, either horizontal, vertical or diagonal, you win! Does that make sense? You'll understand better once we start playing.</body></html>

+ 2 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-08.htm

@@ -0,0 +1,2 @@
+<html><body>Warehouse Chief Baxt:<br>
+I'm sorry to hear that. There are still more medals that need to be recovered.  I understand that you must have your own reasons for quitting... <br>If you ever want to play bingo again, come back and see me.</body></html>

+ 11 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-11.htm

@@ -0,0 +1,11 @@
+<html><body>Warehouse Chief Baxt:<br>
+I've arranged 9 numbers on the panel. Don't peek! Ha ha ha!<br>Now give me your 10 medals. Some players run away when they realize that they don't stand a good chance of winning. Therefore, I prefer to hold the medals before the game starts. If you quit during game play, you'll forfeit your bet. Is that satisfactory?<br>Now, select your first number. <br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-9">9</a></body></html>

+ 3 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-12.htm

@@ -0,0 +1,3 @@
+<html><body>Warehouse Chief Baxt:<br>
+You don't have enough medals. Did you drop them somewhere? <br>
+Please bring the appropriate number of medals when you return.</body></html>

+ 11 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-13.htm

@@ -0,0 +1,11 @@
+<html><body>Warehouse Chief Baxt:<br>
+I've arranged 9 numbers on the panel. Don't peek! Ha ha ha!<br>Please give me your 10 medals. Some players run away when they realize that they don't stand a good chance of winning. Therefore, I prefer to hold the medals before the game starts. If you quit during game play, you'll forfeit your bet. Is that satisfactory?<br>Now, select your first number. <br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-9">9</a></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-14.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Chief Baxt:<br>
+Now, choose your second number.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+For your information, below is your current selection.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-15.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Chief Baxt:<br>
+Now, choose your third number.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+For your information, your current selection is shown below.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-16.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Chief Baxt:<br>
+You have already selected that number. Choose your second number again.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+For your information, your current selection is shown below.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-17.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Chief Baxt:<br>
+Now choose your fourth number!<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+For your information, below is your current selection.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-18.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Chief Baxt:<br>
+You have already selected that number. Choose your third number again.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+For your information, below is your current selection.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-19.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Chief Baxt:<br>
+Now, choose your fifth number. <br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+For your information, below is your current selection.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-20.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Chief Baxt:<br>
+You have already selected that number. Choose your fourth number again.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+For your information, below is your current selection.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-21.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Chief Baxt:<br>
+Now choose your final number.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-9">9</a><br>
+For your information, below is your current selection.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-22.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Chief Baxt:<br>
+You have already selected that number. Choose your fifth number again.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-9">9</a><br>
+For your information, below is your current selection.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 8 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-23.htm

@@ -0,0 +1,8 @@
+<html><body>Warehouse Chief Baxt:<br>
+You've created 3 lines! The red colored numbers on the bingo panel below are the numbers you chose. Congratulations! As I promised, I'll give you an unclaimed item from my warehouse. Wait here.<br>.<br>.<br>.<br>
+Puff puff... it's very dusty. Here it is. Do you like it?<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><font color="<?FontColor1?>"><?Cell1?></font></td> <td align="center"><font color="<?FontColor2?>"><?Cell2?></font></td> <td align="center"><font color="<?FontColor3?>"><?Cell3?></font></td> </tr> 
+<tr> <td align="center"><font color="<?FontColor4?>"><?Cell4?></font></td> <td align="center"><font color="<?FontColor5?>"><?Cell5?></font></td> <td align="center"><font color="<?FontColor6?>"><?Cell6?></font></td> </tr> 
+<tr> <td align="center"><font color="<?FontColor7?>"><?Cell7?></font></td> <td align="center"><font color="<?FontColor8?>"><?Cell8?></font></td> <td align="center"><font color="<?FontColor9?>"><?Cell9?></font></td> </tr> 
+</table></body></html>

+ 7 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-24.htm

@@ -0,0 +1,7 @@
+<html><body>Warehouse Chief Baxt:<br>
+Hmm... You didn't make 3 lines. Why don't you try again? The red-colored numbers on the panel are the ones you chose.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><font color="<?FontColor1?>"><?Cell1?></font></td> <td align="center"><font color="<?FontColor2?>"><?Cell2?></font></td> <td align="center"><font color="<?FontColor3?>"><?Cell3?></font></td> </tr> 
+<tr> <td align="center"><font color="<?FontColor4?>"><?Cell4?></font></td> <td align="center"><font color="<?FontColor5?>"><?Cell5?></font></td> <td align="center"><font color="<?FontColor6?>"><?Cell6?></font></td> </tr> 
+<tr> <td align="center"><font color="<?FontColor7?>"><?Cell7?></font></td> <td align="center"><font color="<?FontColor8?>"><?Cell8?></font></td> <td align="center"><font color="<?FontColor9?>"><?Cell9?></font></td> </tr> 
+</table></body></html>

+ 8 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-25.htm

@@ -0,0 +1,8 @@
+<html><body>Warehouse Chief Baxt:<br>
+You are spectacularly unlucky! The red-colored numbers on the panel below are the ones you chose. As you can see, they didn't create even a single line. Did you know that it is harder not to create a single line than creating all 3 lines?<br>Usually, I don't give a reward when you don't create a single line, but since I'm feeling sorry for you, I'll be generous this time. Wait here. <br>.<br>.<br>.<br>
+Here, take this. I hope it will bring you better luck in the future.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><font color="<?FontColor1?>"><?Cell1?></font></td> <td align="center"><font color="<?FontColor2?>"><?Cell2?></font></td> <td align="center"><font color="<?FontColor3?>"><?Cell3?></font></td> </tr> 
+<tr> <td align="center"><font color="<?FontColor4?>"><?Cell4?></font></td> <td align="center"><font color="<?FontColor5?>"><?Cell5?></font></td> <td align="center"><font color="<?FontColor6?>"><?Cell6?></font></td> </tr> 
+<tr> <td align="center"><font color="<?FontColor7?>"><?Cell7?></font></td> <td align="center"><font color="<?FontColor8?>"><?Cell8?></font></td> <td align="center"><font color="<?FontColor9?>"><?Cell9?></font></td> </tr> 
+</table></body></html>

+ 17 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/30685-26.htm

@@ -0,0 +1,17 @@
+<html><body>Warehouse Chief Baxt:<br>
+You've already chosen that number. Please choose your sixth number again.<br>
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-1">1</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-2">2</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-3">3</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-4">4</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-5">5</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-6">6</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-7">7</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-8">8</a>&nbsp;&nbsp;&nbsp;&nbsp;  
+<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-9">9</a><br>
+For your information, below is your current selection.<br>
+<table border="1" border color="white" width=100> 
+<tr> <td align="center"><?Cell1?></td> <td align="center"><?Cell2?></td> <td align="center"><?Cell3?></td> </tr> 
+<tr> <td align="center"><?Cell4?></td> <td align="center"><?Cell5?></td> <td align="center"><?Cell6?></td> </tr> 
+<tr> <td align="center"><?Cell7?></td> <td align="center"><?Cell8?></td> <td align="center"><?Cell9?></td> </tr> 
+</table></body></html>

+ 260 - 0
datapack_development/data/scripts/quests/384_WarehouseKeepersPastime/__init__.py

@@ -0,0 +1,260 @@
+# Made by Emperorc
+import sys
+from net.sf.l2j.gameserver.model.quest import State
+from net.sf.l2j.gameserver.model.quest import QuestState
+from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest
+from net.sf.l2j.util import Rnd
+from net.sf.l2j.gameserver.cache import HtmCache
+
+qn = "384_WarehouseKeepersPastime"
+
+#NPCs
+Cliff = 30182
+Baxt = 30685
+
+#ITEMS
+Medal = 5964
+
+#Droplist format - npcId : chance (%)
+Droplist = {
+    20948 : 18, #Bartal
+    20945 : 12, #Cadeine
+    20946 : 15, #Sanhidro
+    20947 : 16, #Connabi
+    20635 : 15, #Carinkain
+    20773 : 61, #Conjurer Bat Lord
+    20774 : 60, #Conjurer Bat
+    20760 : 24, #Dragon Bearer Archer
+    20758 : 24, #Dragon Bearer Chief
+    20759 : 23, #Dragon Bearer Warrior
+    20242 : 22, #Dustwind Gargoyle
+    20281 : 22, #Dustwind Gargoyle (2)
+    20556 : 14, #Giant Monstereye
+    20668 : 21, #Grave Guard
+    20241 : 22, #Hunter Gargoyle
+    20286 : 22, #Hunter Gargoyle (2)
+    20950 : 20, #Innersen
+    20949 : 19, #Luminun
+    20942 : 9,  #Nightmare Guide
+    20943 : 12, #Nightmare Keeper
+    20944 : 11, #Nightmare Lord
+    20559 : 14, #Rotting Golem
+    20243 : 21, #Thunder Wyrm
+    20282 : 21, #Thunder Wyrm (2)
+    20677 : 34, #Tulben
+    20605 : 15, #Weird Drake
+}
+
+#Rewards - item : chance (iterative)
+Rewards_10_Win = {
+    1888 : 16,  #Synthetic Cokes
+    1887 : 32,  #Varnish of Purity
+    1894 : 50,  #Crafted Leather
+    952 : 80,   #Scroll: Enchant Armor (C)
+    1890 : 89,  #Mithril Alloy
+    1893 : 98,  #Oriharukon
+    951 : 100   #Scroll: Enchant Weapon (C)
+}
+
+Rewards_10_Lose = {
+    4041 : 50,  #Mold Hardener
+    952 : 80,   #Scroll: Enchant Armor (C)
+    1892 : 98,  #Blacksmith\'s Frame
+    917 : 100   #Necklace of Mermaid
+}
+
+Rewards_100_Win = {
+    883 : 50,   #Aquastone Ring
+    951 : 80,   #Scroll: Enchant Weapon (C)
+    852 : 98,   #Moonstone Earring
+    401 : 100   #Drake Leather Armor
+}
+
+Rewards_100_Lose = {
+    951 : 50,   #Scroll: Enchant Weapon (C)
+    500 : 80,   #Great Helmet
+    2437 : 98,  #Drake Leather Boots
+    135 : 100   #Samurai Longsword
+}
+
+class Quest (JQuest) :
+
+ def __init__(self,id,name,descr):
+     JQuest.__init__(self,id,name,descr)
+     self.questItemIds = [Medal]
+     #a dynamic dictionary mapping player names to board status and selected numbers - name : [[game],[guesses],bet]
+     self.gameStatus = {}
+
+ def generateBoard(self,player,bet) :
+     board = []
+     num = [1,2,3,4,5,6,7,8,9]
+     for i in range(9) : board.append(num.pop(Rnd.get(1,len(num))-1))
+     self.gameStatus[player.getName()] = [board,[],bet]
+     return
+
+ def fillBoard(self,player,htmltext) :
+     guess = self.gameStatus[player.getName()][1]
+     for i in range(9) :
+        num = self.gameStatus[player.getName()][0][i]
+        if num in guess :
+            htmltext = htmltext.replace("<?Cell"+str(i+1)+"?>",str(num))
+        else :
+            htmltext = htmltext.replace("<?Cell"+str(i+1)+"?>","?")
+     return htmltext
+
+ def checkWin(self,player) :
+     board = self.gameStatus[player.getName()][0]
+     guess = self.gameStatus[player.getName()][1]
+     new_board = [[0,0,0],[0,0,0],[0,0,0]]
+     k = match = win = 0
+     a = range(3)
+     for i in a :
+         for j in a :
+             new_board[i][j] = board[k]
+             k += 1
+     #Checking rows
+     for i in a :
+         for j in a :
+             match += (new_board[i][j] in guess)
+         if match == 3 :
+             win += 1
+         match = 0
+     #Checking collumns
+     for j in a :
+         for i in a :
+             match += (new_board[i][j] in guess)
+         if match == 3 :
+             win += 1
+         match = 0
+     #Checking diagonals
+     for i in a :
+         match += (new_board[i][i] in guess)
+     if match == 3 :
+         win += 1
+     match = 0
+     for i,j in [[0,2],[1,1],[2,0]] :
+         match += (new_board[i][j] in guess)
+     if match == 3 :
+         win += 1
+     return win
+
+ def getReward(self,rewards) :
+     rand = Rnd.get(100)
+     for item in rewards.keys() :
+        if rand < rewards[item] :
+            return item
+
+ def onAdvEvent (self,event,npc,player):
+   st = player.getQuestState(qn)
+   if not st: return
+   htmltext = event
+   npcId = str(npc.getNpcId())
+   if event == "30182-05.htm" :
+       st.playSound("ItemSound.quest_accept")
+       st.setState(State.STARTED)
+       st.set("cond","1")
+   elif event == npcId + "-08.htm" :
+       st.playSound("ItemSound.quest_finish")
+       st.exitQuest(1)
+   elif event == npcId + "-11.htm" :
+       if st.getQuestItemsCount(Medal) >= 10 :
+           st.takeItems(Medal,10)
+           self.generateBoard(player,10)
+       else :
+           htmltext = npcId + "-12.htm"
+   elif event == npcId + "-13.htm" :
+       if st.getQuestItemsCount(Medal) >= 100 :
+           st.takeItems(Medal,100)
+           self.generateBoard(player,100)
+       else :
+           htmltext = npcId + "-12.htm"
+   elif event.startswith("select_1-") : #first pick
+       selection = int(event[9])
+       self.gameStatus[player.getName()][1].append(selection)
+       htmltext = HtmCache.getInstance().getHtm("data/scripts/quests/" + qn + "/" + npcId + "-14.htm")
+       htmltext = self.fillBoard(player,htmltext)
+   elif event.startswith("select_2-") : #pick #2-5
+       selection = int(event[9])
+       guess = self.gameStatus[player.getName()][1]
+       num_guesses = len(guess)
+       if selection in guess : #already chose that number!
+           htmltext = HtmCache.getInstance().getHtm("data/scripts/quests/" + qn + "/" + npcId + "-" + str(14+2*num_guesses) + ".htm")
+       else :
+           self.gameStatus[player.getName()][1].append(selection)
+           num_guesses += 1
+           htmltext = HtmCache.getInstance().getHtm("data/scripts/quests/" + qn + "/" + npcId + "-" + str(11+2*num_guesses) + ".htm")
+       htmltext = self.fillBoard(player,htmltext)
+   elif event.startswith("select_3-") : #pick #6
+       selection = int(event[9])
+       guess = self.gameStatus[player.getName()][1]
+       if selection in guess : #already chose that number!
+           htmltext = HtmCache.getInstance().getHtm("data/scripts/quests/" + qn + "/" + npcId + "-26.htm")
+           htmltext = self.fillBoard(player,htmltext)
+       else :
+           self.gameStatus[player.getName()][1].append(selection)
+           wins = self.checkWin(player)
+           bet = self.gameStatus[player.getName()][2]
+           if wins == 3 :
+               item = self.getReward(eval("Rewards_"+str(bet)+"_Win"))
+               st.giveItems(item,1)
+               htmltext = HtmCache.getInstance().getHtm("data/scripts/quests/" + qn + "/" + npcId + "-23.htm")
+           elif wins == 0 :
+               item = self.getReward(eval("Rewards_"+str(bet)+"_Lose"))
+               if item == 2437 : st.giveItems(2463,1)
+               st.giveItems(item,1)
+               htmltext = HtmCache.getInstance().getHtm("data/scripts/quests/" + qn + "/" + npcId + "-25.htm")
+           else :
+               htmltext = HtmCache.getInstance().getHtm("data/scripts/quests/" + qn + "/" + npcId + "-24.htm")
+           guess = self.gameStatus[player.getName()][1]
+           for i in range(9) :
+              num = self.gameStatus[player.getName()][0][i]
+              htmltext = htmltext.replace("<?Cell"+str(i+1)+"?>",str(num))
+              if num in guess :
+                  htmltext = htmltext.replace("<?FontColor"+str(i+1)+"?>","ff0000")
+              else :
+                  htmltext = htmltext.replace("<?FontColor"+str(i+1)+"?>","ffffff")
+   return htmltext
+
+ def onTalk (self,npc,player) :
+   st = player.getQuestState(qn)
+   htmltext = "<html><body>You are either not on a quest that involves this NPC, or you don't meet this NPC's minimum quest requirements.</body></html>" 
+   if not st: return htmltext
+   npcId = npc.getNpcId()
+   id = st.getState()
+   cond = st.getInt("cond")
+   if npcId == Cliff :
+       if id == State.CREATED :
+           htmltext = "04"
+           if player.getLevel() >= 40 :
+               htmltext = "01"
+       elif st.getQuestItemsCount(Medal) < 10 :
+           htmltext = "06"
+       elif st.getQuestItemsCount(Medal) >= 10 :
+           htmltext = "07"
+   elif npcId == Baxt :
+       if st.getQuestItemsCount(Medal) < 10 :
+           htmltext = "01"
+       elif st.getQuestItemsCount(Medal) >= 10 :
+           htmltext = "02"
+   if htmltext.isdigit() :
+       htmltext = str(npcId) + "-" + htmltext + ".htm"
+   return htmltext
+
+ def onKill(self,npc,player,isPet) :
+     st = player.getQuestState(qn)
+     if not st : return
+     npcId = npc.getNpcId()
+     if npcId in Droplist.keys() :
+         if Rnd.get(100) < Droplist[npcId] :
+             st.giveItems(Medal,1)
+             st.playSound("ItemSound.quest_itemget")
+     return
+
+QUEST = Quest(384,qn,"Warehouse Keeper’s Pastime") 
+
+QUEST.addStartNpc(Cliff)
+QUEST.addTalkId(Cliff)
+QUEST.addTalkId(Baxt)
+
+for mob in Droplist.keys() :
+    QUEST.addKillId(mob)

+ 9 - 19
datapack_development/data/scripts/quests/SagasSuperclass/__init__.py

@@ -4,7 +4,6 @@ from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest
 from net.sf.l2j.gameserver.model.quest import State
 from net.sf.l2j.gameserver.model.quest import QuestState
 from net.sf.l2j.gameserver.serverpackets import CreatureSay
-from net.sf.l2j.gameserver.datatables import SpawnTable
 from net.sf.l2j.gameserver.ai import CtrlIntention
 from net.sf.l2j.gameserver.serverpackets import MagicSkillUse
 from net.sf.l2j.gameserver.model import L2World
@@ -88,15 +87,6 @@ class Quest (JQuest) :
     target.broadcastPacket(MagicSkillUse(target,target,skillId,level,6000,1))
     target.broadcastPacket(MagicSkillUse(npc,npc,skillId,level,6000,1))
 
- def FindTemplate (self, npcId) :
-    npcinstance = 0
-    for spawn in SpawnTable.getInstance().getSpawnTable().values():
-        if spawn :
-            if spawn.getNpcid() == npcId:
-                npcinstance = spawn.getLastSpawn()
-                break
-    return npcinstance
-
  def AutoChat(self, npc,text) :
     chars = npc.getKnownList().getKnownPlayers().values().toArray()
     if chars != None:
@@ -170,7 +160,7 @@ class Quest (JQuest) :
  def getPrevClass(self,player) :
      return self.prevclass
 
- def onAdvEvent (self,event,npc, player) :
+ def onAdvEvent (self,event,npc,player) :
    st = player.getQuestState(self.qn)
    if not st: return
    htmltext = None  # simple initialization...if none of the events match, return nothing.  
@@ -205,7 +195,7 @@ class Quest (JQuest) :
            if not player.isSubClassActive() and player.getBaseClass() == self.getPrevClass(player) :
                player.setBaseClass(Class)
            player.broadcastUserInfo()
-           self.Cast(self.FindTemplate(self.NPC[0]),player,4339,1)
+           self.Cast(npc,player,4339,1)
        else :
            st.takeItems(self.Items[10],-1)
            st.playSound("ItemSound.quest_middle")
@@ -261,13 +251,13 @@ class Quest (JQuest) :
    elif event == "5-1" :
        st.set("cond","6")
        st.takeItems(self.Items[4],1)
-       self.Cast(self.FindTemplate(self.NPC[5]),player,4546,1)
+       self.Cast(npc,player,4546,1)
        st.playSound("ItemSound.quest_middle")
        htmltext = "5-02.htm"
    elif event == "6-1" :
        st.set("cond","8")
        st.takeItems(self.Items[5],1)
-       self.Cast(self.FindTemplate(self.NPC[6]),player,4546,1)
+       self.Cast(npc,player,4546,1)
        st.playSound("ItemSound.quest_middle")
        htmltext = "6-03.htm"
    elif event == "7-1" :
@@ -286,19 +276,19 @@ class Quest (JQuest) :
    elif event == "7-2" :
        st.set("cond","10")
        st.takeItems(self.Items[6],1)
-       self.Cast(self.FindTemplate(self.NPC[7]),player,4546,1)
+       self.Cast(npc,player,4546,1)
        st.playSound("ItemSound.quest_middle")
        htmltext = "7-06.htm"
    elif event == "8-1" :
        st.set("cond","14")
        st.takeItems(self.Items[7],1)
-       self.Cast(self.FindTemplate(self.NPC[8]),player,4546,1)
+       self.Cast(npc,player,4546,1)
        st.playSound("ItemSound.quest_middle")
        htmltext = "8-02.htm"
    elif event == "9-1" :
        st.set("cond","17")
        st.takeItems(self.Items[8],1)
-       self.Cast(self.FindTemplate(self.NPC[9]),player,4546,1)
+       self.Cast(npc,player,4546,1)
        st.playSound("ItemSound.quest_middle")
        htmltext = "9-03.htm"
    elif event == "10-1" :
@@ -323,7 +313,7 @@ class Quest (JQuest) :
    elif event == "10-2" :
        st.set("cond","19")
        st.takeItems(self.Items[9],1)
-       self.Cast(self.FindTemplate(self.NPC[10]),player,4546,1)
+       self.Cast(npc,player,4546,1)
        st.playSound("ItemSound.quest_middle")
        htmltext = "10-06.htm"
    elif event == "11-9" :
@@ -508,7 +498,7 @@ class Quest (JQuest) :
                           if not player.isSubClassActive() and player.getBaseClass() == self.getPrevClass(player) :
                               player.setBaseClass(Class)
                           player.broadcastUserInfo()
-                          self.Cast(self.FindTemplate(self.NPC[0]),player,4339,1)
+                          self.Cast(npc,player,4339,1)
                   else :
                       htmltext = "0-010.htm"
     return htmltext

+ 1 - 1
datapack_development/sql/etcitem.sql

@@ -4367,7 +4367,7 @@ INSERT INTO `etcitem` VALUES
 (5961,'Kail\'s Silver Basilisk','false','none',0,'stackable','liquid','none',-1,1000,0,'true','true','true','true','q_kails_silver_basilisk','none'),
 (5962,'Kail\'s Gold Golem','false','none',0,'stackable','liquid','none',-1,1000,0,'true','true','true','true','q_kails_gold_golem','none'),
 (5963,'Kail\'s Blood Dragon','false','none',0,'stackable','liquid','none',-1,1000,0,'true','true','true','true','q_kails_blood_dragon','none'),
-(5964,'Warehouse Keeper\'s Medal','false','none',0,'stackable','liquid','none',-1,100,0,'true','true','true','true','q_irongate_medal','none'),
+(5964,'Warehouse Keeper\'s Medal','false','quest',0,'stackable','liquid','none',-1,100,0,'true','true','true','true','q_irongate_medal','none'),
 (5965,'Blank Scroll','false','none',0,'stackable','liquid','none',-1,500,0,'true','true','true','true','q_blank_scrl','none'),
 (5966,'Ancient Red Papyrus','false','none',0,'stackable','liquid','none',-1,400,0,'true','true','true','true','ancient_papyrus1','none'),
 (5967,'Ancient Blue Papyrus','false','none',0,'stackable','liquid','none',-1,400,0,'true','true','true','true','ancient_papyrus2','none'),