From 05d4994f778d252377bcabc7de9103d502fe64c7 Mon Sep 17 00:00:00 2001 From: Playtester Date: Mon, 14 Aug 2006 08:52:26 +0000 Subject: * Moved the Gunslinger quest NPCs to gunslinger_quests.txt - put erKURITA's version of the Garrison quest into another file since I already added a complete version, use it if you like it more - also gave the NPCs their official names git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8267 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/Changelog.txt | 4 ++ npc/cities/einbroch.txt | 102 --------------------------------------- npc/quests/Another_Garrison.txt | 80 ++++++++++++++++++++++++++++++ npc/quests/gunslinger_quests.txt | 22 +++++++++ 4 files changed, 106 insertions(+), 102 deletions(-) create mode 100644 npc/quests/Another_Garrison.txt diff --git a/npc/Changelog.txt b/npc/Changelog.txt index 3325c4cc8..1b68bf0f5 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -36,6 +36,10 @@ Playtester Date Added ====== 08/14 + * Moved the Gunslinger quest NPCs to gunslinger_quests.txt [Playtester] + - put erKURITA's version of the Garrison quest into another file since I already + added a complete version, use it if you like it more + - also gave the NPCs their official names * Changed DTS warper to use MISC_QUEST|128 instead of dtseligible,2. [Evera] - May be some bugs, it's 1am @_@, look through it before trunk merge. [Evera] * Added Garbage clearing for dtseligible,2 -> MISC_QUEST|128, and added that func call to DTS warper. [Evera] diff --git a/npc/cities/einbroch.txt b/npc/cities/einbroch.txt index 4602634f4..17c79aa83 100644 --- a/npc/cities/einbroch.txt +++ b/npc/cities/einbroch.txt @@ -837,105 +837,3 @@ OnTouch: end; } -que_ng.gat,182,85,2 script Garrison 109,{ - -if (garrisonq == 1) { - mes "[Garrison]"; - mes "Hey, you've comeback, let's see if you brought your items:"; - if (Zeny < 30000) { - mes "You're going to need at least 30,000z. Get some please"; - close; - } else if (countitem(999) < 50) { - mes "You need "+(50 - countitem(999))+" steels. Get more please"; - close; - } else if (countitem(985) < 3) { - mes "You need "+(3 - countitem(985))+" eluniums. Get more please"; - close; - } else if (countitem(1003) < 50) { - mes "You need "+(50 - countitem(1003))+" coals. Get more please"; - close; - } else if (countitem(7317) < 20) { - mes "You need "+(20 - countitem(7317))+" Rusty screws. Get more please"; - close; - } else - mes "Awesome! You've got them all!"; - next; - mes "[Garrison]"; - mes "Here's your ^800000Garrison^000000!"; - delitem 999,50; - delitem 985,3; - delitem 1003,50; - delitem 7317,20; - set Zeny,Zeny-30000; - getitem 13104,1; - set garrisonq,0; - next; - mes "[Garrison]"; - mes "Enjoy it and use it wise~~"; - close; -} -mes "[Garrison]"; -mes "Hiya there!~~ Have you ever heard about ''The Garrison''?"; -switch(select("The handgun?:Err, besides you, no")) { - case 1: - next; - mes "[Garrison]"; - mes "YES YES! That one!. The garrison is a nice overall handgun which combines gunpowder's power and accuracy."; - next; - mes "[Garrison]"; - mes "However, it's not publicly made nowadays, but I do know how to make one. It will cost you a few things though... Interested?"; - switch(select("Yes I am:Nah, guns are not my type")) { - case 1: - next; - mes "[Garrison]"; - mes "Ok, here's what you need:"; - mes "^80808050 Steels^000000"; - mes "^4747473 Eluniums^000000"; - mes "50 Coals"; - mes "^80000020 Rusted Screws^000000"; - mes "^FFAA0030,000 Zeny^000000"; - next; - mes "[Garrison]"; - mes "Still interested?"; - if (select("Yes I am:No thanks...") == 1) { - next; - mes "[Garrison]"; - mes "Good stuff. Come back with the items then"; - set garrisonq,1; - close; - } - case 2: - next; - mes "[Garrison]"; - mes "Come back anytime then!"; - close; - } - case 2: - next; - mes "[Garrison]"; - mes "Bad thing then..."; - close; - } -} - -//| Temporal NPC locations until the text inside it has been obtained - -//que_ng.gat,187,149,3 script TempNPC1 83,{ -//end; -//} - -//que_ng.gat,187,154,3 script TempNPC2 86,{ -//end; -//} - -//que_ng.gat,187,161,3 script TempNPC3 744,{ -//end; -//} - -//que_ng.gat,185,180,3 script TempNPC4 726,{ -//end; -//} - -//que_ng.gat,149,178,5 script TempNPC5 744,{ -//end; -//} \ No newline at end of file diff --git a/npc/quests/Another_Garrison.txt b/npc/quests/Another_Garrison.txt new file mode 100644 index 000000000..1cf1a3a18 --- /dev/null +++ b/npc/quests/Another_Garrison.txt @@ -0,0 +1,80 @@ +que_ng.gat,182,85,2 script Garrison 109,{ + +if (garrisonq == 1) { + mes "[Garrison]"; + mes "Hey, you've comeback, let's see if you brought your items:"; + if (Zeny < 30000) { + mes "You're going to need at least 30,000z. Get some please"; + close; + } else if (countitem(999) < 50) { + mes "You need "+(50 - countitem(999))+" steels. Get more please"; + close; + } else if (countitem(985) < 3) { + mes "You need "+(3 - countitem(985))+" eluniums. Get more please"; + close; + } else if (countitem(1003) < 50) { + mes "You need "+(50 - countitem(1003))+" coals. Get more please"; + close; + } else if (countitem(7317) < 20) { + mes "You need "+(20 - countitem(7317))+" Rusty screws. Get more please"; + close; + } else + mes "Awesome! You've got them all!"; + next; + mes "[Garrison]"; + mes "Here's your ^800000Garrison^000000!"; + delitem 999,50; + delitem 985,3; + delitem 1003,50; + delitem 7317,20; + set Zeny,Zeny-30000; + getitem 13104,1; + set garrisonq,0; + next; + mes "[Garrison]"; + mes "Enjoy it and use it wise~~"; + close; +} +mes "[Garrison]"; +mes "Hiya there!~~ Have you ever heard about ''The Garrison''?"; +switch(select("The handgun?:Err, besides you, no")) { + case 1: + next; + mes "[Garrison]"; + mes "YES YES! That one!. The garrison is a nice overall handgun which combines gunpowder's power and accuracy."; + next; + mes "[Garrison]"; + mes "However, it's not publicly made nowadays, but I do know how to make one. It will cost you a few things though... Interested?"; + switch(select("Yes I am:Nah, guns are not my type")) { + case 1: + next; + mes "[Garrison]"; + mes "Ok, here's what you need:"; + mes "^80808050 Steels^000000"; + mes "^4747473 Eluniums^000000"; + mes "50 Coals"; + mes "^80000020 Rusted Screws^000000"; + mes "^FFAA0030,000 Zeny^000000"; + next; + mes "[Garrison]"; + mes "Still interested?"; + if (select("Yes I am:No thanks...") == 1) { + next; + mes "[Garrison]"; + mes "Good stuff. Come back with the items then"; + set garrisonq,1; + close; + } + case 2: + next; + mes "[Garrison]"; + mes "Come back anytime then!"; + close; + } + case 2: + next; + mes "[Garrison]"; + mes "Bad thing then..."; + close; + } +} diff --git a/npc/quests/gunslinger_quests.txt b/npc/quests/gunslinger_quests.txt index 7fbcc4ada..b4f937fca 100644 --- a/npc/quests/gunslinger_quests.txt +++ b/npc/quests/gunslinger_quests.txt @@ -165,4 +165,26 @@ L_Already: mes "So how do you like"; mes "my gun?"; close; +} + +// NPC locations, working on implementing them + +que_ng.gat,187,149,3 script Kenny 83,{ + end; +} + +que_ng.gat,187,156,3 script Tony 86,{ + end; +} + +que_ng.gat,187,163,3 script Ingrid 744,{ + end; +} + +que_ng.gat,185,180,3 script Vanessa 726,{ + end; +} + +que_ng.gat,149,178,5 script N.A 744,{ + end; } \ No newline at end of file -- cgit v1.2.3-70-g09d2