summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorWolf <vitinho.senos@live.com>2013-08-29 17:25:09 -0300
committerWolf <vitinho.senos@live.com>2013-08-29 17:25:09 -0300
commitc529793b3e9f4690ca3cda6f1865ace73a175b26 (patch)
tree1ec184376be454891e3801c3a655e34f625dee53 /npc
parent62563a47770f3a091e0cb661581389bf16324823 (diff)
downloadhercules-c529793b3e9f4690ca3cda6f1865ace73a175b26.tar.gz
hercules-c529793b3e9f4690ca3cda6f1865ace73a175b26.tar.bz2
hercules-c529793b3e9f4690ca3cda6f1865ace73a175b26.tar.xz
hercules-c529793b3e9f4690ca3cda6f1865ace73a175b26.zip
Quest's added.
http://hercules.ws/board/tracker/issue-7214-moroccpayon-solution-npcs-missing/?gopid=20262#entry20262
Diffstat (limited to 'npc')
-rw-r--r--npc/quests/mage_solution.txt42
-rw-r--r--npc/scripts.conf2
2 files changed, 44 insertions, 0 deletions
diff --git a/npc/quests/mage_solution.txt b/npc/quests/mage_solution.txt
new file mode 100644
index 000000000..b29fd4416
--- /dev/null
+++ b/npc/quests/mage_solution.txt
@@ -0,0 +1,42 @@
+moc_ruins,91,150,0 script Ponka-Hontas 93,{
+ mes "[Mage Guildsman]";
+ mes "Would you like a Solution? Then please give me 50 Zeny and at least 1 Empty Testtube.";
+ next;
+ if (select("Alright, Deal.:Nah, forget it.") == 1) {
+ mes "[Mage Guildsman]";
+ if (zeny < 50) {
+ mes "I'm sorry, but you don't have enough money to cover the 50 Zeny fee.";
+ close;
+ }
+ if (countitem(1092) == 0) {
+ mes "You can't carry liquids without using a bottle. Bring an Empty Test Tube the next time you see me.";
+ close;
+ }
+ delitem 1092,1; //Empty_Cylinder
+ set zeny,zeny-50;
+ getitem 1088,1; //Morocc_Potion
+ }
+ close;
+}
+
+
+pay_arche,122,100,0 script Dollshoi 88,{
+ mes "[Mage Guildsman]";
+ mes "You want a Solution? Hmm, give me 50 Zeny and at least 1 Empty Test Tube.";
+ next;
+ if (select("Alright, Deal.:Nah, forget it.") == 1) {
+ mes "[Mage Guildsman]";
+ if (Zeny < 50) {
+ mes "Hey! You don't have enough money to cover my 50 Zeny charge.";
+ close;
+ }
+ if (countitem(1092) == 0) {
+ mes "You can't carry solutions without a bottle! Bring me an Empty Test Tube.";
+ close;
+ }
+ delitem 1092,1; //Empty_Cylinder
+ set zeny,zeny-50;
+ getitem 1089,1; //Payon_Potion
+ }
+ close;
+} \ No newline at end of file
diff --git a/npc/scripts.conf b/npc/scripts.conf
index 4a0525a11..bbe299538 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -200,6 +200,8 @@ npc: npc/other/sealstatus.txt
npc: npc/other/turbo_track.txt
// --------------------------- Quests ---------------------------
+// - Payon & Morocc Quest Potion --------------------------------
+npc: npc/quests/mage_solution.txt
// - Quests-Tutorials for basic classes (1st class quests) ------
npc: npc/quests/first_class/tu_acolyte.txt
npc: npc/quests/first_class/tu_archer.txt