From 2f3c8f3d9d7d003c06434f5bf386236fd7bddcae Mon Sep 17 00:00:00 2001 From: ivantotov <gmtotov@gmail.com> Date: Sat, 21 Nov 2015 22:12:36 +0200 Subject: [PATCH] Retail-like Quest: Under The Shadow Of The Ivory Tower (343). --- dist/game/data/scripts.cfg | 1 - .../30834-02.htm | 6 - .../30834-02c.htm | 2 - .../30834-03.htm | 4 - .../30834-04.htm | 10 - .../30834-08.htm | 6 - .../30835-01.htm | 3 - .../30835-02.htm | 2 - .../30835-03.htm | 4 - .../30835-04.htm | 1 - .../30934-01.htm | 5 - .../30934-02.htm | 4 - .../30934-03.htm | 5 - .../30934-04.htm | 6 - .../30935-01a.htm | 5 - .../30935-02.htm | 3 - .../30935-03.htm | 6 - .../30935-06.htm | 4 - .../30935-06a.htm | 3 - .../30935-06b.htm | 3 - .../30935-06d.htm | 7 - .../__init__.py | 211 ------ .../30834-01.htm} | 3 +- .../30834-02.htm} | 3 +- .../30834-03.htm} | 6 +- .../30834-04.htm} | 8 +- .../30834-04a.html} | 0 .../30834-05.htm | 6 + .../30834-06.html | 4 + .../30834-06a.html | 4 + .../30834-07.html | 10 + .../30834-08.html} | 4 +- .../30834-08a.html} | 3 +- .../30834-09.html | 6 + .../30834-09a.html} | 5 +- .../30834-09b.html} | 5 +- .../30834-10.html | 5 + .../30834-11.html} | 3 +- .../30834-11a.html} | 3 +- .../30835-01.html | 5 + .../30835-02.html | 3 + .../30835-03.html} | 5 +- .../30835-04.html | 5 + .../30835-05.html | 3 + .../30934-03.html | 7 + .../30934-03a.html} | 0 .../30934-04.html} | 4 +- .../30934-05.html | 3 + .../30934-06.html} | 3 +- .../30934-07.html | 5 + .../30934-08a.html | 6 + .../30934-08b.html | 6 + .../30934-08c.html | 6 + .../30934-09a.html | 6 + .../30934-09b.html | 6 + .../30934-09c.html | 6 + .../30934-10.html | 6 + .../30934-11a.html | 7 + .../30934-11b.html | 7 + .../30934-11c.html | 7 + .../30934-12a.html | 7 + .../30934-12b.html | 7 + .../30934-12c.html | 7 + .../30934-13a.html | 7 + .../30934-13b.html | 7 + .../30934-13c.html | 7 + .../30935-01.html} | 7 +- .../30935-01a.html} | 3 +- .../30935-01b.html} | 3 +- .../30935-03.html} | 3 +- .../30935-04.html | 6 + .../30935-05.html | 6 + .../30935-05a.html | 8 + .../30935-05b.html | 8 + .../30935-05c.html | 8 + .../30935-05d.html} | 5 +- .../30935-06.html | 4 + .../30935-07.html | 4 + .../30935-08.html | 6 + .../30935-08a.html | 8 + .../30935-08b.html | 8 + .../30935-08c.html | 8 + .../30935-08d.html | 7 + .../30935-09.html | 4 + .../30935-09a.html | 4 + .../30935-09b.html | 4 + .../30935-09c.html | 4 + .../30935-10.html | 5 + .../Q00343_UnderTheShadowOfTheIvoryTower.java | 643 ++++++++++++++++++ .../scripts/quests/QuestMasterHandler.java | 2 + dist/sql/game/updates/20151121update.sql | 3 +- 91 files changed, 965 insertions(+), 333 deletions(-) delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02c.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-03.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-04.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-08.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-01.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-02.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-03.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-04.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-01.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-02.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-03.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-04.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-01a.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-02.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-03.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06a.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06b.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06d.htm delete mode 100644 dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/__init__.py rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30834-01b.htm => Q00343_UnderTheShadowOfTheIvoryTower/30834-01.htm} (74%) rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30834-01a.htm => Q00343_UnderTheShadowOfTheIvoryTower/30834-02.htm} (87%) rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30834-01.htm => Q00343_UnderTheShadowOfTheIvoryTower/30834-03.htm} (62%) rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30834-02a.htm => Q00343_UnderTheShadowOfTheIvoryTower/30834-04.htm} (50%) rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30834-02b.htm => Q00343_UnderTheShadowOfTheIvoryTower/30834-04a.html} (100%) create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-05.htm create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-06.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-06a.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-07.html rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30834-05.htm => Q00343_UnderTheShadowOfTheIvoryTower/30834-08.html} (55%) rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30834-09.htm => Q00343_UnderTheShadowOfTheIvoryTower/30834-08a.html} (82%) create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-09.html rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30834-04a.htm => Q00343_UnderTheShadowOfTheIvoryTower/30834-09a.html} (59%) rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30834-04b.htm => Q00343_UnderTheShadowOfTheIvoryTower/30834-09b.html} (73%) create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-10.html rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30834-06.htm => Q00343_UnderTheShadowOfTheIvoryTower/30834-11.html} (85%) rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30834-07.htm => Q00343_UnderTheShadowOfTheIvoryTower/30834-11a.html} (69%) create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-01.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-02.html rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30835-02a.htm => Q00343_UnderTheShadowOfTheIvoryTower/30835-03.html} (77%) create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-04.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-05.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-03.html rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30934-02a.htm => Q00343_UnderTheShadowOfTheIvoryTower/30934-03a.html} (100%) rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30934-01a.htm => Q00343_UnderTheShadowOfTheIvoryTower/30934-04.html} (53%) create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-05.html rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30934-03a.htm => Q00343_UnderTheShadowOfTheIvoryTower/30934-06.html} (85%) create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-07.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-08a.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-08b.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-08c.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-09a.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-09b.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-09c.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-10.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-11a.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-11b.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-11c.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-12a.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-12b.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-12c.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-13a.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-13b.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-13c.html rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30935-01.htm => Q00343_UnderTheShadowOfTheIvoryTower/30935-01.html} (50%) rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30935-05.htm => Q00343_UnderTheShadowOfTheIvoryTower/30935-01a.html} (86%) rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30935-04.htm => Q00343_UnderTheShadowOfTheIvoryTower/30935-01b.html} (84%) rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30935-02a.htm => Q00343_UnderTheShadowOfTheIvoryTower/30935-03.html} (61%) create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-04.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05a.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05b.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05c.html rename dist/game/data/scripts/quests/{343_UnderTheShadowOfTheIvoryTower/30935-06c.htm => Q00343_UnderTheShadowOfTheIvoryTower/30935-05d.html} (59%) create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-06.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-07.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08a.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08b.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08c.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08d.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09a.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09b.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09c.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-10.html create mode 100644 dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/Q00343_UnderTheShadowOfTheIvoryTower.java diff --git a/dist/game/data/scripts.cfg b/dist/game/data/scripts.cfg index 8334891cdf..9970463f7d 100644 --- a/dist/game/data/scripts.cfg +++ b/dist/game/data/scripts.cfg @@ -191,7 +191,6 @@ quests/234_FatesWhisper/__init__.py quests/255_Tutorial/__init__.py quests/334_TheWishingPotion/__init__.py quests/335_TheSongOfTheHunter/__init__.py -quests/343_UnderTheShadowOfTheIvoryTower/__init__.py quests/348_ArrogantSearch/__init__.py quests/384_WarehouseKeepersPastime/__init__.py quests/386_StolenDignity/__init__.py diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02.htm deleted file mode 100644 index f77d075eef..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Magic Trader Cema:<br> -Will you join our research? We are investigating the use of nebulite for the greater public good. However, we are having a hard time finding nebulite for our study. The Dwarven collectors we hired for this task have not been heard from in over a month.<br> -Would you do this work for us? Around the crater of the Ivory Tower you will find<font color="LEVEL"> manashen gargoyles, enchanted monster eyes, enchanted stone golems</font>, and enchanted iron golems. They have fallen under the spell of the<font color="LEVEL"> Nebulite Orbs</font>, which are fragments of the meteorite. If you kill these monsters you can easily collect the nebulite samples we need for our research.<br> -You shall be well-compensated for your efforts.<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-02c.htm">"Tell me more about the Dwarven collectors."</a> -</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02c.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02c.htm deleted file mode 100644 index 2cc5f7fa1b..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02c.htm +++ /dev/null @@ -1,2 +0,0 @@ -<html><body>Magic Trader Cema:<br> -Ah yes, the Dwarves... They are collectors, specialists in rare items. Most collectors belong to the Golden Key Guild, but I have since discovered that those two collectors are notorious for being lazy and playing tricks. I should never have hired them... Sigh...</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-03.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-03.htm deleted file mode 100644 index fdb80acb30..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Magic Trader Cema:<br> -Please collect Nebulite Orbs and bring them to us. If you kill the<font color="LEVEL"> manashen gargoyles, enchanted monster eyes, enchanted stone golems, and enchanted iron golems</font> that can be found around the crater of the Ivory Tower, you can easily obtain the nebulite. And if you happen to run into the Dwarven collectors, remind them that they signed a Contract with us.<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-02c.htm">"Tell me more about the Dwarven collectors."</a> -</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-04.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-04.htm deleted file mode 100644 index 97243709d0..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-04.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html><body>Magic Trader Cema:<br> -Good job! So, what do you want? Do you want adena in exchange for the orbs or would you prefer trading them for useful items?<br> -You may find a few things among the exchange items that you haven't seen elsewhere. If you have any question, please ask me. I'll answer your question.<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-04a.htm">Ask about the Cursed Bone</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-04b.htm">Ask about the Ectoplasm Liqueur</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-05.htm">Receive money</a><br> -<a action="bypass -h npc_%objectId%_multisell 7834">"I wish to exchange the orbs for useful items."</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-07.htm">"I wish to continue collecting."</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-06.htm">"I quit!"</a> -</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-08.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-08.htm deleted file mode 100644 index a9dd0ca285..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-08.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Magic Trader Cema:<br> -You may find a few things among these that you haven't seen elsewhere. If you have any question, please ask me. I'll answer your question.<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-04a.htm">Ask about the Cursed Bone</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-04b.htm">Ask about the Ectoplasm Liqueur</a><br> -<a action="bypass -h npc_%objectId%_multisell 7834">View the Exchange Item List</a> -</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-01.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-01.htm deleted file mode 100644 index 60ee012d54..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-01.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Lich King Akron:<br> -What a miserable state I'm in, neither dead or alive, just here. What's the point? I'm an undead... No hope for me. The liqueur supplied by my students is all that keeps me going these days. I get drunk and imagine that I can feel the warmth of life flowing through my veins once again...<br>Oh, I suppose you are wondering how an undead can drink liqueur? Have you heard of<font color="LEVEL"> Ectoplasm Liqueur</font>? That stuff will raise a corpse from his grave to dance! It is so strong that even my old, rotten tongue twitches at its taste. Ahhhh... What I would give for a sip right now...!<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30835-02.htm">Give him some Ectoplasm Liqueur.</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-02.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-02.htm deleted file mode 100644 index 4c4640d920..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-02.htm +++ /dev/null @@ -1,2 +0,0 @@ -<html><body>Lich King Akron:<br> -You scoundrel! You have no such thing! How dare you pretend to give it to me as a present!</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-03.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-03.htm deleted file mode 100644 index 1653e3f0c7..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Lich King Akron:<br> -Why are you still here? Is there something that you want of me?<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30835-02.htm">Give him Ectoplasm Liqueur.</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30835-04.htm">"Goodbye."</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-04.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-04.htm deleted file mode 100644 index d4b5b3b6fe..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-04.htm +++ /dev/null @@ -1 +0,0 @@ -<html><body>Lich King Akron:<br>Good bye, my little Magus!</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-01.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-01.htm deleted file mode 100644 index 9368de8b30..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-01.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Collector Marsha:<br> -Magic Trader Cema has requested that I collect Starstones, also known as nebulite.<br> -Ah, so you are also looking for Starstones! Would you like to play a simple game of chance? Surely you know how to play rock-paper-scissors!?<br> -The winner will get to keep all the Nebulite Orbs we have collected! Don't you think that's better than both of us running around killing monsters all day?<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30934-02.htm">Play rock-paper-scissors.</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-02.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-02.htm deleted file mode 100644 index 05adcecf99..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Marsha:<br> -First, you should place 10 Nebulite Orbs as a bet! I'll bet the same! The winner takes all! Understand?<br> -Shall we begin?<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30934-03.htm">Play the game.</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-03.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-03.htm deleted file mode 100644 index 228429e92f..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-03.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Marsha:<br><msg><br><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 1">Show scissors</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 2">Show rock</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 3">Show paper</a> -</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-04.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-04.htm deleted file mode 100644 index b3b4f3442d..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-04.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Collector Marsha:<br> -Player:<font color="LEVEL"> %player%</font><br> -Collector Marsha:<font color="LEVEL">%marsha%</font><br> -%msg%<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30934-03.htm">%again%</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30934-02a.htm">Quit</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-01a.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-01a.htm deleted file mode 100644 index 6a638d1fc5..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-01a.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Collector Trumpin:<br> -Do you care to play another round? As I said, I'm just trying to get rid of all the Nebulite Orbs I've collected so far. I know that your pride won't let you accept them for free, that's why I came up with this game.<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-04.htm">"Tell me the rules of the game."</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-02.htm">Play the game.</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-05.htm">Quit</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-02.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-02.htm deleted file mode 100644 index be2d0b6ba9..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-02.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Trumpin:<br> -We will play a simple toin-cossing game - you choose head or tails, if you're right you win 10 orbs, if you're wrong you loose 10. If you get two right in a row, you will get 30 orbs!<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-03.htm">"Ok I'm ready!"</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-03.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-03.htm deleted file mode 100644 index d9659d399b..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-03.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Collector Trumpin:<br> -Here we go!<br> -Call it! Heads or tails?<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 4">"Heads!"</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 5">"Tails!"</a> -</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06.htm deleted file mode 100644 index aba40a0b8d..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Collector Trumpin:<br> -Wasn't that fun? Would you like to play again?<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-02.htm">Play the coin-toss game.</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-05.htm">Quit</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06a.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06a.htm deleted file mode 100644 index c507811d94..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06a.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Collector Trumpin:<br> -Here are your %nebulites% Nebulite Orbs!<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-06.htm">Return</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06b.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06b.htm deleted file mode 100644 index 3b206895a1..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06b.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Collector Trumpin:<br> -Oops, sorry, you're wrong! It was %toss%!<font color="LEVEL"> You lose!</font> I'll take those 10 Nebulite Orbs. Better luck next time!<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-06.htm">Return</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06d.htm b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06d.htm deleted file mode 100644 index 8d5161f0d5..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06d.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html><body>Collector Trumpin:<br> -What's that? %toss%? Let's see~<br> -%msg1%<br> -<font color="LEVEL">%msg2%</font><br> -Do you want to stop playing the game and receive your %orbs% Nebulite Orbs or would you like to play the next round? If you win again you will receive %next% Nebulite Orbs.<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower quit">Take %orbs% Nebulite Orbs.</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-03.htm">Play the next round.</a></body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/__init__.py b/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/__init__.py deleted file mode 100644 index 0af8835fa3..0000000000 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/__init__.py +++ /dev/null @@ -1,211 +0,0 @@ -# Made by mtrix - v0.2 by DrLecter -import sys -from com.l2jserver import Config -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 - -qn = "343_UnderTheShadowOfTheIvoryTower" - -ORB = 4364 -ECTOPLASM = 4365 -ADENA = 57 -CHANCE = 50 -RANDOM_REWARDS=[[951,1], #Enchant Weapon C - [955,1], #Enchant Weapon D - [2511,550],#SpiritShot: Grade C - [736,1], #SoE - ] -#Roshambo -OPTIONS={0:"Scissors",1:"Rock",2:"Paper"} -OUTCOME={0:1,1:2,2:0} -#Coin Toss -TOSS={0:"Heads",1:"Tails"} -ORBS=[10,30,70,150,310,0] -#Messages -start_msg=["One~ Two~ Three~","Go! One~ Two~ Three~","Ready? Go! One~ Two~ Three~","Here we go! One~ Two~ Three~"] -tie_msg=["Ah ha! A tie! Take back the orbs that you bet. Well, shall we play again?",\ - "Ha! A tie! Take back the orbs that you bet. Shall we try again?"] -win_msg=["Well, you certainly got lucky that time! Take all the orbs we put up as a bet. Come on! Let's play another round!",\ - "Oh no! I lose! Go ahead. Take all the orbs we put up as a bet. Come on! Let's play again!",\ - "Oh no! I lose! Go ahead. Take all the orbs we put up as a bet. Humph... Come on! Let's play again!"] -lose_msg=["Oh, too bad. You lose! Shall we play another round?",\ - "Oh...! You lose! Oh well, the orbs are mine. Shall we play another round?",\ - "Oh, too bad, you lose! I'll take those orbs now... Hey now, shall we play another round?"] -again_msg=["Play the game.","Play the rock paper scissors game."] -toss_msg=[["You're right!","You win!"],\ - ["Hu wah! Right again!","You won twice in a row!"],\ - ["Hu wah! Right again!","You won three times in a row!"],\ - ["Ho ho! Right again!","You won four times in a row!"]] -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = [ORB] - - def onEvent (self,event,st) : - htmltext = event - marsha = self.getRandom(3) - random2 = self.getRandom(2) - orbs = st.getQuestItemsCount(ORB) - if event == "30834-02.htm" : - st.setState(State.STARTED) - st.set("cond","1") - st.playSound("ItemSound.quest_accept") - elif event == "30834-05.htm" : - if orbs : - st.giveItems(ADENA,orbs*125) - st.takeItems(ORB,-1) - else : - htmltext = "30834-09.htm" - elif event == "30835-02.htm": - if st.getQuestItemsCount(ECTOPLASM) : - st.takeItems(ECTOPLASM,1) - item=RANDOM_REWARDS[self.getRandom(len(RANDOM_REWARDS))] - st.rewardItems(item[0],int(item[1])) - htmltext="30835-02a.htm" - elif event == "30934-02.htm" : - if orbs < 10 : - htmltext = "30934-03a.htm" - else: - st.set("rps_1sttime","1") - elif event == "30934-03.htm" : - if orbs>=10 : - st.takeItems(ORB,10) - st.set("playing","1") - htmltext = st.showHtmlFile("30934-03.htm").replace("<msg>", start_msg[self.getRandom(len(start_msg))]) - else : - htmltext = "30934-03a.htm" - elif event in [ "1","2","3" ]: - if st.getInt("playing"): - player=int(event)-1 - if OUTCOME[player] == marsha: - msg=lose_msg - elif OUTCOME[marsha] == player: - st.giveItems(ORB,20) - msg=win_msg - else: - st.giveItems(ORB,10) - msg=tie_msg - st.unset("playing") - htmltext = st.showHtmlFile("30934-04.htm").replace("%player%", OPTIONS[player]).\ - replace("%marsha%", OPTIONS[marsha]).replace("%msg%", msg[self.getRandom(len(msg))]).\ - replace("%again%", again_msg[self.getRandom(len(again_msg))]) - else: - htmltext="Player is cheating" - st.takeItems(ORB,-1) - - elif event == "30935-02.htm" : - if orbs < 10 : - htmltext = "30935-02a.htm" - else: - st.set("ct_1sttime","1") - elif event == "30935-03.htm" : - if orbs>=10 : - st.set("toss","1") - else : - st.unset("row") - htmltext = "30935-02a.htm" - elif event in ["4","5"] : - if st.getInt("toss"): - if orbs>=10: - if random2==int(event)-4 : - row = st.getInt("row") - if row<4 : - row += 1 - template="30935-06d.htm" - else: - st.giveItems(ORB,310) - row=0 - template="30935-06c.htm" - else : - row = 0 - st.takeItems(ORB,10) - template="30935-06b.htm" - st.set("row",str(row)) - htmltext = st.showHtmlFile(template).replace("%toss%",TOSS[random2]).\ - replace("%msg1%",toss_msg[row-1][0]).replace("%msg2%",toss_msg[row-1][1]).\ - replace("%orbs%",str(ORBS[row-1])).replace("%next%",str(ORBS[row])) - else: - st.unset("row") - htmltext = "30935-02a.htm" - st.unset("toss") - else: - st.takeItems(ORB,-1) - htmltext="Player is cheating" - elif event == "quit": - if st.getInt("row"): - qty=st.getInt("row")-1 - st.giveItems(ORB,ORBS[qty]) - st.unset("row") - htmltext = st.showHtmlFile("30935-06a.htm").replace("%nebulites%",str(ORBS[qty])) - else: - st.takeItems(ORB,-1) - htmltext="Player is cheating" - elif event in ["30834-06.htm","30834-02b.htm"] : - st.playSound("ItemSound.quest_finish") - st.exitQuest(1) - return htmltext - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = self.getQuestState(player, True) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - level = player.getLevel() - cond = st.getInt("cond") - if npcId==30834 : - if id == State.CREATED : - if player.getClassId().getId() in [ 0x11,0xc,0xd,0xe,0x10,0x1a,0x1b,0x1c,0x1e,0x28,0x29,0x2b,0x5e,0x5f,0x60,0x61,0x62,0x67,0x68,0x69,0x6e,0x6f,0x70]: - if level >= 40: - htmltext = "30834-01.htm" - else: - htmltext = "30834-01a.htm" - st.exitQuest(1) - else: - htmltext = "30834-01b.htm" - st.exitQuest(1) - elif cond==1 : - if st.getQuestItemsCount(ORB) : - htmltext = "30834-04.htm" - else : - htmltext = "30834-03.htm" - elif npcId==30835 : - htmltext = "30835-01.htm" - elif npcId==30934 : - if st.getInt("rps_1sttime") : - htmltext = "30934-01a.htm" - else : - htmltext = "30934-01.htm" - elif npcId==30935 : - st.unset("row") - if st.getInt("ct_1sttime") : - htmltext = "30935-01a.htm" - else : - htmltext = "30935-01.htm" - return htmltext - - def onKill(self,npc,player,isPet): - st = self.getQuestState(player, False) - if not st : return - if st.getState() != State.STARTED : return - - npcId = npc.getId() - if self.getRandom(100) < CHANCE : - st.giveItems(ORB,1) - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(343,qn,"Under The Shadow Of The Ivory Tower") - -QUEST.addStartNpc(30834) - -QUEST.addTalkId(30834) -QUEST.addTalkId(30835) -QUEST.addTalkId(30935) -QUEST.addTalkId(30934) - -for i in range(20563,20567) : - QUEST.addKillId(i) \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-01b.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-01.htm similarity index 74% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-01b.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-01.htm index 6da7e5ff18..c701f9f8ea 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-01b.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-01.htm @@ -1,3 +1,4 @@ <html><body>Magic Trader Cema:<br> We need someone to gather materials for a research project that is being conducted at Hardin's Academy. It is imperative that this person be cognizant of the forces of magic. If you know a well-trained Mystic, send him to me.<br> -(This quest can only be undertaken by non-orc Mystics level 40 or higher.)</body></html> \ No newline at end of file +(This quest can only be undertaken by non-Orc Mystics level 40 or higher.) +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-01a.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-02.htm similarity index 87% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-01a.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-02.htm index db87248055..a8bc239eab 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-01a.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-02.htm @@ -1,3 +1,4 @@ <html><body>Magic Trader Cema:<br> This job is too much for you. It is far too dangerous for one of your skill level.<br> -(This quest can only be undertaken by a Mystic of level 40 or higher.)</body></html> \ No newline at end of file +(This quest can only be undertaken by a Mystic of level 40 or higher.) +</body></html> diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-01.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-03.htm similarity index 62% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-01.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-03.htm index bb9af644af..262077e489 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-01.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-03.htm @@ -1,5 +1,5 @@ <html><body>Magic Trader Cema:<br> -Have you heard of nebulite? It is a mineral often found in meteorites. Processed properly, even a tiny amount can produce tremendous energy. It is quite valuable to those who seek to amplify magical power.<br> -The Dwarves say that nebulite was used by the Titans as their primary source of energy. At that time the mineral was abundant, but the expansion of the titan civilization exhausted most of the precious material. Nowadays it is quite rare, and can only be found in a few places...<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-02a.htm">"Where can nebulite be found?"</a> +Have you heard of Nebulite? It is a mineral often found in meteorites. Processed properly, even a tiny amount can produce tremendous energy. It is quite valuable to those who seek to amplify magical power.<br> +The Dwarves say that Nebulite was used by the Titans as their primary source of energy. At that time the mineral was abundant, but the expansion of the titan civilization exhausted most of the precious material. Nowadays it is quite rare, and can only be found in a few places...<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-04.htm">"Where can Nebulite be found?"</a> </body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02a.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-04.htm similarity index 50% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02a.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-04.htm index de0b9e949e..c2a9243e08 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02a.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-04.htm @@ -1,6 +1,6 @@ <html><body>Magic Trader Cema:<br> -It is well-known that the crater of the Ivory Tower was created by a gigantic meteorite... However, not many know that the meteorite was composed almost entirely of nebulite, and is currently locked away in the basement of the tower! Those in the Ivory Tower want to keep all the nebulite for themselves!<br> -Does this seem fair? Should the source of the most powerful magical power on earth be monopolized by a few privileged groups? I think not! That nebulite should be used for the greater public good! Don't you agree?<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-02.htm">"I agree"</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-02b.htm">"I disaagree"</a> +It is well-known that the crater of the Ivory Tower was created by a gigantic meteorite... However, not many know that the meteorite was composed almost entirely of Nebulite, and is currently locked away in the basement of the tower! Those in the Ivory Tower want to keep all the Nebulite for themselves!<br> +Does this seem fair? Should the source of the most powerful magical power on earth be monopolized by a few privileged groups? I think not! That Nebulite should be used for the greater public good! Don't you agree?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-05.htm">"I agree."</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-04a.html">"I disagree."</a> </body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02b.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-04a.html similarity index 100% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-02b.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-04a.html diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-05.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-05.htm new file mode 100644 index 0000000000..5529e57dcd --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-05.htm @@ -0,0 +1,6 @@ +<html><body>Magic Trader Cema:<br> +Will you join our research? We are investigating the use of Nebulite for the greater public good. However, we are having a hard time finding Nebulite for our study. The Dwarven collectors we hired for this task have not been heard from in over a month.<br> +Would you do this work for us? Around the crater of the Ivory Tower you will find <font color="LEVEL">manashen gargoyles, enchanted monster eyes, enchanted stone golems</font>, and enchanted iron golems. They have fallen under the spell of the <font color="LEVEL">Nebulite Orbs</font>, which are fragments of the meteorite. If you kill these monsters you can easily collect the Nebulite samples we need for our research.<br> +You shall be well-compensated for your efforts.<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-06a.html">"Tell me more about the Dwarven collectors."</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-06.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-06.html new file mode 100644 index 0000000000..8f4c00e3b2 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-06.html @@ -0,0 +1,4 @@ +<html><body>Magic Trader Cema:<br> +Please collect Nebulite Orbs and bring them to us. If you kill the <font color="LEVEL">manashen gargoyles, enchanted monster eyes, enchanted stone golems, and enchanted iron golems</font> that can be found around the crater of the Ivory Tower, you can easily obtain the Nebulite. And if you happen to run into the Dwarven collectors, remind them that they signed a Contract with us.<BR> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-06a.html">"Tell me more about the Dwarven collectors."</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-06a.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-06a.html new file mode 100644 index 0000000000..8885528068 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-06a.html @@ -0,0 +1,4 @@ +<html><body>Magic Trader Cema:<br> +Collectors are dwarves who specialize in gathering rare goods. Most collectors are Bounty Hunters who belong to the Gold Key Guild.<br> +But I found out that the two dwarves that I've hired are only known for their laziness and cunning, even among collectors. I blame myself, for trusting dwarves with important work in the first place... Sigh... +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-07.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-07.html new file mode 100644 index 0000000000..549621ab9d --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-07.html @@ -0,0 +1,10 @@ +<html><body>Magic Trader Cema:<br> +Good job! So, what do you wnat? Do you want Adena in exchange for the orbs or would you prefer trading them for useful items?<br> +You may find a few things among the exchange items that you haven't seen elsewhere. If you have any question, please ask me. I'll answer your question.<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-09a.html">Ask about the Cursed Bone</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-09b.html">Ask about the Ectoplasm Liqueur</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-08.html">Receive money</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-09.html">"I wish to exchange the orbs for useful items."</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-11a.html">"I wish to continue collecting."</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-10.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-05.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-08.html similarity index 55% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-05.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-08.html index 31caf9c8ff..068f220f9a 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-05.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-08.html @@ -1,5 +1,5 @@ <html><body>Magic Trader Cema:<br> Very well, you shall be paid based on the number of Nebulite Orbs you have brought back. Unfortunately, we must still secure more orbs to conduct our research. Could you possibly go and get more orbs for us?<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-06.htm">"I quit!"</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-07.htm">"I will continue collecting."</a> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-11a.html">"I will continue collecting."</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-10.html">Quit</a> </body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-09.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-08a.html similarity index 82% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-09.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-08a.html index 5d2dd8174b..a1c0d0d596 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-09.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-08a.html @@ -1,2 +1,3 @@ <html><body>Magic Trader Cema:<br> -Did you think I would fall for that? How stupid do I look? The nerve! How could you try to get money from me without giving me any Nebulite Orbs?</body></html> \ No newline at end of file +Did you think I would fall for that? How stupid do I look? The nerve! How could you try to get money from me without giving me any Nebulite Orbs? +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-09.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-09.html new file mode 100644 index 0000000000..6ad0517ccc --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-09.html @@ -0,0 +1,6 @@ +<html><body>Magic Trader Cema:<br> +You may find a few things among these that you haven't seen elsewhere. If you have any question, please ask me. I'll answer your question.<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-09a.html">Ask about the Cursed Bone</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-09b.html">Ask about the Ectoplasm Liqueur</a><br> +<a action="bypass -h npc_%objectId%_multisell 7834">View the Exchange Item List</a><br> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-04a.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-09a.html similarity index 59% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-04a.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-09a.html index 6185f985e4..5fa0d84691 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-04a.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-09a.html @@ -1,3 +1,4 @@ <html><body>Magic Trader Cema:<br> -The Cursed Bone is essential for a Mystic studying witchcraft. Unlike ordinary Bone Fragments, the Cursed Bone holds a mighty power of darkness within it. Necromancers must have it to create a<font color="LEVEL"> death spike</font>.<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-08.htm">Return</a></body></html> \ No newline at end of file +The Cursed Bone is essential for a Mystic studying witchcraft. Unlike ordinary Bone Fragments, the Cursed Bone holds a mighty power of darkness within it. Necromancers must have it to create a <font color="LEVEL">death spike</font>.<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-09.html">Return</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-04b.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-09b.html similarity index 73% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-04b.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-09b.html index e9ef81298d..c0be06b079 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-04b.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-09b.html @@ -1,4 +1,5 @@ <html><body>Magic Trader Cema:<br> It is a liquor with an unusual flavor, made of ectoplasm. It is definitely an acquired taste, and not many ask for it. It will not fetch a very high price at the village.<br> -But,<font color="LEVEL"> Lich King Icarus</font> really loves the stuff. The students here know that if you give him a drink of it, he will often shower you with gifts. It has been said that sometimes he even gives away rare items. Most students here try to give him some of the liquor at least once or twice before they graduate.<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-08.htm">Return</a></body></html> \ No newline at end of file +But, <font color="LEVEL">Lich King Icarus</font> really loves the stuff. The students here know that if you give him a drink of it, he will often shower you with gifts. It has been said that sometimes he even gives away rare items. Most students here try to give him some of the liquor at least once or twice before they graduate.<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-09.html">Return</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-10.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-10.html new file mode 100644 index 0000000000..3bb82ae20b --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-10.html @@ -0,0 +1,5 @@ +<html><body>Magic Trader Cema:<br> +Thank you for collecting the samples for us, but we still need more if we are to conduct our experiments successfully. Could you possibly work a little longer for us?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-11a.html">"I will continue to work."</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-11.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-06.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-11.html similarity index 85% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-06.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-11.html index 8822d2e2cd..7849f16c98 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-06.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-11.html @@ -1,2 +1,3 @@ <html><body>Magic Trader Cema:<br> -Thank you so much for the hard work you've done for us. I wish you luck in all your future endeavors. Well, goodbye! Until we meet again...</body></html> \ No newline at end of file +Thank you so much for the hard work you've done for us. I wish you luck in all your future endeavors. Well, goodbye! Until we meet again... +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-07.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-11a.html similarity index 69% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-07.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-11a.html index d981713cf9..26708cf573 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30834-07.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30834-11a.html @@ -1,4 +1,5 @@ <html><body>Magic Trader Cema:<br> Your help has been essential to our research, we could not do it without you. However, we do still need more samples. Please help us a little longer.<br> Oh, if you happen to run into the Dwarven collectors near the Ivory Tower, please remind them that they signed a Contract with us.<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30834-02c.htm">"Tell me more about the collectors."</a></body></html> \ No newline at end of file +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30834-06a.html">"Tell me more about the collectors."</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-01.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-01.html new file mode 100644 index 0000000000..82892cefc9 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-01.html @@ -0,0 +1,5 @@ +<html><body>Lich King Icarus:<br> +What a miserable state I'm in, neither dead or alive, just here. What's the point? I'm an undead... No hope for me. The liqueur supplied by my students is all that keeps me going these days. I get drunk and imagine that I can feel the warmth of life flowing through my veins once again...<br> +Oh, I suppose you are wondering how an undead can drink liqueur? Have you heard of <font color="LEVEL">Ectoplasm Liqueur</font>? That stuff will raise a corpse from his grave to dance! It is so strong that even my old, rotten tongue twitches at its taste. Ahhhh... What I would give for a sip right now...!<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30835-02.html">Give him some Ectoplasm Liqueur.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-02.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-02.html new file mode 100644 index 0000000000..2adf73e64c --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-02.html @@ -0,0 +1,3 @@ +<html><body>Lich King Icarus:<br> +You scoundrel! You have no such thing! How dare you pretend to give it to me as a present! +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-02a.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-03.html similarity index 77% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-02a.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-03.html index f10032c26e..4d02ad6911 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30835-02a.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-03.html @@ -1,6 +1,7 @@ -<html><body>Lich King Akron:<br> +<html><body>Lich King Icarus:<br> Oh, how lovely! How did you know to bring me this rare and precious liqueur? Well, time for a cocktail!<br> Ah yes, that's the stuff. It's been too long! Would you care for a nip? It really tastes wonderful!<br> No? Well, I understand. It would most likely burn your tongue right out!<br> Did I understand that you are a student of Hardin? Or, are you just a flunkie from the Ivory Tower? Well, no matter! A gift like this is always welcome! Please take this as a token of my appreciation!<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30835-03.htm">Return</a></body></html> \ No newline at end of file +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30835-04.html">Return</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-04.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-04.html new file mode 100644 index 0000000000..69020e19d3 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-04.html @@ -0,0 +1,5 @@ +<html><body>Lich King Icarus:<br> +Why are you still here? Is there something that you want of me?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30835-02.html">Give him Ectoplasm Liqueur.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30835-05.html">"Goodbye."</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-05.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-05.html new file mode 100644 index 0000000000..eb9caef298 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30835-05.html @@ -0,0 +1,3 @@ +<html><body>Lich King Icarus:<br> +Good bye, my little Magus! +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-03.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-03.html new file mode 100644 index 0000000000..4ac1b80da6 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-03.html @@ -0,0 +1,7 @@ +<html><body>Collector Marsha:<br> +Magic Trader Cema has requested that I collect Starstones, also known as Nebulite.<br> +Ah, so you are also looking for Starstones! Would you like to play a simple game of chance? Surely you know how to play rock-paper-scissors!?<br> +The winner will get to keep all the Nebulite Orbs we have collected! Don't you think that's better than both of us running around killing monsters all day?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-05.html">Play rock-paper-scissors.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-03a.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-02a.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-03a.html similarity index 100% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-02a.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-03a.html diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-01a.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-04.html similarity index 53% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-01a.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-04.html index dbae0f8629..41b5921a66 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-01a.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-04.html @@ -1,6 +1,6 @@ <html><body>Collector Marsha:<br> Good to see you again! Would you like to play the rock-paper-scissors game?<br> Remember the rules? The winner gets 10 Nebulite Orbs from the loser! What a great way to save an afternoon's work!<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30934-02.htm">Play rock-paper-scissors.</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30934-02a.htm">"Quit"</a> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-05.html">Play the rock paper scissors game.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-03a.html">Quit</a> </body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-05.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-05.html new file mode 100644 index 0000000000..be80510a09 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-05.html @@ -0,0 +1,3 @@ +<html><body>Collector Marsha:<br> +One more round, what do you say? Uh oh, what is this? I'm out of Nebulite Orbs! Come back when I've had time to gather some more. +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-03a.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-06.html similarity index 85% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-03a.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-06.html index 79525198ab..968f0c395b 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30934-03a.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-06.html @@ -1,3 +1,4 @@ <html><body>Collector Marsha:<br> You need to have at least ten Nebulite Orbs to play the rock-paper-scissors game!<br> -Go and get some more orbs and come back to see me, I'm always ready to play!</body></html> \ No newline at end of file +Go and get some more orbs and come back to see me, I'm always ready to play! +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-07.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-07.html new file mode 100644 index 0000000000..ba35e22387 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-07.html @@ -0,0 +1,5 @@ +<html><body>Collector Marsha:<br> +First, you should place 10 Nebulite Orbs as a bet! I'll bet the same! The winner takes all! Understand?<br> +Shall we begin?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-08a.html">Play the game.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-08a.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-08a.html new file mode 100644 index 0000000000..17f72006eb --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-08a.html @@ -0,0 +1,6 @@ +<html><body>Collector Marsha:<br> +Ready? Go! One~ Two~ Three~<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-11a.html">Show scissors</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-12a.html">Show rock</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-13a.html">Show paper</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-08b.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-08b.html new file mode 100644 index 0000000000..17f72006eb --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-08b.html @@ -0,0 +1,6 @@ +<html><body>Collector Marsha:<br> +Ready? Go! One~ Two~ Three~<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-11a.html">Show scissors</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-12a.html">Show rock</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-13a.html">Show paper</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-08c.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-08c.html new file mode 100644 index 0000000000..d5f3cb1241 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-08c.html @@ -0,0 +1,6 @@ +<html><body>Collector Marsha:<br> +Here we go! One~ Two~ Three~<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-11a.html">Show scissors</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-12a.html">Show rock</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-13a.html">Show paper</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-09a.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-09a.html new file mode 100644 index 0000000000..17f72006eb --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-09a.html @@ -0,0 +1,6 @@ +<html><body>Collector Marsha:<br> +Ready? Go! One~ Two~ Three~<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-11a.html">Show scissors</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-12a.html">Show rock</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-13a.html">Show paper</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-09b.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-09b.html new file mode 100644 index 0000000000..17f72006eb --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-09b.html @@ -0,0 +1,6 @@ +<html><body>Collector Marsha:<br> +Ready? Go! One~ Two~ Three~<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-11a.html">Show scissors</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-12a.html">Show rock</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-13a.html">Show paper</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-09c.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-09c.html new file mode 100644 index 0000000000..473ed86ab5 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-09c.html @@ -0,0 +1,6 @@ +<html><body>Collector Marsha:<br> +Go! One~ Two~ Three~<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-11a.html">Show scissors</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-12a.html">Show rock</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-13a.html">Show paper</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-10.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-10.html new file mode 100644 index 0000000000..20a05a4850 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-10.html @@ -0,0 +1,6 @@ +<html><body>Collector Marsha:<br> +One~ Two~ Three~<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-11a.html">Show scissors</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-12a.html">Show rock</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-13a.html">Show paper</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-11a.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-11a.html new file mode 100644 index 0000000000..b73791992c --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-11a.html @@ -0,0 +1,7 @@ +<html><body>Collector Marsha:<br> +Player: <font color="LEVEL">Scissors</font><br> +Collector Marsha: <font color="LEVEL">Scissors</font><br> +Ha! A tie! Take back the orbs that you bet. Shall we try again?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-05.html">Play the game.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-03a.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-11b.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-11b.html new file mode 100644 index 0000000000..ab2979eed6 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-11b.html @@ -0,0 +1,7 @@ +<html><body>Collector Marsha:<br> +Player: <font color="LEVEL">Scissors</font><br> +Collector Marsha: <font color="LEVEL">Rock</font><br> +Oh, too bad, you lose! I'll take those orbs now... Hey now, shall we play another round?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-05.html">Play the game.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-03a.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-11c.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-11c.html new file mode 100644 index 0000000000..958410eba7 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-11c.html @@ -0,0 +1,7 @@ +<html><body>Collector Marsha:<br> +Player: <font color="LEVEL">Scissors</font><br> +Collector Marsha: <font color="LEVEL">Paper</font><br> +Oh no! I lose! Go ahead. Take all the orbs we put up as a bet. Humph... Come on! Let's play again!<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-05.html">Play the game.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-03a.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-12a.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-12a.html new file mode 100644 index 0000000000..4b9779a81a --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-12a.html @@ -0,0 +1,7 @@ +<html><body>Collector Marsha:<br> +Player: <font color="LEVEL">Rock</font><br> +Collector Marsha:<font color="LEVEL">Scissors</font><br> +Oh no! I lose! Go ahead. Take all the orbs we put up as a bet. Come on! Let's play again!<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-05.html">Play the game.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-03a.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-12b.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-12b.html new file mode 100644 index 0000000000..27f806d87b --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-12b.html @@ -0,0 +1,7 @@ +<html><body>Collector Marsha:<br> +Player: <font color="LEVEL">Rock</font><br> +Collector Marsha: <font color="LEVEL">Rock</font><br> +Ha! A tie! Take back the orbs that you bet. Shall we try again?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-05.html">Play the game.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-03a.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-12c.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-12c.html new file mode 100644 index 0000000000..628f3feadb --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-12c.html @@ -0,0 +1,7 @@ +<html><body>Collector Marsha:<br> +Player: <font color="LEVEL">Rock</font><br> +Collector Marsha: <font color="LEVEL">Paper</font><br> +Oh...! You lose! Oh well, the orbs are mine. Shall we play another round?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-05.html">Play the game.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-03a.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-13a.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-13a.html new file mode 100644 index 0000000000..4c061e098e --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-13a.html @@ -0,0 +1,7 @@ +<html>Collector Marsha:<body><br> +Player: <font color="LEVEL">Paper</font><br> +Collector Marsha: <font color="LEVEL">Scissors</font><br> +Oh, too bad. You lose! Shall we play another round?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-05.html">Play the game.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-03a.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-13b.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-13b.html new file mode 100644 index 0000000000..7f1a698b5b --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-13b.html @@ -0,0 +1,7 @@ +<html><body>Collector Marsha:<br> +Player : <font color="LEVEL">Paper</font><br> +Collector Marsha: <font color="LEVEL">Rock</font><br> +Well, you certainly got lucky that time! Take all the orbs we put up as a bet. Come on! Let's play another round!<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-05.html">Play the rock paper scissors game.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-03a.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-13c.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-13c.html new file mode 100644 index 0000000000..251c4ca6e7 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30934-13c.html @@ -0,0 +1,7 @@ +<html><body>Collector Marsha:<br> +Player: <font color="LEVEL">Paper</font><br> +Collector Marsha:<font color="LEVEL">Paper</font><br> +Ah ha! A tie! Take back the orbs that you bet. Well, shall we play again?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-05.html">Play the game.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30934-03a.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-01.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-01.html similarity index 50% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-01.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-01.html index 36e3f9cec5..48bb1856f5 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-01.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-01.html @@ -2,6 +2,7 @@ Ah, it seems we have common interests... You also seek Nebulite Orbs for Magic Trader Cema?<br> I can't continue right now, I must return to the village and rest my back...<br> Would you care to play a game of chance to try and win the Nebulite Orbs I've collected so far? It's a simple coin-toss game.<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-04.htm">"Tell me the rules of the game."</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-02.htm">Play the game.</a><br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-05.htm">Quit</a></body></html> \ No newline at end of file +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-01b.html">"Tell me the rules of the game."</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-03.html">Play the game.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-01a.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-05.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-01a.html similarity index 86% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-05.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-01a.html index d3e24beac1..283a7d8e1f 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-05.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-01a.html @@ -1,3 +1,4 @@ <html><body>Collector Trumpin:<br> Oh well, it's your loss. What am I going to do with all these Nebulite Orbs?<br> -If you change your mind, come back to see me. I'll be here resting my back.</body></html> \ No newline at end of file +If you change your mind, come back to see me. I'll be here resting my back. +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-04.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-01b.html similarity index 84% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-04.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-01b.html index 2451e61768..0454893a6e 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-04.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-01b.html @@ -3,4 +3,5 @@ The rules are simple:<br> I will toss a coin in the air and you guess and call out which side you think it will land on, heads or tails.<br> Let's try it. If you win the first round, you can either receive 10 Nebulite Orbs or play a second round. If you win in the second round, you can either receive 30 Nebulite Orbs or play a third round. As you keep winning rounds, the stakes will become progressively larger.<br> Oh, there's one last thing I need to explain... If you lose you must give me 10 Nebulite Orbs. It's only fair, don't you think?<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-01.htm">Return</a></body></html> \ No newline at end of file +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-01.html">Return</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-02a.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-03.html similarity index 61% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-02a.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-03.html index 69ba9508d6..9eab3f20fb 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-02a.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-03.html @@ -1,3 +1,4 @@ <html><body>Collector Trumpin:<br> You must have at least 10 Nebulite Orbs to play the coin-toss game, on the off chance that you could lose.<br> -Go and find some more nebulite and come back to see me! I'll be waiting~!</body></html> \ No newline at end of file +Go and find some more Nebulite and come back to see me! I'll be waiting~! +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-04.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-04.html new file mode 100644 index 0000000000..0f79b3d2ef --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-04.html @@ -0,0 +1,6 @@ +<html><body>Collector Trumpin:<br> +Here we go!<br> +Call it! Heads or tails?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-05.html">"Heads!"</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-07.html">"Tails!"</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05.html new file mode 100644 index 0000000000..5420b8a269 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05.html @@ -0,0 +1,6 @@ +<html><body>Collector Trumpin:<br> +What's that? Heads?<br> +You're right! <font color="LEVEL">You win! </font> Do you want to take ten Nebulite Orbs or would you like to try for 30?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-09.html">Take 10 Nebulite Orbs.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-03.html">Play the next round.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05a.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05a.html new file mode 100644 index 0000000000..e96eb23aae --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05a.html @@ -0,0 +1,8 @@ +<html><body>Collector Trumpin:<br> +What's that? Heads? Let's see~<br> +Hu wah! Right again!<br> +<font color="LEVEL">You won twice in a row!</font><br> +Do you want to stop playing the game and collect 30 Nebulite Orbs or would you like to play the next round? If you win again you will receive 70 Nebulite Orbs.<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-09.html">Take 30 Nebulite Orbs.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-03.html">Play the next round.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05b.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05b.html new file mode 100644 index 0000000000..808a14fda6 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05b.html @@ -0,0 +1,8 @@ +<html><body>Collector Trumpin:<br> +What's that? Heads? Let's see~<br> +Hu wah! Right again!<br> +<font color="LEVEL">You won three times in a row!</font><br> +Do you want to stop playing the game and receive your 70 Nebulite Orbs or would you like to play the next round? If you win again you will receive 150 Nebulite Orbs.<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-09.html">Take 70 Nebulite Orbs.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-03.html">Play the next round.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05c.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05c.html new file mode 100644 index 0000000000..4d00948922 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05c.html @@ -0,0 +1,8 @@ +<html><body>Collector Trumpin:<br> +What's that? Heads? Let's see~<br> +Ho ho! Right again!<br> +<font color="LEVEL">You won four times in a row!</font><br> +Do you want to stop playing the game and receive your 150 Nebulite Orbs or would you like to play the next round? If you win again you will receive 310 Nebulite Orbs.<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-09.html">Take 150 Nebulite Orbs.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-03.html">Play the next round.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06c.htm b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05d.html similarity index 59% rename from dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06c.htm rename to dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05d.html index 5f61751c92..649ff38ea1 100644 --- a/dist/game/data/scripts/quests/343_UnderTheShadowOfTheIvoryTower/30935-06c.htm +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-05d.html @@ -1,6 +1,7 @@ <html><body>Collector Trumpin:<br> -What's that? %toss%? Let's see~<br> +What's that? Heads? Let's see~<br> Hu wah! Right again!<br> <font color="LEVEL">You won five times in a row!</font><br> That's amazing! Well, as promised, here are your 310 Nebulite Orbs. Congratulations!<br> -<a action="bypass -h Quest 343_UnderTheShadowOfTheIvoryTower 30935-06.htm">Return</a></body></html> \ No newline at end of file +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-10.html">Return</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-06.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-06.html new file mode 100644 index 0000000000..e7ea8e9411 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-06.html @@ -0,0 +1,4 @@ +<html><body>Collector Trumpin:<br> +Oops, sorry, you're wrong! It was tails! <font color="LEVEL">You lose!</font> I'll take those 10 Nebulite Orbs. Better luck next time!<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-10.html">Return</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-07.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-07.html new file mode 100644 index 0000000000..5b9a2a2041 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-07.html @@ -0,0 +1,4 @@ +<html><body>Collector Trumpin:<br> +Oops, sorry, you're wrong! It was heads! <font color="LEVEL">You lose!</font> I'll take those 10 Nebulite Orbs. Better luck next time!<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-10.html">Return</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08.html new file mode 100644 index 0000000000..c9546444e9 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08.html @@ -0,0 +1,6 @@ +<html><body>Collector Trumpin:<br> +What's that? Tails?<br> +You're right! <font color="LEVEL">You win! </font> Do you want to take 10 Nebulite Orbs or would you like to try for 30?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-09.html">Take 10 Nebulite Orbs.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-03.html">Play the next round.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08a.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08a.html new file mode 100644 index 0000000000..3c7cc2231d --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08a.html @@ -0,0 +1,8 @@ +<html><body>Collector Trumpin:<br> +What's that? Tails? Let's see~<br> +Hu wah! Right again!<br> +<font color="LEVEL">You won twice in a row!</font><br> +Do you want to stop playing the game and collect 30 Nebulite Orbs or would you like to play the next round? If you win again you will receive 70 Nebulite Orbs.<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-09.html">Take 30 Nebulite Orbs.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-03.html">Play the next round.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08b.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08b.html new file mode 100644 index 0000000000..7bdbea6a9e --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08b.html @@ -0,0 +1,8 @@ +<html><body>Collector Trumpin:<br> +What's that? Tails? Let's see~<br> +Hu wah! Right again!<br> +<font color="LEVEL">You won three times in a row!</font><br> +Do you want to stop playing the game and receive your 70 Nebulite Orbs or would you like to play the next round? If you win again you will receive 150 Nebulite Orbs.<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-09.html">Take 70 Nebulite Orbs.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-03.html">Play the next round.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08c.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08c.html new file mode 100644 index 0000000000..86489bf455 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08c.html @@ -0,0 +1,8 @@ +<html><body>Collector Trumpin:<br> +What's that? Tails? Let's see~<br> +Ho ho! Right again!<br> +<font color="LEVEL">You won four times in a row!</font><br> +Do you want to stop playing the game and receive your 150 Nebulite Orbs or would you like to play the next round? If you win again you will receive 310 Nebulite Orbs.<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-09.html">Take 150 Nebulite Orbs.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-03.html">Play the next round.</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08d.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08d.html new file mode 100644 index 0000000000..2189338e67 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-08d.html @@ -0,0 +1,7 @@ +<html><body>Collector Trumpin:<br> +What's that? Tails? Let's see~<br> +Hu wah! Right again!<br> +<font color="LEVEL">You won five times in a row!</font><br> +That's amazing! Well, as promised, here are your 310 Nebulite Orbs. Congratulations!<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-10.html">Return</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09.html new file mode 100644 index 0000000000..19ba48b04a --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09.html @@ -0,0 +1,4 @@ +<html><body>Collector Trumpin:<br> +Here are your 10 Nebulite Orbs!<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-10.html">Return</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09a.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09a.html new file mode 100644 index 0000000000..48d6fe5acc --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09a.html @@ -0,0 +1,4 @@ +<html><body>Collector Trumpin:<br> +Here are your 30 Nebulite Orbs!<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-10.html">Return</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09b.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09b.html new file mode 100644 index 0000000000..d87b9b8558 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09b.html @@ -0,0 +1,4 @@ +<html><body>Collector Trumpin:<br> +Here are your 70 Nebulite Orbs!<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-10.html">Return</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09c.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09c.html new file mode 100644 index 0000000000..e5bfd822c0 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-09c.html @@ -0,0 +1,4 @@ +<html><body>Collector Trumpin:<br> +Here are your 150 Nebulite Orbs!<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-10.html">Return</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-10.html b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-10.html new file mode 100644 index 0000000000..415957f553 --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/30935-10.html @@ -0,0 +1,5 @@ +<html><body>Collector Trumpin:<br> +Wasn't that fun? Would you like to play again?<br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-03.html">Play the coin-toss game.</a><br> +<a action="bypass -h Quest Q00343_UnderTheShadowOfTheIvoryTower 30935-01a.html">Quit</a> +</body></html> \ No newline at end of file diff --git a/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/Q00343_UnderTheShadowOfTheIvoryTower.java b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/Q00343_UnderTheShadowOfTheIvoryTower.java new file mode 100644 index 0000000000..594b0802ce --- /dev/null +++ b/dist/game/data/scripts/quests/Q00343_UnderTheShadowOfTheIvoryTower/Q00343_UnderTheShadowOfTheIvoryTower.java @@ -0,0 +1,643 @@ +/* + * Copyright (C) 2004-2015 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.Q00343_UnderTheShadowOfTheIvoryTower; + +import com.l2jserver.gameserver.enums.CategoryType; +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; + +/** + * Under The Shadow Of The Ivory Tower (343) + * @author ivantotov + */ +public final class Q00343_UnderTheShadowOfTheIvoryTower extends Quest +{ + // NPCs + private static final int MAGIC_TRADER_CEMA = 30834; + private static final int LICH_KING_ICARUS = 30835; + private static final int COLLECTOR_MARSHA = 30934; + private static final int COLLECTOR_TRUMPIN = 30935; + // Item + private static final int NEBULITE_ORB = 4364; + // Rewards + private static final int TOWER_SHIELD = 103; + private static final int NICKLACE_OF_MAGIC = 118; + private static final int SAGES_BLOOD = 316; + private static final int SQUARE_SHIELD = 630; + private static final int SCROLL_OF_ESCAPE = 736; + private static final int RING_OF_AGES = 885; + private static final int NICKLACE_OF_MERMAID = 917; + private static final int SCROLL_ENCHANT_WEAPON_C_GRADE = 951; + private static final int SCROLL_ENCHANT_WEAPON_D_GRADE = 955; + private static final int SPIRITSHOT_D_GRADE = 2510; + private static final int SPIRITSHOT_C_GRADE = 2511; + private static final int ECTOPLASM_LIQUEUR = 4365; + // Monster + private static final int MANASHEN_GARGOYLE = 20563; + private static final int ENCHANTED_MONSTEREYE = 20564; + private static final int ENCHANTED_STONE_GOLEM = 20565; + private static final int ENCHANTED_IRON_GOLEM = 20566; + // Misc + private static final int MIN_LEVEL = 40; + + public Q00343_UnderTheShadowOfTheIvoryTower() + { + super(343, Q00343_UnderTheShadowOfTheIvoryTower.class.getSimpleName(), "Under The Shadow Of The Ivory Tower"); + addStartNpc(MAGIC_TRADER_CEMA); + addTalkId(MAGIC_TRADER_CEMA, LICH_KING_ICARUS, COLLECTOR_MARSHA, COLLECTOR_TRUMPIN); + addKillId(MANASHEN_GARGOYLE, ENCHANTED_MONSTEREYE, ENCHANTED_STONE_GOLEM, ENCHANTED_IRON_GOLEM); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "30834-05.htm": + { + if (qs.isCreated()) + { + qs.setMemoState(1); + qs.setMemoStateEx(1, 0); + qs.startQuest(); + htmltext = event; + } + break; + } + case "30834-04.htm": + { + if (player.isInCategory(CategoryType.WIZARD_GROUP) && (player.getLevel() >= MIN_LEVEL)) + { + htmltext = event; + } + break; + } + case "30834-08.html": + { + if (hasQuestItems(player, NEBULITE_ORB)) + { + giveAdena(player, (getQuestItemsCount(player, NEBULITE_ORB) * 120), true); + takeItems(player, NEBULITE_ORB, -1); + htmltext = event; + } + else + { + htmltext = "30834-08a.html"; + } + break; + } + case "30834-11.html": + { + qs.exitQuest(true, true); + htmltext = event; + break; + } + case "30835-02.html": + { + if (!hasQuestItems(player, ECTOPLASM_LIQUEUR)) + { + htmltext = event; + } + else + { + final int chance = getRandom(1000); + + if (chance <= 119) + { + giveItems(player, SCROLL_ENCHANT_WEAPON_D_GRADE, 1); + } + else if (chance <= 169) + { + giveItems(player, SCROLL_ENCHANT_WEAPON_C_GRADE, 1); + } + else if (chance <= 329) + { + giveItems(player, SPIRITSHOT_C_GRADE, getRandom(200) + 401); + } + else if (chance <= 559) + { + giveItems(player, SPIRITSHOT_D_GRADE, getRandom(200) + 401); + } + else if (chance <= 561) + { + giveItems(player, SAGES_BLOOD, 1); + } + else if (chance <= 578) + { + giveItems(player, SQUARE_SHIELD, 1); + } + else if (chance <= 579) + { + giveItems(player, NICKLACE_OF_MAGIC, 1); + } + else if (chance <= 581) + { + giveItems(player, RING_OF_AGES, 1); + } + else if (chance <= 582) + { + giveItems(player, TOWER_SHIELD, 1); + } + else if (chance <= 584) + { + giveItems(player, NICKLACE_OF_MERMAID, 1); + } + else + { + giveItems(player, SCROLL_OF_ESCAPE, 1); + } + + takeItems(player, ECTOPLASM_LIQUEUR, 1); + htmltext = "30835-03.html"; + } + break; + } + case "30934-05.html": + { + if (qs.isMemoState(1)) + { + if (qs.getMemoStateEx(1) >= 25) + { + htmltext = event; + } + else if ((qs.getMemoStateEx(1) >= 1) && (qs.getMemoStateEx(1) < 25) && (getQuestItemsCount(player, NEBULITE_ORB) < 10)) + { + htmltext = "30934-06.html"; + } + else if ((qs.getMemoStateEx(1) >= 1) && (qs.getMemoStateEx(1) < 25) && (getQuestItemsCount(player, NEBULITE_ORB) > 10)) + { + qs.setMemoState(2); + takeItems(player, NEBULITE_ORB, 10); + htmltext = "30934-07.html"; + } + } + break; + } + case "30934-08a.html": + { + if (qs.isMemoState(2)) + { + final int i0 = getRandom(100); + final int i1 = getRandom(3); + + if ((i0 < 20) && (i1 == 0)) + { + qs.setMemoStateEx(1, qs.getMemoStateEx(1) + 4); + qs.set("param1", 0); + htmltext = event; + } + else if ((i0 < 20) && (i1 == 1)) + { + qs.set("param1", 1); + htmltext = "30934-08b.html"; + } + else if ((i0 < 20) && (i1 == 2)) + { + qs.set("param1", 2); + htmltext = "30934-08c.html"; + } + else if ((i0 >= 20) && (i0 < 50) && (i1 == 0)) + { + if (getRandom(2) == 0) + { + qs.set("param1", 0); + } + else + { + qs.set("param1", 1); + } + htmltext = "30934-09a.html"; + } + else if ((i0 >= 20) && (i0 < 50) && (i1 == 1)) + { + if (getRandom(2) == 0) + { + qs.set("param1", 1); + } + else + { + qs.set("param1", 2); + } + htmltext = "30934-09b.html"; + } + else if ((i0 >= 20) && (i0 < 50) && (i1 == 2)) + { + if (getRandom(2) == 0) + { + qs.set("param1", 2); + } + else + { + qs.set("param1", 0); + } + htmltext = "30934-09c.html"; + } + else + { + qs.set("param1", getRandom(3)); + htmltext = "30934-10.html"; + } + } + break; + } + case "30934-11a.html": + { + if (qs.isMemoState(2)) + { + if (qs.getInt("param1") == 0) + { + giveItems(player, NEBULITE_ORB, 10); + qs.set("param1", 4); + htmltext = event; + } + else if (qs.getInt("param1") == 1) + { + htmltext = "30934-11b.html"; + } + else if (qs.getInt("param1") == 2) + { + giveItems(player, NEBULITE_ORB, 20); + qs.set("param1", 4); + htmltext = "30934-11c.html"; + } + qs.setMemoState(1); + } + break; + } + case "30934-12a.html": + { + if (qs.isMemoState(2)) + { + if (qs.getInt("param1") == 0) + { + giveItems(player, NEBULITE_ORB, 20); + qs.set("param1", 4); + htmltext = event; + } + else if (qs.getInt("param1") == 1) + { + giveItems(player, NEBULITE_ORB, 10); + qs.set("param1", 4); + htmltext = "30934-12b.html"; + } + else if (qs.getInt("param1") == 2) + { + htmltext = "30934-12c.html"; + } + qs.setMemoState(1); + } + break; + } + case "30934-13a.html": + { + if (qs.isMemoState(2)) + { + if (qs.getInt("param1") == 0) + { + htmltext = event; + } + else if (qs.getInt("param1") == 1) + { + giveItems(player, NEBULITE_ORB, 20); + qs.set("param1", 4); + htmltext = "30934-13b.html"; + } + else if (qs.getInt("param1") == 2) + { + giveItems(player, NEBULITE_ORB, 10); + qs.set("param1", 4); + htmltext = "30934-13c.html"; + } + qs.setMemoState(1); + } + break; + } + case "30935-03.html": + { + if (getQuestItemsCount(player, NEBULITE_ORB) < 10) + { + htmltext = event; + } + else + { + qs.set("param2", getRandom(2)); + htmltext = "30935-04.html"; + } + break; + } + case "30935-05.html": + { + if ((qs.getInt("param1") == 0) && (qs.getInt("param2") == 0) && (qs.getQuestItemsCount(NEBULITE_ORB) >= 10)) + { + qs.set("param1", 1); + qs.set("param2", 2); + htmltext = event; + } + else if ((qs.getInt("param1") == 1) && (qs.getInt("param2") == 0) && (qs.getQuestItemsCount(NEBULITE_ORB) >= 10)) + { + qs.set("param1", 2); + qs.set("param2", 2); + htmltext = "30935-05a.html"; + } + else if ((qs.getInt("param1") == 2) && (qs.getInt("param2") == 0) && (qs.getQuestItemsCount(NEBULITE_ORB) >= 10)) + { + qs.set("param1", 3); + qs.set("param2", 2); + htmltext = "30935-05b.html"; + } + else if ((qs.getInt("param1") == 3) && (qs.getInt("param2") == 0) && (qs.getQuestItemsCount(NEBULITE_ORB) >= 10)) + { + qs.set("param1", 4); + qs.set("param2", 2); + htmltext = "30935-05c.html"; + } + else if ((qs.getInt("param1") == 4) && (qs.getInt("param2") == 0) && (qs.getQuestItemsCount(NEBULITE_ORB) >= 10)) + { + qs.set("param1", 0); + qs.set("param2", 2); + giveItems(player, NEBULITE_ORB, 310); + htmltext = "30935-05d.html"; + } + else if ((qs.getInt("param2") == 1) && (qs.getQuestItemsCount(NEBULITE_ORB) >= 10)) + { + takeItems(player, NEBULITE_ORB, 10); + qs.set("param1", 0); + qs.set("param2", 2); + htmltext = "30935-06.html"; + } + else if (qs.getQuestItemsCount(NEBULITE_ORB) < 10) + { + htmltext = "30935-03.html"; + } + break; + } + case "30935-07.html": + { + if ((qs.getInt("param2") == 0) && (qs.getQuestItemsCount(NEBULITE_ORB) >= 10)) + { + takeItems(player, NEBULITE_ORB, 10); + qs.set("param1", 0); + qs.set("param2", 2); + htmltext = event; + } + else if ((qs.getInt("param1") == 0) && (qs.getInt("param2") == 1) && (qs.getQuestItemsCount(NEBULITE_ORB) >= 10)) + { + qs.set("param1", 1); + qs.set("param2", 2); + htmltext = "30935-08.html"; + } + else if ((qs.getInt("param1") == 1) && (qs.getInt("param2") == 1) && (qs.getQuestItemsCount(NEBULITE_ORB) >= 10)) + { + qs.set("param1", 2); + qs.set("param2", 2); + htmltext = "30935-08a.html"; + } + else if ((qs.getInt("param1") == 2) && (qs.getInt("param2") == 1) && (qs.getQuestItemsCount(NEBULITE_ORB) >= 10)) + { + qs.set("param1", 3); + qs.set("param2", 2); + htmltext = "30935-08b.html"; + } + else if ((qs.getInt("param1") == 3) && (qs.getInt("param2") == 1) && (qs.getQuestItemsCount(NEBULITE_ORB) >= 10)) + { + qs.set("param1", 4); + qs.set("param2", 2); + htmltext = "30935-08c.html"; + } + else if ((qs.getInt("param1") == 4) && (qs.getInt("param2") == 1) && (qs.getQuestItemsCount(NEBULITE_ORB) >= 10)) + { + qs.set("param1", 0); + qs.set("param2", 2); + giveItems(player, NEBULITE_ORB, 310); + htmltext = "30935-08d.html"; + } + else if (qs.getQuestItemsCount(NEBULITE_ORB) < 10) + { + htmltext = "30935-03.html"; + } + break; + } + case "30935-09.html": + { + if (qs.getInt("param1") == 1) + { + qs.set("param1", 0); + qs.set("param2", 2); + giveItems(player, NEBULITE_ORB, 10); + htmltext = event; + } + else if (qs.getInt("param1") == 2) + { + qs.set("param1", 0); + qs.set("param2", 2); + giveItems(player, NEBULITE_ORB, 30); + htmltext = "30935-09a.html"; + } + else if (qs.getInt("param1") == 3) + { + qs.set("param1", 0); + qs.set("param2", 2); + giveItems(player, NEBULITE_ORB, 70); + htmltext = "30935-09b.html"; + } + else if (qs.getInt("param1") == 4) + { + qs.set("param1", 0); + qs.set("param2", 2); + giveItems(player, NEBULITE_ORB, 150); + htmltext = "30935-09c.html"; + } + break; + } + case "30935-10.html": + { + qs.set("param1", 0); + qs.set("param2", 2); + htmltext = event; + break; + } + case "30834-04a.html": + case "30834-06a.html": + case "30834-09a.html": + case "30834-09b.html": + case "30834-11a.html": + case "30834-09.html": + case "30834-10.html": + case "30835-04.html": + case "30835-05.html": + case "30934-03a.html": + case "30935-01.html": + case "30935-01a.html": + case "30935-01b.html": + { + htmltext = event; + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isStarted() && Util.checkIfInRange(1500, npc, killer, true)) + { + switch (npc.getId()) + { + case MANASHEN_GARGOYLE: + case ENCHANTED_MONSTEREYE: + { + if (getRandom(100) < 63) + { + giveItems(killer, NEBULITE_ORB, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + + if (qs.getMemoStateEx(1) > 1) + { + if (getRandom(100) <= 12) + { + qs.setMemoStateEx(1, qs.getMemoStateEx(1) - 1); + } + } + break; + } + case ENCHANTED_STONE_GOLEM: + { + if (getRandom(100) < 65) + { + giveItems(killer, NEBULITE_ORB, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + + if (qs.getMemoStateEx(1) > 1) + { + if (getRandom(100) <= 12) + { + qs.setMemoStateEx(1, qs.getMemoStateEx(1) - 1); + } + } + break; + } + case ENCHANTED_IRON_GOLEM: + { + if (getRandom(100) < 68) + { + giveItems(killer, NEBULITE_ORB, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + + if (qs.getMemoStateEx(1) > 1) + { + if (getRandom(100) <= 13) + { + qs.setMemoStateEx(1, qs.getMemoStateEx(1) - 1); + } + } + break; + } + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + if (qs.isCreated()) + { + if (npc.getId() == MAGIC_TRADER_CEMA) + { + if (player.isInCategory(CategoryType.WIZARD_GROUP)) + { + if (player.getLevel() >= MIN_LEVEL) + { + htmltext = "30834-03.htm"; + } + else + { + htmltext = "30834-02.htm"; + } + } + else + { + htmltext = "30834-01.htm"; + } + } + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case MAGIC_TRADER_CEMA: + { + if (!hasQuestItems(player, NEBULITE_ORB)) + { + htmltext = "30834-06.html"; + } + else + { + htmltext = "30834-07.html"; + } + break; + } + case LICH_KING_ICARUS: + { + htmltext = "30835-01.html"; + break; + } + case COLLECTOR_MARSHA: + { + if (qs.getMemoStateEx(1) == 0) + { + qs.setMemoStateEx(1, 1); + htmltext = "30934-03.html"; + } + else + { + qs.setMemoState(1); + htmltext = "30934-04.html"; + } + break; + } + case COLLECTOR_TRUMPIN: + { + qs.set("param1", 0); + htmltext = "30935-01.html"; + break; + } + } + } + return htmltext; + } +} diff --git a/dist/game/data/scripts/quests/QuestMasterHandler.java b/dist/game/data/scripts/quests/QuestMasterHandler.java index d925b16b31..efb5d8ed56 100644 --- a/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -309,6 +309,7 @@ import quests.Q00337_AudienceWithTheLandDragon.Q00337_AudienceWithTheLandDragon; import quests.Q00338_AlligatorHunter.Q00338_AlligatorHunter; import quests.Q00340_SubjugationOfLizardmen.Q00340_SubjugationOfLizardmen; import quests.Q00341_HuntingForWildBeasts.Q00341_HuntingForWildBeasts; +import quests.Q00343_UnderTheShadowOfTheIvoryTower.Q00343_UnderTheShadowOfTheIvoryTower; import quests.Q00344_1000YearsTheEndOfLamentation.Q00344_1000YearsTheEndOfLamentation; import quests.Q00345_MethodToRaiseTheDead.Q00345_MethodToRaiseTheDead; import quests.Q00347_GoGetTheCalculator.Q00347_GoGetTheCalculator; @@ -793,6 +794,7 @@ public class QuestMasterHandler Q00338_AlligatorHunter.class, Q00340_SubjugationOfLizardmen.class, Q00341_HuntingForWildBeasts.class, + Q00343_UnderTheShadowOfTheIvoryTower.class, Q00344_1000YearsTheEndOfLamentation.class, Q00345_MethodToRaiseTheDead.class, Q00347_GoGetTheCalculator.class, diff --git a/dist/sql/game/updates/20151121update.sql b/dist/sql/game/updates/20151121update.sql index af4e617da6..b1222c49ef 100644 --- a/dist/sql/game/updates/20151121update.sql +++ b/dist/sql/game/updates/20151121update.sql @@ -1 +1,2 @@ -UPDATE character_quests SET name='Q00336_CoinsOfMagic' WHERE name='336_CoinOfMagic'; \ No newline at end of file +UPDATE character_quests SET name='Q00336_CoinsOfMagic' WHERE name='336_CoinOfMagic'; +UPDATE character_quests SET name='Q00343_UnderTheShadowOfTheIvoryTower' WHERE name='343_UnderTheShadowOfTheIvoryTower'; \ No newline at end of file -- GitLab