diff --git a/trunk/dist/game/data/html/default/32020-1.htm b/trunk/dist/game/data/html/default/32020-1.htm new file mode 100644 index 0000000000..79bcada8a9 --- /dev/null +++ b/trunk/dist/game/data/html/default/32020-1.htm @@ -0,0 +1,7 @@ +Rafforty:
+You can combine each soul wich the accessories of Freya, Queen Ant, Orfen, Antharas, and Valakas to create an item of even greater power! But--there's always a but--if you want me to combine these, the item that you possess will disappear, poff! and you'll receive a new item in return. +And if it's already enchanted, the existing enchant value will also disappear
+if you still want to proceed. I'm happy to bestow the souls and give you a more powerful item in exchange.
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32020-2.htm b/trunk/dist/game/data/html/default/32020-2.htm new file mode 100644 index 0000000000..47d6035575 --- /dev/null +++ b/trunk/dist/game/data/html/default/32020-2.htm @@ -0,0 +1,3 @@ +Rafforty:
+Wow. lack of trust, huh? Good luck finding someone else who can make a Blessed Freya Necklace + \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32020.htm b/trunk/dist/game/data/html/default/32020.htm new file mode 100644 index 0000000000..521c2bce38 --- /dev/null +++ b/trunk/dist/game/data/html/default/32020.htm @@ -0,0 +1,5 @@ +Rafforty:
+It's so pleasant here. Such nice warm atmosphere, unlike that brutal stuff they call climate outside! This is a fine place to take a load off and rest a while. Let me know id you need anything
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data/multisell/991004.xml b/trunk/dist/game/data/multisell/991004.xml new file mode 100644 index 0000000000..c154f25296 --- /dev/null +++ b/trunk/dist/game/data/multisell/991004.xml @@ -0,0 +1,120 @@ + + + + 32020 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts.cfg b/trunk/dist/game/data/scripts.cfg index 0dcec6b0d6..655e1b2c7e 100644 --- a/trunk/dist/game/data/scripts.cfg +++ b/trunk/dist/game/data/scripts.cfg @@ -56,7 +56,6 @@ ai/npc/NpcBuffers/NpcBuffers.java ai/npc/Pantheon/Pantheon.java ai/npc/Proclaimer/Proclaimer.java ai/npc/Rignos/Rignos.java -ai/npc/Rafforty/Rafforty.java ai/npc/Raina/Raina.java ai/npc/RemembranceTower/RemembranceTower.java ai/npc/Scarecrow/Scarecrow.java diff --git a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-01.html b/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-01.html deleted file mode 100644 index a8b7cc6c8f..0000000000 --- a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-01.html +++ /dev/null @@ -1,5 +0,0 @@ -Rafforty:
-Is this a Freya Necklace? Hmm... it's okay I guess. It isn't as interesting as a Blessed Freya Necklace. You could be lucky enough to get one, or if you happen to aquire Freya's Soul in a bottle you can create a Blessed Freya Necklace. However the process is, well... different. Tell you what, if you bring me these items I can make one for you.
- - - \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-02.html b/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-02.html deleted file mode 100644 index 525f649dd1..0000000000 --- a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-02.html +++ /dev/null @@ -1,4 +0,0 @@ -Rafforty:
-I wish I could tell you more about whatever it is you have to show me. But it doesn't look like you have anything to show.
-(Requires a Freya Necklace.) - \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-03.html b/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-03.html deleted file mode 100644 index f3de6efc0d..0000000000 --- a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-03.html +++ /dev/null @@ -1,3 +0,0 @@ -Rafforty:
-I don't know the details, but if I had to hazard a guess, it would be something you would get after defeating Freya. You could always ask around to see what other people have to say. - \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-04.html b/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-04.html deleted file mode 100644 index a833ba9fbc..0000000000 --- a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-04.html +++ /dev/null @@ -1,5 +0,0 @@ -Rafforty:
-Yes, I sensed that you had Freya's Soul contained in a Bottle before you even answered! Nah, I saw it when you were showing me your Freya Necklace. You must have made her very angry. If you are ready, I can begin the process of making a Blessed Freya Necklace.
- - - \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-05.html b/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-05.html deleted file mode 100644 index a99187cb42..0000000000 --- a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-05.html +++ /dev/null @@ -1,3 +0,0 @@ -Rafforty:
-Sorry there, stranger, but unless you can bring me a Bottle of Freya's Soul, I can't do anything with that Freya Necklace you are carrying. Speak to me when you actually have these items. - \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-06.html b/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-06.html deleted file mode 100644 index 440ed37691..0000000000 --- a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-06.html +++ /dev/null @@ -1,3 +0,0 @@ -Rafforty:
-Wow. Lack of trust, huh? Good luck finding someone else who can make a Blessed Freya Necklace. - \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-07.html b/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-07.html deleted file mode 100644 index 3a3002835c..0000000000 --- a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-07.html +++ /dev/null @@ -1,3 +0,0 @@ -Rafforty:
-Ah... a masterpiece if I do say so myself. Here is your Blessed Freya Necklace. Now you truly have something that is interesting. - \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-08.html b/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-08.html deleted file mode 100644 index 38da5342cc..0000000000 --- a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020-08.html +++ /dev/null @@ -1,3 +0,0 @@ -Rafforty:
-If you want me to help you will have to give me the item. I cannot do anything without it. - \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020.html b/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020.html deleted file mode 100644 index 06ff027e96..0000000000 --- a/trunk/dist/game/data/scripts/ai/npc/Rafforty/32020.html +++ /dev/null @@ -1,5 +0,0 @@ -Rafforty:
-Welcome to my little oasis. Although it may be cold and blustery out there, it's like an endless spring day in here. Needless to say, I don't really venture outside much any more. Although I like my privacy, I'm always willing to lend a helping hand to those in need. And if you don't mind me saying, you look like you're in need.
- - - \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/ai/npc/Rafforty/Rafforty.java b/trunk/dist/game/data/scripts/ai/npc/Rafforty/Rafforty.java deleted file mode 100644 index bb764aac80..0000000000 --- a/trunk/dist/game/data/scripts/ai/npc/Rafforty/Rafforty.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program 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. - * - * This program 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 . - */ -package ai.npc.Rafforty; - -import com.l2jmobius.gameserver.model.actor.L2Npc; -import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; - -import ai.npc.AbstractNpcAI; - -/** - * Rafforty AI. - * @author malyelfik, Gladicek - */ -final class Rafforty extends AbstractNpcAI -{ - // NPC - private static final int RAFFORTY = 32020; - // Items - private static final int NECKLACE = 16025; - private static final int BLESSED_NECKLACE = 16026; - private static final int BOTTLE = 16027; - - @Override - public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) - { - String htmltext = event; - switch (event) - { - case "32020-01.html": - { - if (!hasQuestItems(player, NECKLACE)) - { - htmltext = "32020-02.html"; - } - break; - } - case "32020-04.html": - { - if (!hasQuestItems(player, BOTTLE)) - { - htmltext = "32020-05.html"; - } - break; - } - case "32020-07.html": - { - if (!hasQuestItems(player, BOTTLE, NECKLACE)) - { - return "32020-08.html"; - } - takeItems(player, NECKLACE, 1); - takeItems(player, BOTTLE, 1); - giveItems(player, BLESSED_NECKLACE, 1); - break; - } - } - return htmltext; - } - - private Rafforty() - { - super(Rafforty.class.getSimpleName(), "ai/npc"); - addStartNpc(RAFFORTY); - addFirstTalkId(RAFFORTY); - addTalkId(RAFFORTY); - } - - public static void main(String[] args) - { - new Rafforty(); - } -} \ No newline at end of file