From 3d13e07fe0ab8ee32ec20704762696fac189abc0 Mon Sep 17 00:00:00 2001 From: Zealar <zealar@mail.bg> Date: Sun, 26 Mar 2017 14:18:02 +0300 Subject: [PATCH] Retail like quest : Warehouse Keeper's Pastime (384) - Few optimization/fix done for Stolen Dignity (386) (require core) --- dist/game/data/scripts.cfg | 1 - .../384_WarehouseKeepersPastime/30182-01.htm | 3 - .../384_WarehouseKeepersPastime/30182-02.htm | 3 - .../384_WarehouseKeepersPastime/30182-03.htm | 3 - .../384_WarehouseKeepersPastime/30182-04.htm | 2 - .../384_WarehouseKeepersPastime/30182-05.htm | 2 - .../384_WarehouseKeepersPastime/30182-06.htm | 4 - .../384_WarehouseKeepersPastime/30182-07.htm | 5 - .../384_WarehouseKeepersPastime/30182-08.htm | 2 - .../384_WarehouseKeepersPastime/30182-09.htm | 3 - .../384_WarehouseKeepersPastime/30182-10.htm | 2 - .../384_WarehouseKeepersPastime/30182-11.htm | 11 - .../384_WarehouseKeepersPastime/30182-12.htm | 2 - .../384_WarehouseKeepersPastime/30182-13.htm | 11 - .../384_WarehouseKeepersPastime/30182-14.htm | 17 - .../384_WarehouseKeepersPastime/30182-15.htm | 17 - .../384_WarehouseKeepersPastime/30182-16.htm | 17 - .../384_WarehouseKeepersPastime/30182-17.htm | 17 - .../384_WarehouseKeepersPastime/30182-18.htm | 17 - .../384_WarehouseKeepersPastime/30182-19.htm | 17 - .../384_WarehouseKeepersPastime/30182-20.htm | 17 - .../384_WarehouseKeepersPastime/30182-21.htm | 17 - .../384_WarehouseKeepersPastime/30182-22.htm | 17 - .../384_WarehouseKeepersPastime/30182-23.htm | 8 - .../384_WarehouseKeepersPastime/30182-24.htm | 7 - .../384_WarehouseKeepersPastime/30182-25.htm | 8 - .../384_WarehouseKeepersPastime/30182-26.htm | 17 - .../384_WarehouseKeepersPastime/30685-01.htm | 4 - .../384_WarehouseKeepersPastime/30685-02.htm | 5 - .../384_WarehouseKeepersPastime/30685-11.htm | 11 - .../384_WarehouseKeepersPastime/30685-13.htm | 11 - .../384_WarehouseKeepersPastime/30685-14.htm | 17 - .../384_WarehouseKeepersPastime/30685-15.htm | 17 - .../384_WarehouseKeepersPastime/30685-16.htm | 17 - .../384_WarehouseKeepersPastime/30685-17.htm | 17 - .../384_WarehouseKeepersPastime/30685-18.htm | 17 - .../384_WarehouseKeepersPastime/30685-19.htm | 17 - .../384_WarehouseKeepersPastime/30685-20.htm | 17 - .../384_WarehouseKeepersPastime/30685-21.htm | 17 - .../384_WarehouseKeepersPastime/30685-22.htm | 17 - .../384_WarehouseKeepersPastime/30685-23.htm | 8 - .../384_WarehouseKeepersPastime/30685-24.htm | 7 - .../384_WarehouseKeepersPastime/30685-25.htm | 8 - .../384_WarehouseKeepersPastime/30685-26.htm | 17 - .../384_WarehouseKeepersPastime/__init__.py | 257 ------ .../30182-01.htm | 5 + .../30182-02.htm | 6 + .../30182-03.htm | 6 + .../30182-04.html | 5 + .../30182-05.htm | 6 + .../30182-06.html | 7 + .../30182-07.html | 8 + .../30182-08.html | 4 + .../30182-09.html | 5 + .../30182-09a.htm | 4 + .../30182-10.html | 14 + .../30182-11.html | 4 + .../30182-12.html | 14 + .../30182-13.html | 30 + .../30182-14.html | 30 + .../30182-15.html | 30 + .../30182-16.html | 30 + .../30182-17.html | 30 + .../30182-18.html | 30 + .../30182-19.html | 30 + .../30182-20.html | 29 + .../30182-21.html | 30 + .../30182-22.html | 24 + .../30182-23.html | 20 + .../30182-24.html | 25 + .../30182-25.html | 31 + .../30685-06.html | 7 + .../30685-07.html | 8 + .../30685-08.html} | 4 +- .../30685-09.html} | 3 +- .../30685-09a.html} | 3 +- .../30685-10.html | 14 + .../30685-11.html} | 3 +- .../30685-12.html | 14 + .../30685-13.html | 30 + .../30685-14.html | 30 + .../30685-15.html | 30 + .../30685-16.html | 30 + .../30685-17.html | 30 + .../30685-18.html | 30 + .../30685-19.html | 30 + .../30685-20.html | 30 + .../30685-21.html | 30 + .../30685-22.html | 24 + .../30685-23.html | 20 + .../30685-24.html | 25 + .../30685-25.html | 30 + .../Q00384_WarehouseKeepersPastime.java | 839 ++++++++++++++++++ .../quests/Q00386_StolenDignity/30843-09.html | 2 +- .../Q00386_StolenDignity.java | 58 +- .../scripts/quests/QuestMasterHandler.java | 2 + dist/sql/game/updates/Q00384.sql | 1 + 97 files changed, 1726 insertions(+), 786 deletions(-) delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-01.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-02.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-03.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-04.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-05.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-06.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-07.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-08.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-09.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-10.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-11.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-12.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-13.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-14.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-15.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-16.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-17.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-18.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-19.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-20.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-21.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-22.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-23.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-24.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-25.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-26.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-01.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-02.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-11.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-13.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-14.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-15.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-16.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-17.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-18.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-19.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-20.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-21.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-22.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-23.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-24.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-25.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-26.htm delete mode 100644 dist/game/data/scripts/quests/384_WarehouseKeepersPastime/__init__.py create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-01.htm create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-02.htm create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-03.htm create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-04.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-05.htm create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-06.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-07.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-08.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-09.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-09a.htm create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-10.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-11.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-12.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-13.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-14.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-15.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-16.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-17.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-18.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-19.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-20.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-21.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-22.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-23.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-24.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-25.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-06.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-07.html rename dist/game/data/scripts/quests/{384_WarehouseKeepersPastime/30685-08.htm => Q00384_WarehouseKeepersPastime/30685-08.html} (62%) rename dist/game/data/scripts/quests/{384_WarehouseKeepersPastime/30685-04.htm => Q00384_WarehouseKeepersPastime/30685-09.html} (71%) rename dist/game/data/scripts/quests/{384_WarehouseKeepersPastime/30685-05.htm => Q00384_WarehouseKeepersPastime/30685-09a.html} (79%) create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-10.html rename dist/game/data/scripts/quests/{384_WarehouseKeepersPastime/30685-12.htm => Q00384_WarehouseKeepersPastime/30685-11.html} (56%) create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-12.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-13.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-14.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-15.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-16.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-17.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-18.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-19.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-20.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-21.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-22.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-23.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-24.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-25.html create mode 100644 dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/Q00384_WarehouseKeepersPastime.java create mode 100644 dist/sql/game/updates/Q00384.sql diff --git a/dist/game/data/scripts.cfg b/dist/game/data/scripts.cfg index ca2a6003f4..591ffd13f6 100644 --- a/dist/game/data/scripts.cfg +++ b/dist/game/data/scripts.cfg @@ -191,7 +191,6 @@ quests/TerritoryWarScripts/TerritoryWarSuperClass.java quests/255_Tutorial/__init__.py quests/335_TheSongOfTheHunter/__init__.py quests/348_ArrogantSearch/__init__.py -quests/384_WarehouseKeepersPastime/__init__.py quests/620_FourGoblets/__init__.py quests/663_SeductiveWhispers/__init__.py quests/999_T1Tutorial/__init__.py diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-01.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-01.htm deleted file mode 100644 index e42e5c02de..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-01.htm +++ /dev/null @@ -1,3 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-02.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-02.htm deleted file mode 100644 index a0de7d6e48..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-02.htm +++ /dev/null @@ -1,3 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-03.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-03.htm deleted file mode 100644 index c433d9b5ee..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-03.htm +++ /dev/null @@ -1,3 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-04.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-04.htm deleted file mode 100644 index 6ab10a3a09..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-04.htm +++ /dev/null @@ -1,2 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-05.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-05.htm deleted file mode 100644 index 6f5705f3d7..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-05.htm +++ /dev/null @@ -1,2 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-06.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-06.htm deleted file mode 100644 index ebd30418fe..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-06.htm +++ /dev/null @@ -1,4 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-07.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-07.htm deleted file mode 100644 index 161235850e..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-07.htm +++ /dev/null @@ -1,5 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-08.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-08.htm deleted file mode 100644 index f6c80dede6..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-08.htm +++ /dev/null @@ -1,2 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-09.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-09.htm deleted file mode 100644 index f67defb990..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-09.htm +++ /dev/null @@ -1,3 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-10.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-10.htm deleted file mode 100644 index 2fcd08bbf0..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-10.htm +++ /dev/null @@ -1,2 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-11.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-11.htm deleted file mode 100644 index 64d2025c8c..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-11.htm +++ /dev/null @@ -1,11 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-8">8</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-9">9</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-12.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-12.htm deleted file mode 100644 index 788aaeb970..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-12.htm +++ /dev/null @@ -1,2 +0,0 @@ -<html><body>Warehouse Freightman Cliff:<br> -You don't have enough medals.<br>Please collect more medals and come back.</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-13.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-13.htm deleted file mode 100644 index a68c148698..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-13.htm +++ /dev/null @@ -1,11 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-8">8</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-9">9</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-14.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-14.htm deleted file mode 100644 index e28c3bec02..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-14.htm +++ /dev/null @@ -1,17 +0,0 @@ -<html><body>Warehouse Freightman Cliff:<br> -Now choose your second number.<br> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-15.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-15.htm deleted file mode 100644 index a2c1fe0b97..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-15.htm +++ /dev/null @@ -1,17 +0,0 @@ -<html><body>Warehouse Freightman Cliff:<br> -Now choose your third number.<br> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-16.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-16.htm deleted file mode 100644 index b6cb8f7e1b..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-16.htm +++ /dev/null @@ -1,17 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-17.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-17.htm deleted file mode 100644 index a63b9fbc16..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-17.htm +++ /dev/null @@ -1,17 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-18.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-18.htm deleted file mode 100644 index dcfb41b6d5..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-18.htm +++ /dev/null @@ -1,17 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-19.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-19.htm deleted file mode 100644 index 5a081b3c51..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-19.htm +++ /dev/null @@ -1,17 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-20.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-20.htm deleted file mode 100644 index ed575e7db7..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-20.htm +++ /dev/null @@ -1,17 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-21.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-21.htm deleted file mode 100644 index 3c7e32ed83..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-21.htm +++ /dev/null @@ -1,17 +0,0 @@ -<html><body>Warehouse Freightman Cliff:<br> -Now make your final choice.<br> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-1">1</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-22.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-22.htm deleted file mode 100644 index cbc7a5c257..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-22.htm +++ /dev/null @@ -1,17 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-23.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-23.htm deleted file mode 100644 index fa5996be74..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-23.htm +++ /dev/null @@ -1,8 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-24.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-24.htm deleted file mode 100644 index e2672c16df..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-24.htm +++ /dev/null @@ -1,7 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-25.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-25.htm deleted file mode 100644 index beffb1445f..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-25.htm +++ /dev/null @@ -1,8 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-26.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-26.htm deleted file mode 100644 index 04f756a548..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30182-26.htm +++ /dev/null @@ -1,17 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-01.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-01.htm deleted file mode 100644 index 40e0214e87..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-02.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-02.htm deleted file mode 100644 index c3d69af6c0..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-02.htm +++ /dev/null @@ -1,5 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-11.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-11.htm deleted file mode 100644 index 67cec38d47..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-11.htm +++ /dev/null @@ -1,11 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-8">8</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-9">9</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-13.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-13.htm deleted file mode 100644 index a9c5c0ef7d..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-13.htm +++ /dev/null @@ -1,11 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-8">8</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_1-9">9</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-14.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-14.htm deleted file mode 100644 index 44d6fb3b5f..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-14.htm +++ /dev/null @@ -1,17 +0,0 @@ -<html><body>Warehouse Chief Baxt:<br> -Now, choose your second number.<br> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-15.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-15.htm deleted file mode 100644 index 9839d0bc91..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-15.htm +++ /dev/null @@ -1,17 +0,0 @@ -<html><body>Warehouse Chief Baxt:<br> -Now, choose your third number.<br> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-16.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-16.htm deleted file mode 100644 index 890adae115..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-16.htm +++ /dev/null @@ -1,17 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-17.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-17.htm deleted file mode 100644 index a1de92e83e..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-17.htm +++ /dev/null @@ -1,17 +0,0 @@ -<html><body>Warehouse Chief Baxt:<br> -Now choose your fourth number!<br> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-18.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-18.htm deleted file mode 100644 index ef629958c1..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-18.htm +++ /dev/null @@ -1,17 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-19.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-19.htm deleted file mode 100644 index 4143535f19..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-19.htm +++ /dev/null @@ -1,17 +0,0 @@ -<html><body>Warehouse Chief Baxt:<br> -Now, choose your fifth number. <br> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-1">1</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-20.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-20.htm deleted file mode 100644 index 7518816db3..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-20.htm +++ /dev/null @@ -1,17 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-21.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-21.htm deleted file mode 100644 index 81c8c24b16..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-21.htm +++ /dev/null @@ -1,17 +0,0 @@ -<html><body>Warehouse Chief Baxt:<br> -Now choose your final number.<br> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-1">1</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-22.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-22.htm deleted file mode 100644 index b08b115f6f..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-22.htm +++ /dev/null @@ -1,17 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_2-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-23.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-23.htm deleted file mode 100644 index 350b4137bd..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-23.htm +++ /dev/null @@ -1,8 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-24.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-24.htm deleted file mode 100644 index 65e6a8cb61..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-24.htm +++ /dev/null @@ -1,7 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-25.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-25.htm deleted file mode 100644 index feb183eaba..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-25.htm +++ /dev/null @@ -1,8 +0,0 @@ -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-26.htm b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-26.htm deleted file mode 100644 index ba73c986f9..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-26.htm +++ /dev/null @@ -1,17 +0,0 @@ -<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> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-2">2</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-3">3</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-4">4</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-5">5</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-6">6</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-7">7</a> -<a action="bypass -h Quest 384_WarehouseKeepersPastime select_3-8">8</a> -<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/__init__.py b/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/__init__.py deleted file mode 100644 index 7fb769c6af..0000000000 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/__init__.py +++ /dev/null @@ -1,257 +0,0 @@ -# Made by Emperorc -import sys -from com.l2jserver.gameserver.model.quest import State -from com.l2jserver.gameserver.model.quest import QuestState -from com.l2jserver.gameserver.model.quest import Quest as JQuest -from com.l2jserver.util import Rnd - -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 - 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) - 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 = self.getQuestState(player, False) - if not st: return - htmltext = event - npcId = str(npc.getId()) - 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 = self.getHtm(player.getHtmlPrefix(), 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 = self.getHtm(player.getHtmlPrefix(), npcId + "-" + str(14+2*num_guesses) + ".htm") - else : - self.gameStatus[player.getName()][1].append(selection) - num_guesses += 1 - htmltext = self.getHtm(player.getHtmlPrefix(), 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 = self.getHtm(player.getHtmlPrefix(), 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 = self.getHtm(player.getHtmlPrefix(), 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 = self.getHtm(player.getHtmlPrefix(), npcId + "-25.htm") - else : - htmltext = self.getHtm(player.getHtmlPrefix(), 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 = self.getQuestState(player, True) - htmltext = Quest.getNoQuestMsg(player) - if not st: return htmltext - npcId = npc.getId() - 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 = self.getQuestState(player, False) - if not st : return - npcId = npc.getId() - 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) \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-01.htm b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-01.htm new file mode 100644 index 0000000000..cf1b9556a4 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-01.htm @@ -0,0 +1,5 @@ +<html><body>Warehouse Keeper Cliff:<br> +Don't tell my boss, but this job can get kinda slow. That's why we <font color="LEVEL">warehouse keepers created our own fun.</font> I often play <font color="LEVEL">bingo</font> with the other warehouse keepers. Sometime I even go over to another town's warehouse to play bingo on my days off.<br> +But to be honest, regular bingo has gotten a little boring for me.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 4">"So?"</a> +</body></html> diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-02.htm b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-02.htm new file mode 100644 index 0000000000..ce64c0a8fe --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-02.htm @@ -0,0 +1,6 @@ +<html><body>Warehouse Keeper Cliff:<br> +We've made the bingo games a little more interesting by adding some gambling. One of the perks of being a warehouse keeper is that there are all sorts of items left by owners who never come back to pick them up. That gives us a good stake for our games. Actually, though, <br> +<font color="LEVEL">I mainly bet Medals of the Warehouse Keeper in our bingo games.</font> In case you don't know, Medals of the Warehouse Keeper are awarded by the Iron Gate Guild to the warehouse keepers with the most sales. We really shouldn't be risking them, but...well, you know how it is.<br> +Actually, though, we have bigger problems concerning those medals...<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 5">Ask what happened.</a> +</body></html> diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-03.htm b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-03.htm new file mode 100644 index 0000000000..970f5da6d2 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-03.htm @@ -0,0 +1,6 @@ +<html><body>Warehouse Keeper Cliff:<br> +Recently, a <font color="LEVEL">cargo wagon from Hunter's Village was attacked by monsters</font>, and all its freight was stolen. Most of the items weren't very valuable, but a <font color="LEVEL">large quantity of Medals of the Warehouse Keeper was also being transported.</font> Every one was taken!<br> +Why were all those medals on that cargo wagon, you ask? Well, the thing is...I went to the warehouse in Hunter's Village on my recent day off, and I won big. In fact, I won too many medals to carry back. So I arranged to send them with next cargo wagon...<br> +Will you help get them back for me?<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime QUEST_ACCEPTED">Say that you will help.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-04.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-04.html new file mode 100644 index 0000000000..edcf38dbdf --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-04.html @@ -0,0 +1,5 @@ +<html><body>Warehouse Keeper Cliff:<br> +Don't tell my boss, but this job can get kinda slow. That's why we <font color="LEVEL">warehouse keepers created our own fun.</font> I often play <font color="LEVEL">bingo</font> with the other warehouse keepers. Sometime I even go over to another town's warehouse to play bingo on my days off.<br> +Unfortunately, something recently happened because of my bingo playing and I need some help... Oh, you don't look like someone experienced enough to help. Maybe you know someone?<br> +(Only characters who are level 40 and above may undertake this quest.) +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-05.htm b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-05.htm new file mode 100644 index 0000000000..891d238a14 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-05.htm @@ -0,0 +1,6 @@ +<html><body>Warehouse Keeper Cliff:<br> +Good! Bring back my <font color="LEVEL">Medals of the Warehouse Keeper</font> and I'll give you a <font color="LEVEL">chance to play bingo</font> with the big boys. If you do well, you can get an abandoned item from my warehouse as a reward. Who knows? You might get a nice weapon or a new set of armor. Ha ha!<br> +According to rules of the game, you can <font color="LEVEL">bet either 10 or 100 medals.</font> So to begin, you'll need to recover at least 10 medals. Of course, betting 100 gives you a better chance of winning. <br> +Oh! Just so you know, <font color="LEVEL">Warehouse Keeper Baxt in Hunter's Village</font> plays with me, and he offered to help recover the stolen medals.<br> +Now, from what the eyewitnesses told us, the monsters who attacked the wagon were <font color="LEVEL">Sunken Golems, Giant Eyes, Conjurers, Lord Conjurers, Tulbens, Hunter Gargoyles, Dust Winds, Thunder Wyrms, Karincains, Weird Drakes, Grave Guards, Conductors of Nightmare, Watchers of Nightmare and Rulers of Nightmare</font>. Good luck! +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-06.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-06.html new file mode 100644 index 0000000000..90014e85d6 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-06.html @@ -0,0 +1,7 @@ +<html><body>Warehouse Freightman Cliff:<br> +As I mentioned before, defeat <font color="LEVEL">Rotting Golem, Giant Monstereye, Conjurer Bat, Conjurer Bat Lord, Tulben, Hunter Gargoyle, Dustwind Gargoyle, Thunder Wyrm, Karicain, Weird Drake, Grave Guard, Nightmare Guide, Nightmare Keeper, Nightmare Lord</font>, etc. and collect the <font color="LEVEL">Warehouse Keeper's Medals</font> that they stole. Do that, and you may have the privilege of <font color="LEVEL">PLAYING BINGO</font>! If you then somehow prove your bingo worth, I'll give you an abandoned item in my warehouse. What could be more exciting than that? I've had years to collect things. Ha ha ha~<br> +Now, we play by the bingo rules firmly established three hundred and twelve years, sixty three days ago. That means, <font color="LEVEL">the number of medals to bet are either 10 or 100.</font> So you need a minimum of 10 medals. I'm sure you'll get at least.. twice that. Maybe more. And the more you bet, the more chances you have to win better items. <br> +And THAT'S NOT ALL!! You can also visit <font color="LEVEL">Warehouse Keeper Baxt in Hunter's Village</font> to play Bingo. He is somewhat responsible for the cargo wagon assault and has agreed to cooperate.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 3">Listen to the Rules of Bingo</a><br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 6">Say that you quit.</a> +</body></html> diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-07.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-07.html new file mode 100644 index 0000000000..21e78e7240 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-07.html @@ -0,0 +1,8 @@ +<html><body>Warehouse Keeper Cliff:<br> +Did you recover my medals? Then let's play bingo! <br> +According to rules of the game, you can <font color="LEVEL">bet either 10 or 100 medals.</font> Of course, betting 100 gives you a better chance of winning.<br> +<font color="LEVEL">Before we start, make sure you have enough space in your inventory -- if you win, you want to be able to collect your winnings, right?</font><br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 7">Bet 10 Medals of the Warehouse Keeper.</a><br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 8">Bet 100 Medals of the Warehouse Keeper.</a><br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 9">Ask about the bingo rules.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-08.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-08.html new file mode 100644 index 0000000000..f69718e321 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-08.html @@ -0,0 +1,4 @@ +<html><body>Warehouse Keeper Cliff:<br> +Well, not all the medals have been recovered, but I understand. I'm sure you have other obligations...<br> +Come back whenever you want to play bingo again. +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-09.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-09.html new file mode 100644 index 0000000000..3a98bb2092 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-09.html @@ -0,0 +1,5 @@ +<html><body>Warehouse Keeper Cliff:<br> +I'll place numbers 1-9 on a 3x3 numberpad. Then you pick 6 numbers out of 1-9. When you finished your choices, we count how many lines can be made from your numbers: horizontally, vertically or diagonally. Got it? Maybe the easiest way to learn is to play it once. <br> +I'll give you a reward if your choice of numbers can make 3 lines.<br> +<a action ="bypass -h Quest Q00384_WarehouseKeepersPastime 30182-07.html">Back to the game.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-09a.htm b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-09a.htm new file mode 100644 index 0000000000..33a2d7ad4b --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-09a.htm @@ -0,0 +1,4 @@ +<html><body>Warehouse Keeper Cliff:<br> +I'll place numbers 1-9 on a 3x3 numberpad. Then you pick 6 numbers out of 1-9. When you finished your choices, we count how many lines can be made from your numbers: horizontally, vertically or diagonally. Got it? Maybe the easiest way to learn is to play it once. <br> +I'll give you a reward if your choice of numbers can make 3 lines. +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-10.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-10.html new file mode 100644 index 0000000000..f97d870914 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-10.html @@ -0,0 +1,14 @@ +<html><body>Warehouse Keeper Cliff:<br> +I placed hidden numbers from 1-9 on a numberpad. <br> +Now I take your 10 medals as a deposit -- that way no one is tempted to welch on a bet! If you stop before we're finished, your medals will be forfeit.<br> +Now it's time to pick 6 numbers from 1-9. Choose your first number. <br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 10">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 11">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 12">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 13">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 14">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 15">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 16">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 17">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 18">9</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-11.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-11.html new file mode 100644 index 0000000000..4923285d58 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-11.html @@ -0,0 +1,4 @@ +<html><body>Warehouse Keeper Cliff:<br> +Hey! You don't have enough medals to play. What happened? <br> +Come back after gathering more medals. +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-12.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-12.html new file mode 100644 index 0000000000..99a2a549e2 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-12.html @@ -0,0 +1,14 @@ +<html><body>Warehouse Keeper Cliff:<br> +I placed hidden numbers from 1-9 on a numberpad. <br> +Now I take your 100 medals as a deposit -- that way no one is tempted to welch on a bet! If you stop before we're finished, your medals will be forfeit.<br> +Now it's time to pick 6 numbers from 1-9. Choose your first number. <br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 10">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 11">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 12">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 13">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 14">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 15">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 16">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 17">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 18">9</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-13.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-13.html new file mode 100644 index 0000000000..a4950423b2 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-13.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Keeper Cliff:<br> +Now, pick your second number.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">9</a><br> +Current status<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-14.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-14.html new file mode 100644 index 0000000000..5552b67103 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-14.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Keeper Cliff:<br> +Now, pick the third number.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">9</a><br> +Current status<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-15.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-15.html new file mode 100644 index 0000000000..d6076588be --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-15.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Keeper Cliff:<br> +That number has already been picked. Pick the second number again.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">9</a><br> +Current status<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-16.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-16.html new file mode 100644 index 0000000000..ef5b4e6395 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-16.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Keeper Cliff:<br> +Time to pick the fourth number!<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">9</a><br> +Current status<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-17.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-17.html new file mode 100644 index 0000000000..3d42642fff --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-17.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Keeper Cliff:<br> +That number has already been picked. Pick the third number again.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">9</a><br> +Current status<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-18.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-18.html new file mode 100644 index 0000000000..5962f21dad --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-18.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Keeper Cliff:<br> +You're almost finished. Choose your fifth number carefully.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">9</a><br> +Current status<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-19.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-19.html new file mode 100644 index 0000000000..4a9fe77bce --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-19.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Keeper Cliff:<br> +That number has already been chosen. Pick the fourth number again.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">9</a><br> +Current status<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-20.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-20.html new file mode 100644 index 0000000000..48d57d5124 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-20.html @@ -0,0 +1,29 @@ +<html><body>Warehouse Keeper Cliff:<br> +OK, now it's time for the sixth number. It's your last choice, so choose well.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 55">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 56">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 57">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 58">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 59">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 60">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 61">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 62">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 63">9</a><br> +Current status<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-21.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-21.html new file mode 100644 index 0000000000..73183ddc59 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-21.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Keeper Cliff:<br> +Getting confused? You chose a number that was already chosen. Pick the fifth number again.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">9</a><br> +Current status<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-22.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-22.html new file mode 100644 index 0000000000..a2395974c7 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-22.html @@ -0,0 +1,24 @@ +<html><body>Warehouse Keeper Cliff:<br> +Ah! On the bingo pad below, you can see the numbers you chose in red. You've completed 3 lines! Congratulations! As I promised, I'll give you one of the abandoned items from my warehouse. Wait here...<br> +.<br> +.<br> +.<br> +Phew! So dusty! Here it is. See anything you like?<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-23.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-23.html new file mode 100644 index 0000000000..448fd7be21 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-23.html @@ -0,0 +1,20 @@ +<html><body>Warehouse Keeper Cliff:<br> +Hmm. You can see your picks in red on the numberpad below/ Unfortunately, your numbers didn't create at least 3 lines. Better luck next time!<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-24.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-24.html new file mode 100644 index 0000000000..f5c2dff930 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-24.html @@ -0,0 +1,25 @@ +<html><body>Warehouse Keeper Cliff:<br> +You are a seriously unlucky person! You can see your picks in red on the bingo pad below. As you can see, you didn't even get 1 line! You know, that's harder to do than to get 3!<br> +I feel for you, friend. Let me give you something as a bit of encouragement. Wait here for a minute. <br> +.<br> +.<br> +.<br> +Here, take this. I hope it helps!<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-25.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-25.html new file mode 100644 index 0000000000..f8eb6c9b51 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30182-25.html @@ -0,0 +1,31 @@ +<html><body>Warehouse Keeper Cliff:<br> +That number has already been chosen. Pick the sixth number again.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 55">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 56">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 57">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 58">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 59">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 60">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 61">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 62">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 63">9</a> +<br> +Current status<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-06.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-06.html new file mode 100644 index 0000000000..bcc67f93f5 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-06.html @@ -0,0 +1,7 @@ +<html><body>Warehouse keeper Baxt :<br> +As Cliff mentioned before, defeat the <font color="LEVEL">Rotting Golem, Giant Monstereye, Conjurer Bat, Conjurer Bat Lord, Tulben, Hunter Gargoyle, Dragon Bearer Chief, Dragon Bearer Warrior, Dragon Bearer Archer, Dustwind Gargoyle, Thunder Wyrm, Karicain, Weird Drake, Grave Guard, Nightmare Guide, Nightmare Keeper, and Nightmare Lord</font>, and collect the <font color="LEVEL">Warehouse Keeper's Medals</font> that were stolen by them. Then I will give you <font color="LEVEL">a chance to play Bingo</font>! The cargo wagon security was not great, obviously, so I'm taking responsibility and will help retrieve it. <br> +If you do well at bingo, I'll give you an abandoned item in my warehouse for a reward. You might get a nice weapon or a decent piece armor if you're lucky. Ha ha ha....<br> +According to the commonly used bingo rules between warehouse keepers, <font color="LEVEL">the number of medals to bet are either 10 or 100.</font> You will need to gather at least 10 medals. Of course, betting 100 will give you higher chance of winning the better item....<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 3">Listen to the rules of the game.</a><br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 6">Tell him that you're done</a> +</body></html> diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-07.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-07.html new file mode 100644 index 0000000000..14ba8d8455 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-07.html @@ -0,0 +1,8 @@ +<html><body>Warehouse Chief Baxt: <br> +Did you bring the medals? Alright, then, let's play Bingo! <br> +Our Bingo rules state that you can bet only 10 or 100 medals. Of course, when you bet 100 medals you stand a better chance of winning a high-quality item. <br> +<font color="LEVEL">By the way, before you start playing Bingo, make sure you have enough room in your inventory! It would be a shame if you didn't have room for all your winnings, don't you think? </font><br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 7">Bet 10 Warehouse Keeper's Medals and play Bingo. </a><br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 8">Bet 100 Warehouse Keeper's Medals and play Bingo. </a><br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 9">"What are the rules of Bingo?" </a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-08.htm b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-08.html similarity index 62% rename from dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-08.htm rename to dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-08.html index 3264b1d8a9..e4c6272651 100644 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-08.htm +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-08.html @@ -1,2 +1,4 @@ <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> \ No newline at end of file +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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-04.htm b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-09.html similarity index 71% rename from dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-04.htm rename to dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-09.html index 076cb884ed..c38c2e07bc 100644 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-04.htm +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-09.html @@ -1,3 +1,4 @@ <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> \ No newline at end of file +<a action ="bypass -h Quest Q00384_WarehouseKeepersPastime 30685-07.html">Return to the game.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-05.htm b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-09a.html similarity index 79% rename from dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-05.htm rename to dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-09a.html index acc9b3cda4..df46bc1125 100644 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-05.htm +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-09a.html @@ -1,2 +1,3 @@ <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> \ No newline at end of file +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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-10.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-10.html new file mode 100644 index 0000000000..3a6a2e61ec --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-10.html @@ -0,0 +1,14 @@ +<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 Q00384_WarehouseKeepersPastime 10">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 11">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 12">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 13">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 14">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 15">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 16">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 17">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 18">9</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-12.htm b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-11.html similarity index 56% rename from dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-12.htm rename to dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-11.html index b46b6c9763..e61ca92cf9 100644 --- a/dist/game/data/scripts/quests/384_WarehouseKeepersPastime/30685-12.htm +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-11.html @@ -1,3 +1,4 @@ <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> \ No newline at end of file +Please bring the appropriate number of medals when you return. +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-12.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-12.html new file mode 100644 index 0000000000..32455465a5 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-12.html @@ -0,0 +1,14 @@ +<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 100 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 Q00384_WarehouseKeepersPastime 10">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 11">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 12">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 13">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 14">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 15">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 16">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 17">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 18">9</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-13.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-13.html new file mode 100644 index 0000000000..66cc3d58f1 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-13.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Chief Baxt:<br> +Now, choose your second number.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-14.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-14.html new file mode 100644 index 0000000000..67926d1db2 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-14.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Chief Baxt:<br> +Now, choose your third number.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-15.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-15.html new file mode 100644 index 0000000000..99771f0e62 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-15.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Chief Baxt:<br> +You have already selected that number. Choose your second number again.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-16.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-16.html new file mode 100644 index 0000000000..a2dfbe3d72 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-16.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Chief Baxt:<br> +Now choose your fourth number!<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-17.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-17.html new file mode 100644 index 0000000000..91630fda34 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-17.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Chief Baxt:<br> +You have already selected that number. Choose your third number again.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-18.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-18.html new file mode 100644 index 0000000000..875e0a2ccd --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-18.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Chief Baxt:<br> +Now, choose your fifth number. <br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-19.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-19.html new file mode 100644 index 0000000000..e052bd6271 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-19.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Chief Baxt:<br> +You have already selected that number. Choose your fourth number again.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-20.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-20.html new file mode 100644 index 0000000000..71f9295b85 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-20.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Chief Baxt:<br> +Now choose your final number.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 55">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 56">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 57">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 58">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 59">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 60">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 61">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 62">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 63">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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-21.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-21.html new file mode 100644 index 0000000000..dbb7ed078f --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-21.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Chief Baxt:<br> +You have already selected that number. Choose your fifth number again.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 19">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 20">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 21">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 22">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 23">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 24">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 25">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 26">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 27">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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-22.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-22.html new file mode 100644 index 0000000000..8f598d022c --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-22.html @@ -0,0 +1,24 @@ +<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-23.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-23.html new file mode 100644 index 0000000000..d218a48bd7 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-23.html @@ -0,0 +1,20 @@ +<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-24.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-24.html new file mode 100644 index 0000000000..b203186a12 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-24.html @@ -0,0 +1,25 @@ +<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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-25.html b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-25.html new file mode 100644 index 0000000000..8fe2f4fdad --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/30685-25.html @@ -0,0 +1,30 @@ +<html><body>Warehouse Chief Baxt:<br> +You've already chosen that number. Please choose your sixth number again.<br> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 55">1</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 56">2</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 57">3</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 58">4</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 59">5</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 60">6</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 61">7</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 62">8</a> +<a action="bypass -h Quest Q00384_WarehouseKeepersPastime 63">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> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/Q00384_WarehouseKeepersPastime.java b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/Q00384_WarehouseKeepersPastime.java new file mode 100644 index 0000000000..aa055ce28f --- /dev/null +++ b/dist/game/data/scripts/quests/Q00384_WarehouseKeepersPastime/Q00384_WarehouseKeepersPastime.java @@ -0,0 +1,839 @@ +/* + * Copyright (C) 2004-2017 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * L2J DataPack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +package quests.Q00384_WarehouseKeepersPastime; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import com.l2jserver.gameserver.enums.QuestSound; +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.util.Util; + +/** + * Warehouse Keeper's Pastime (384) + * @author Zealar + */ +public final class Q00384_WarehouseKeepersPastime extends Quest +{ + // NPCs + private static final int CLIFF = 30182; + private static final int WAREHOUSE_CHIEF_BAXT = 30685; + + // Monsters + private static final int DUST_WIND = 20242; + private static final int INNERSEN = 20950; + private static final int CONGERER = 20774; + private static final int CARINKAIN = 20635; + private static final int CONNABI = 20947; + private static final int HUNTER_GARGOYLE = 20241; + private static final int NIGHTMARE_GUIDE = 20942; + private static final int DRAGON_BEARER_WARRIOR = 20759; + private static final int DRAGON_BEARER_CHIEF = 20758; + private static final int DUST_WIND_HOLD = 20281; + private static final int WEIRD_DRAKE = 20605; + private static final int THUNDER_WYRM_HOLD = 20282; + private static final int CADEINE = 20945; + private static final int CONGERER_LORD = 20773; + private static final int DRAGON_BEARER_ARCHER = 20760; + private static final int NIGHTMARE_LORD = 20944; + private static final int SANHIDRO = 20946; + private static final int GIANT_MONSTEREYE = 20556; + private static final int BARTAL = 20948; + private static final int HUNTER_GARGOYLE_HOLD = 20286; + private static final int ROT_GOLEM = 20559; + private static final int GRAVE_GUARD = 20668; + private static final int TULBEN = 20677; + private static final int NIGHTMARE_KEEPER = 20943; + private static final int LUMINUN = 20949; + private static final int THUNDER_WYRM = 20243; + // Items + private static final int Q_IRONGATE_MEDAL = 5964; + // Reward + private static final int MOONSTONE_EARING = 852; + private static final int DRAKE_LEATHER_BOOTS = 2437; + private static final int DRAKE_LEATHER_MAIL = 401; + private static final int MOLD_HARDENER = 4041; + private static final int NECKLACE_OF_MERMAID = 917; + private static final int SCRL_OF_ENCH_AM_C = 952; + private static final int BLACKSMITH_S_FRAME = 1892; + private static final int SCRL_OF_ENCH_WP_C = 951; + private static final int ORIHARUKON = 1893; + private static final int SAMURAI_LONGSWORD = 135; + private static final int AQUASTONE_RING = 883; + private static final int SYNTHESIS_COKES = 1888; + private static final int MITHIRL_ALLOY = 1890; + private static final int GREAT_HELMET = 500; + private static final int VARNISH_OF_PURITY = 1887; + private static final int BLESSED_GLOVES = 2463; + private static final int CRAFTED_LEATHER = 1894; + + public Q00384_WarehouseKeepersPastime() + { + super(384, Q00384_WarehouseKeepersPastime.class.getSimpleName(), "Warehouse Keeper's Pastime"); + addStartNpc(CLIFF); + addTalkId(CLIFF, WAREHOUSE_CHIEF_BAXT); + addKillId(WAREHOUSE_CHIEF_BAXT, DUST_WIND, INNERSEN, CLIFF, CONGERER, CARINKAIN, CONNABI, HUNTER_GARGOYLE, NIGHTMARE_GUIDE, DRAGON_BEARER_WARRIOR, DRAGON_BEARER_CHIEF, DUST_WIND_HOLD, WEIRD_DRAKE, THUNDER_WYRM_HOLD, CADEINE, CONGERER_LORD, DRAGON_BEARER_ARCHER, NIGHTMARE_LORD, SANHIDRO, GIANT_MONSTEREYE, BARTAL, HUNTER_GARGOYLE_HOLD, ROT_GOLEM, GRAVE_GUARD, TULBEN, NIGHTMARE_KEEPER, LUMINUN, THUNDER_WYRM); + registerQuestItems(Q_IRONGATE_MEDAL); + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + if ((qs != null)) + { + switch (npc.getId()) + { + case CLIFF: + if (qs.isCreated()) + { + if (player.getLevel() >= 40) + { + return "30182-01.htm"; + } + return "30182-04.html"; + } + if (qs.getQuestItemsCount(Q_IRONGATE_MEDAL) < 10) + { + return "30182-06.html"; + } + return "30182-07.html"; + case WAREHOUSE_CHIEF_BAXT: + if (qs.hasMemoState()) + { + if (qs.getQuestItemsCount(Q_IRONGATE_MEDAL) < 10) + { + return "30685-06.html"; + } + return "30685-07.html"; + } + } + } + return htmltext; + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null)) + { + if (event.contains(".htm")) + { + return event; + } + + final int ask = Integer.parseInt(event); + switch (npc.getId()) + { + case CLIFF: + { + if (event.equals("QUEST_ACCEPTED")) + { + qs.playSound(QuestSound.ITEMSOUND_QUEST_ACCEPT); + qs.setMemoState(384); + qs.startQuest(); + qs.showQuestionMark(384); + qs.playSound(QuestSound.ITEMSOUND_QUEST_MIDDLE); + return "30182-05.htm"; + } + switch (ask) + { + case 3: + return "30182-09a.htm"; + case 4: + return "30182-02.htm"; + case 5: + if (npc.getId() != CLIFF) + { + return getNoQuestMsg(player); + } + return "30182-03.htm"; + case 6: + { + qs.exitQuest(true); + return "30182-08.html"; + } + case 9: + return "30182-09.html"; + case 7: + { + if (qs.getQuestItemsCount(Q_IRONGATE_MEDAL) >= 10) + { + qs.takeItems(Q_IRONGATE_MEDAL, 10); + qs.setMemoState(10); + createBingoBoard(qs); + return "30182-10.html"; + } + return "30182-11.html"; + } + case 8: + { + if (qs.getQuestItemsCount(Q_IRONGATE_MEDAL) >= 100) + { + qs.takeItems(Q_IRONGATE_MEDAL, 100); + qs.setMemoState(20); + createBingoBoard(qs); + return "30182-12.html"; + } + return "30182-11.html"; + } + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + { + selectBingoNumber(qs, (ask - 10) + 1); + return fillBoard(player, qs, getHtm(player.getHtmlPrefix(), "30182-13.html")); + } + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + { + return takeHtml(player, qs, (ask - 18), CLIFF); + } + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + { + return beforeReward(player, qs, (ask - 54), CLIFF); + } + } + break; + } + case WAREHOUSE_CHIEF_BAXT: + switch (ask) + { + case 3: + return "30685-09a.html"; + case 6: + qs.exitQuest(true); + return "30685-08.html"; + case 9: + return "30685-09.html"; + case 7: + if (qs.getQuestItemsCount(Q_IRONGATE_MEDAL) >= 10) + { + qs.takeItems(Q_IRONGATE_MEDAL, 10); + qs.setMemoState(10); + createBingoBoard(qs); + return "30685-10.html"; + } + return "30685-11.html"; + case 8: + if (qs.getQuestItemsCount(Q_IRONGATE_MEDAL) >= 100) + { + qs.takeItems(Q_IRONGATE_MEDAL, 100); + qs.setMemoState(20); + createBingoBoard(qs); + return "30685-12.html"; + } + return "30685-11.html"; + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + { + selectBingoNumber(qs, (ask - 9)); + return fillBoard(player, qs, getHtm(player.getHtmlPrefix(), "30685-13.html")); + } + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + { + return takeHtml(player, qs, (ask - 18), WAREHOUSE_CHIEF_BAXT); + } + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + { + return beforeReward(player, qs, (ask - 54), WAREHOUSE_CHIEF_BAXT); + } + } + } + } + return super.onAdvEvent(event, npc, player); + } + + private String takeHtml(L2PcInstance player, QuestState qs, int num, int npcId) + { + String html = null; + int i3; + if (!isSelectedBingoNumber(qs, num)) + { + selectBingoNumber(qs, num); + i3 = getBingoSelectCount(qs); + + if (i3 == 2) + { + html = getHtm(player.getHtmlPrefix(), npcId + "-14.html"); + } + else if (i3 == 3) + { + html = getHtm(player.getHtmlPrefix(), npcId + "-16.html"); + } + else if (i3 == 4) + { + html = getHtm(player.getHtmlPrefix(), npcId + "-18.html"); + } + else if (i3 == 5) + { + html = getHtm(player.getHtmlPrefix(), npcId + "-20.html"); + } + return fillBoard(player, qs, html); + } + i3 = getBingoSelectCount(qs); + if (i3 == 1) + { + html = getHtm(player.getHtmlPrefix(), npcId + "-15.html"); + } + else if (i3 == 2) + { + html = getHtm(player.getHtmlPrefix(), npcId + "-17.html"); + } + else if (i3 == 3) + { + html = getHtm(player.getHtmlPrefix(), npcId + "-19.html"); + } + else if (i3 == 4) + { + html = getHtm(player.getHtmlPrefix(), npcId + "-21.html"); + } + return fillBoard(player, qs, html); + } + + private String fillBoard(L2PcInstance player, QuestState qs, String html) + { + for (int i0 = 0; i0 < 9; i0 = i0 + 1) + { + int i1 = getNumberFromBingoBoard(qs, i0); + if (isSelectedBingoNumber(qs, i1)) + { + html = html.replace("<?Cell" + (i0 + 1) + "?>", i1 + ""); + } + else + { + html = html.replace("<?Cell" + (i0 + 1) + "?>", "?"); + } + } + return html; + } + + private String colorBoard(L2PcInstance player, QuestState qs, String html) + { + for (int i0 = 0; i0 < 9; i0 = i0 + 1) + { + int i1 = getNumberFromBingoBoard(qs, i0); + html = html.replace("<?FontColor" + (i0 + 1) + "?>", (isSelectedBingoNumber(qs, i1)) ? "ff0000" : "ffffff"); + html = html.replace("<?Cell" + (i0 + 1) + "?>", i1 + ""); + } + return html; + } + + private String beforeReward(L2PcInstance player, QuestState qs, int num, int npcId) + { + if (!isSelectedBingoNumber(qs, num)) + { + selectBingoNumber(qs, num); + int i3 = getMatchedBingoLineCount(qs); + String html; + if ((i3 == 3) && ((getBingoSelectCount(qs)) == 6)) + { + reward(player, qs, i3); + html = getHtm(player.getHtmlPrefix(), npcId + "-22.html"); + } + else if ((i3 == 0) && (getBingoSelectCount(qs) == 6)) + { + reward(player, qs, i3); + html = getHtm(player.getHtmlPrefix(), npcId + "-24.html"); + } + else + { + html = getHtm(player.getHtmlPrefix(), npcId + "-23.html"); + } + return colorBoard(player, qs, html); + } + return fillBoard(player, qs, getHtm(player.getHtmlPrefix(), npcId + "-25.html")); + } + + private void reward(L2PcInstance player, QuestState qs, int i3) + { + if (i3 == 3) + { + if (qs.getMemoState() == 10) + { + int random = getRandom(100); + if (random < 16) + { + qs.giveItems(SYNTHESIS_COKES, 1); + } + else if (random < 32) + { + qs.giveItems(VARNISH_OF_PURITY, 1); + } + else if (random < 50) + { + qs.giveItems(CRAFTED_LEATHER, 1); + } + else if (random < 80) + { + qs.giveItems(SCRL_OF_ENCH_AM_C, 1); + } + else if (random < 89) + { + qs.giveItems(MITHIRL_ALLOY, 1); + } + else if (random < 98) + { + qs.giveItems(ORIHARUKON, 1); + } + else + { + qs.giveItems(SCRL_OF_ENCH_WP_C, 1); + } + + } + else if (qs.getMemoState() == 20) + { + int random = getRandom(100); + + if (random < 50) + { + qs.giveItems(AQUASTONE_RING, 1); + } + else if (random < 80) + { + qs.giveItems(SCRL_OF_ENCH_WP_C, 1); + } + else if (random < 98) + { + qs.giveItems(MOONSTONE_EARING, 1); + } + else + { + qs.giveItems(DRAKE_LEATHER_MAIL, 1); + } + } + } + else if (i3 == 0) + { + if (qs.getMemoState() == 10) + { + int random = getRandom(100); + + if (random < 50) + { + qs.giveItems(MOLD_HARDENER, 1); + } + else if (random < 80) + { + qs.giveItems(SCRL_OF_ENCH_AM_C, 1); + } + else if (random < 98) + { + qs.giveItems(BLACKSMITH_S_FRAME, 1); + } + else + { + qs.giveItems(NECKLACE_OF_MERMAID, 1); + } + } + else if (qs.getMemoState() == 20) + { + int random = getRandom(100); + + if (random < 50) + { + qs.giveItems(SCRL_OF_ENCH_WP_C, 1); + } + else if (random < 80) + { + qs.giveItems(GREAT_HELMET, 1); + } + else if (random < 98) + { + qs.giveItems(DRAKE_LEATHER_BOOTS, 1); + qs.giveItems(BLESSED_GLOVES, 1); + } + else + { + qs.giveItems(SAMURAI_LONGSWORD, 1); + } + } + } + } + + /** + * @param qs + */ + private void createBingoBoard(QuestState qs) + { + //@formatter:off + Integer[] arr = {1,2,3,4,5,6,7,8,9}; + //@formatter:on + Collections.shuffle(Arrays.asList(arr)); + qs.set("numbers", Arrays.asList(arr).toString().replaceAll("[^\\d ]", "")); + qs.set("selected", "? ? ? ? ? ? ? ? ?"); + } + + /** + * @param qs + * @return + */ + private int getMatchedBingoLineCount(QuestState qs) + { + String[] q = qs.get("selected").split(" "); + int found = 0; + // Horizontal + if ((q[0] + q[1] + q[2]).matches("\\d+")) + { + found++; + } + if ((q[3] + q[4] + q[5]).matches("\\d+")) + { + found++; + } + if ((q[6] + q[7] + q[8]).matches("\\d+")) + { + found++; + } + // Vertical + if ((q[0] + q[3] + q[6]).matches("\\d+")) + { + found++; + } + if ((q[1] + q[4] + q[7]).matches("\\d+")) + { + found++; + } + if ((q[2] + q[5] + q[8]).matches("\\d+")) + { + found++; + } + // Diagonal + if ((q[0] + q[4] + q[8]).matches("\\d+")) + { + found++; + } + if ((q[2] + q[4] + q[6]).matches("\\d+")) + { + found++; + } + return found; + } + + /** + * @param qs + * @param num + */ + private void selectBingoNumber(QuestState qs, int num) + { + String[] numbers = qs.get("numbers").split(" "); + int pos = 0; + for (int i = 0; i < numbers.length; i++) + { + if (Integer.parseInt(numbers[i]) == num) + { + pos = i; + break; + } + } + String[] selected = qs.get("selected").split(" "); + for (int i = 0; i < selected.length; i++) + { + if (i == pos) + { + selected[i] = num + ""; + continue; + } + } + String result = selected[0]; + for (int i = 1; i < selected.length; i++) + { + result += " " + selected[i]; + } + qs.set("selected", result); + } + + /** + * @param qs + * @param num + * @return + */ + private boolean isSelectedBingoNumber(QuestState qs, int num) + { + return qs.get("selected").contains(num + ""); + } + + /** + * @param qs + * @param num + * @return + */ + private int getNumberFromBingoBoard(QuestState qs, int num) + { + return Integer.parseInt(qs.get("numbers").split(" ")[num]); + } + + /** + * @param qs + * @return + */ + private int getBingoSelectCount(QuestState qs) + { + String current = qs.get("selected"); + return current.replaceAll("\\D", "").length(); + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getRandomPlayerFromParty(killer, npc); + if (qs != null) + { + switch (npc.getId()) + { + case HUNTER_GARGOYLE: + if (getRandom(1000) < 328) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case DUST_WIND: + if (getRandom(100) < 35) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case THUNDER_WYRM: + if (getRandom(1000) < 312) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case DUST_WIND_HOLD: + if (getRandom(100) < 35) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case THUNDER_WYRM_HOLD: + if (getRandom(1000) < 312) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case HUNTER_GARGOYLE_HOLD: + if (getRandom(1000) < 328) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case GIANT_MONSTEREYE: + if (getRandom(1000) < 176) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case ROT_GOLEM: + if (getRandom(1000) < 226) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case WEIRD_DRAKE: + if (getRandom(1000) < 218) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case CARINKAIN: + if (getRandom(1000) < 216) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case GRAVE_GUARD: + if (getRandom(1000) < 312) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case TULBEN: + if (getRandom(1000) < 522) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case DRAGON_BEARER_CHIEF: + if (getRandom(100) < 38) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case DRAGON_BEARER_WARRIOR: + if (getRandom(100) < 39) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case DRAGON_BEARER_ARCHER: + if (getRandom(1000) < 372) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case CONGERER_LORD: + if (getRandom(1000) < 802) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case CONGERER: + if (getRandom(1000) < 844) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case NIGHTMARE_GUIDE: + if (getRandom(1000) < 118) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case NIGHTMARE_KEEPER: + if (getRandom(100) < 17) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case NIGHTMARE_LORD: + if (getRandom(1000) < 144) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case CADEINE: + if (getRandom(1000) < 162) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case SANHIDRO: + if (getRandom(100) < 25) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case CONNABI: + if (getRandom(1000) < 272) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case BARTAL: + if (getRandom(100) < 27) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case LUMINUN: + if (getRandom(100) < 32) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + case INNERSEN: + if (getRandom(1000) < 346) + { + giveItemRandomly(qs.getPlayer(), npc, Q_IRONGATE_MEDAL, 1, 0, 1, true); + } + break; + } + + } + return super.onKill(npc, killer, isSummon); + } + + private QuestState getRandomPlayerFromParty(L2PcInstance player, L2Npc npc) + { + QuestState qs = getQuestState(player, false); + final List<QuestState> candidates = new ArrayList<>(); + + if ((qs != null) && qs.isStarted()) + { + candidates.add(qs); + candidates.add(qs); + } + + if (player.isInParty()) + { + player.getParty().getMembers().stream().forEach(pm -> + { + + QuestState qss = getQuestState(pm, false); + if ((qss != null) && qss.isStarted() && Util.checkIfInRange(1500, npc, pm, true)) + { + candidates.add(qss); + } + }); + } + return candidates.isEmpty() ? null : candidates.get(getRandom(candidates.size())); + } +} diff --git a/dist/game/data/scripts/quests/Q00386_StolenDignity/30843-09.html b/dist/game/data/scripts/quests/Q00386_StolenDignity/30843-09.html index 9c09bafe8f..0afa3f4d1e 100644 --- a/dist/game/data/scripts/quests/Q00386_StolenDignity/30843-09.html +++ b/dist/game/data/scripts/quests/Q00386_StolenDignity/30843-09.html @@ -1,5 +1,5 @@ <html><body>Warehouse Keeper Romp:<br> I'll place numbers 1-9 on a 3x3 number pad. Then you need to pick 6 numbers out of 1-9. When you have finished making your choices, we count how many horizontal, vertical and diagonal lines were created by your choice of numbers. Is that clear enough? I think you'll understand once you play. <br> If your numbers make 3 lines, I'll give you a reward.<br> -<a action ="bypass -h Quest Q00386_StolenDignity warehouse_keeper_romp_q0386_07.htm">Back</a> +<a action ="link 30843-07.htm">Back</a> </body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00386_StolenDignity/Q00386_StolenDignity.java b/dist/game/data/scripts/quests/Q00386_StolenDignity/Q00386_StolenDignity.java index 4e4592a965..b9d22365da 100644 --- a/dist/game/data/scripts/quests/Q00386_StolenDignity/Q00386_StolenDignity.java +++ b/dist/game/data/scripts/quests/Q00386_StolenDignity/Q00386_StolenDignity.java @@ -144,9 +144,9 @@ public final class Q00386_StolenDignity extends Quest if (event.equals("QUEST_ACCEPTED")) { qs.playSound(QuestSound.ITEMSOUND_QUEST_ACCEPT); - qs.setMemoState(336); + qs.setMemoState(386); qs.startQuest(); - qs.showQuestionMark(336); + qs.showQuestionMark(386); qs.playSound(QuestSound.ITEMSOUND_QUEST_MIDDLE); return "30843-05.htm"; } @@ -188,80 +188,32 @@ public final class Q00386_StolenDignity extends Quest case 17: case 18: { - selectBingoNumber(qs, (ask - 10) + 1); + selectBingoNumber(qs, (ask - 9)); return fillBoard(player, qs, getHtm(player.getHtmlPrefix(), "30843-13.html")); } case 19: - { - return takeHtml(player, qs, 1); - } case 20: - { - return takeHtml(player, qs, 2); - } case 21: - { - return takeHtml(player, qs, 3); - } case 22: - { - return takeHtml(player, qs, 4); - } case 23: - { - return takeHtml(player, qs, 5); - } case 24: - { - return takeHtml(player, qs, 6); - } case 25: - { - return takeHtml(player, qs, 7); - } case 26: - { - return takeHtml(player, qs, 8); - } case 27: { - return takeHtml(player, qs, 9); + return takeHtml(player, qs, (ask - 18)); } case 55: - { - return beforeReward(player, qs, 1); - } case 56: - { - return beforeReward(player, qs, 2); - } case 57: - { - return beforeReward(player, qs, 3); - } case 58: - { - return beforeReward(player, qs, 4); - } case 59: - { - return beforeReward(player, qs, 5); - } case 60: - { - return beforeReward(player, qs, 6); - } case 61: - { - return beforeReward(player, qs, 7); - } case 62: - { - return beforeReward(player, qs, 8); - } case 63: { - return beforeReward(player, qs, 9); + return beforeReward(player, qs, (ask - 54)); } } } diff --git a/dist/game/data/scripts/quests/QuestMasterHandler.java b/dist/game/data/scripts/quests/QuestMasterHandler.java index c6858ae1c1..c43a7fe638 100644 --- a/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -345,6 +345,7 @@ import quests.Q00380_BringOutTheFlavorOfIngredients.Q00380_BringOutTheFlavorOfIn import quests.Q00381_LetsBecomeARoyalMember.Q00381_LetsBecomeARoyalMember; import quests.Q00382_KailsMagicCoin.Q00382_KailsMagicCoin; import quests.Q00383_TreasureHunt.Q00383_TreasureHunt; +import quests.Q00384_WarehouseKeepersPastime.Q00384_WarehouseKeepersPastime; import quests.Q00385_YokeOfThePast.Q00385_YokeOfThePast; import quests.Q00386_StolenDignity.Q00386_StolenDignity; import quests.Q00401_PathOfTheWarrior.Q00401_PathOfTheWarrior; @@ -833,6 +834,7 @@ public class QuestMasterHandler Q00381_LetsBecomeARoyalMember.class, Q00382_KailsMagicCoin.class, Q00383_TreasureHunt.class, + Q00384_WarehouseKeepersPastime.class, Q00385_YokeOfThePast.class, Q00386_StolenDignity.class, Q00401_PathOfTheWarrior.class, diff --git a/dist/sql/game/updates/Q00384.sql b/dist/sql/game/updates/Q00384.sql new file mode 100644 index 0000000000..a3db168dc6 --- /dev/null +++ b/dist/sql/game/updates/Q00384.sql @@ -0,0 +1 @@ +UPDATE character_quests SET name='Q00384_WarehouseKeepersPastime' WHERE name='384_WarehouseKeepersPastime'; \ No newline at end of file -- GitLab