diff options
author | shennetsind <notind@gmail.com> | 2013-05-30 21:14:24 -0700 |
---|---|---|
committer | shennetsind <notind@gmail.com> | 2013-05-30 21:14:24 -0700 |
commit | 28972aa0ae33d45c8305a72342695cd6549d81eb (patch) | |
tree | c90eff3a4839e5ce52e97c5f48c5d69929c8c97f /npc/re/quests/skills/sage_skills.txt | |
parent | 7b2a2c25488395cb3ceef3cb0e5cc632d58c9793 (diff) | |
parent | f7fa80ee689635a01c3c137f7a0611b210cc8ae0 (diff) | |
download | hercules-28972aa0ae33d45c8305a72342695cd6549d81eb.tar.gz hercules-28972aa0ae33d45c8305a72342695cd6549d81eb.tar.bz2 hercules-28972aa0ae33d45c8305a72342695cd6549d81eb.tar.xz hercules-28972aa0ae33d45c8305a72342695cd6549d81eb.zip |
Merge pull request #30 from Zopokx/master
Fixed some scripts
Diffstat (limited to 'npc/re/quests/skills/sage_skills.txt')
-rw-r--r-- | npc/re/quests/skills/sage_skills.txt | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/npc/re/quests/skills/sage_skills.txt b/npc/re/quests/skills/sage_skills.txt new file mode 100644 index 000000000..64ebe20e3 --- /dev/null +++ b/npc/re/quests/skills/sage_skills.txt @@ -0,0 +1,53 @@ +//===== Hercules Script ====================================== +//= Sage Quest Skill's related NPCs +//===== By: ================================================== +//= Zopokx +//===== Current Version: ===================================== +//= 1.0 +//===== Description: ========================================= +//= Morocc/Payon Solution duplicate NPCs for Sage Quest Skill +//===== Additional Comments: ================================= +//= 1.0 First version +//============================================================ + +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; +} |