From 8832adba3ec9df0f7f890154f69f0993b8d1d8e5 Mon Sep 17 00:00:00 2001 From: daegaladh Date: Wed, 1 Aug 2012 04:29:56 +0000 Subject: Full npc folder reorganization. (I hope I didn't break anything D:) -Now common scripts goes to the main npc folder, and pre-re-only/re-only ones goes to their respective folders. -NPCs with practically the same script but little differences have been left in the main folder and uses the command checkre() for the differences. -For those NPCs with different coordinates but same script, the script has been left in the main folder but the NPCs splitted as duplicates. -All pre-renewal files has been reverted back to their pre-renewal behavior. TODO: -Correct pre-re quest rewards. -Check for pre-re/re differences in mapflags. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16545 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/jobs/2-2a/Champion.txt | 87 ++++++++++++++++++++++++++++ npc/jobs/2-2a/Clown.txt | 83 +++++++++++++++++++++++++++ npc/jobs/2-2a/Creator.txt | 136 ++++++++++++++++++++++++++++++++++++++++++++ npc/jobs/2-2a/Gypsy.txt | 83 +++++++++++++++++++++++++++ npc/jobs/2-2a/Paladin.txt | 85 +++++++++++++++++++++++++++ npc/jobs/2-2a/Professor.txt | 93 ++++++++++++++++++++++++++++++ npc/jobs/2-2a/Stalker.txt | 93 ++++++++++++++++++++++++++++++ 7 files changed, 660 insertions(+) create mode 100644 npc/jobs/2-2a/Champion.txt create mode 100644 npc/jobs/2-2a/Clown.txt create mode 100644 npc/jobs/2-2a/Creator.txt create mode 100644 npc/jobs/2-2a/Gypsy.txt create mode 100644 npc/jobs/2-2a/Paladin.txt create mode 100644 npc/jobs/2-2a/Professor.txt create mode 100644 npc/jobs/2-2a/Stalker.txt (limited to 'npc/jobs/2-2a') diff --git a/npc/jobs/2-2a/Champion.txt b/npc/jobs/2-2a/Champion.txt new file mode 100644 index 000000000..28cd5a9e0 --- /dev/null +++ b/npc/jobs/2-2a/Champion.txt @@ -0,0 +1,87 @@ +//===== rAthena Script ======================================= +//= Advance Class jobchanger after kRO Normals. +//===== By: ================================================== +//= Nana +//= finished, optimized and tested by Lupus +//===== Current Version: ===================================== +//= 1.3 +//===== Compatible With: ===================================== +//= rAthena 1.0 + +//===== Description: ========================================= +//= Advance Class jobchanger after kRO Normals. +//===== Additional Comments: ================================= +//= v1.1 Made all into functions, additional checks, etc. [Lupus] +//= v1.2 Made numbers into constants. [Vicious] +//= 1.3 Now saves/restores all the quest skills [Lupus] +//============================================================ + +valkyrie,53,42,3 script Champion#Valkyrie 52,{ + if (ADVJOB == 0 || Upper != 1) { + set .@karma_d,rand(1,10); + if (.@karma_d > 4) { + mes "[Champion]"; + mes "Congratulations."; + mes "Honor to the warriors!"; + close; + } + mes "[Champion]"; + mes "Skill."; + mes "Speed."; + mes "Strength."; + mes "Agility."; + next; + mes "[Champion]"; + mes "A Champion can"; + mes "benefit from all"; + mes "these things. But"; + mes "one can only master"; + mes "so much in life..."; + close; + } + else if (ADVJOB == Job_Champion && Class == Job_Acolyte_High && JobLevel > 39) { + mes "[Champion]"; + mes "It's time."; + mes "Time for great heroes"; + mes "to stand up against the"; + mes "forces of evil which plague"; + mes "the world of Rune-Midgard!"; + next; + mes "[Champion]"; + mes "Would you like"; + mes "to become a Champion?"; + next; + if (select("No.:Yes.") == 1) { + mes "[Champion]"; + mes "When you're ready,"; + mes "feel free to come back."; + mes "Honor to the warriors!"; + close; + } + if (SkillPoint) { + mes "[Champion]"; + mes "It is still possible for you to learn more skills. Please use"; + mes "all of your remaining Skill Points before returning to me."; + close; + } + jobchange Job_Champion; + set ADVJOB,0; + mes "[Champion]"; + mes "Congratulations!"; + mes "Live as a Champion,"; + mes "and bring light into"; + mes "the world through the"; + mes "strength of your fists."; + close; + } + mes "[Champion]"; + mes "Welcome"; + mes "to Valhalla,"; + mes "the Hall of Honor."; + next; + mes "[Champion]"; + mes "Please make"; + mes "yourself comfortable"; + mes "while you are here."; + mes "Honor to the warriors!"; + close; +} diff --git a/npc/jobs/2-2a/Clown.txt b/npc/jobs/2-2a/Clown.txt new file mode 100644 index 000000000..656557647 --- /dev/null +++ b/npc/jobs/2-2a/Clown.txt @@ -0,0 +1,83 @@ +//===== rAthena Script ======================================= +//= Advance Class jobchanger after kRO Normals. +//===== By: ================================================== +//= Nana +//= finished, optimized and tested by Lupus +//===== Current Version: ===================================== +//= 1.3 +//===== Compatible With: ===================================== +//= rAthena 1.0 + +//===== Description: ========================================= +//= Advance Class jobchanger after kRO Normals. +//===== Additional Comments: ================================= +//= v1.1 Made all into functions, additional checks, etc. [Lupus] +//= v1.2 Made numbers into constants. [Vicious] +//= 1.3 Now saves/restores all the quest skills [Lupus] +//= 1.3a Corrected a Little Typo error. [Samuray22] +// -Thanks to Myllena. +//============================================================ + +valkyrie,53,54,3 script Minstrel#Valkyrie 741,{ + if (ADVJOB == 0 || Upper != 1) { + set .@karma_d,rand(1,10); + if (.@karma_d > 4) { + mes "[Minstrel]"; + mes "Congratulations."; + mes "Honor to the warriors!"; + close; + } + mes "[Minstrel]"; + mes "Do you want to"; + mes "sing a song with me?"; + mes "Sha la la la la~"; + close; + } + else if (ADVJOB == Job_Clown && Class == Job_Archer_High && JobLevel > 39) { + mes "[Minstrel]"; + mes "The dreary world"; + mes "of mortals is in need"; + mes "of more cheerful song."; + mes "Will you bring it to them"; + mes "and turn the tide in the"; + mes "battle against evil?"; + next; + mes "[Minstrel]"; + mes "Will you do this"; + mes "for Rune-Midgard..."; + mes "As a Minstrel?"; + next; + if (select("No.:Yes.") == 1) { + mes "[Minstrel]"; + mes "When you're ready,"; + mes "feel free to come back."; + mes "Honor to the warriors!"; + close; + } + if (SkillPoint) { + mes "[Minstrel]"; + mes "It is still possible for you to learn more skills. Please use"; + mes "all of your remaining Skill Points before returning to me."; + close; + } + jobchange Job_Clown; + set ADVJOB,0; + mes "[Minstrel]"; + mes "Congratulations!"; + mes "As a Minstrel, your"; + mes "your songs will bring"; + mes "hope to your allies, and"; + mes "desperation to your foes."; + close; + } + mes "[Minstrel]"; + mes "Welcome"; + mes "to Valhalla,"; + mes "the Hall of Honor."; + next; + mes "[Minstrel]"; + mes "Please make"; + mes "yourself comfortable"; + mes "while you are here."; + mes "Honor to the warriors!"; + close; +} diff --git a/npc/jobs/2-2a/Creator.txt b/npc/jobs/2-2a/Creator.txt new file mode 100644 index 000000000..3b85907e9 --- /dev/null +++ b/npc/jobs/2-2a/Creator.txt @@ -0,0 +1,136 @@ +//===== rAthena Script ======================================= +//= Advance Class jobchanger after kRO Normals. +//===== By: ================================================== +//= Nana +//= finished, optimized and tested by Lupus +//===== Current Version: ===================================== +//= 1.3 +//===== Compatible With: ===================================== +//= rAthena 1.0 + +//===== Description: ========================================= +//= Advance Class jobchanger after kRO Normals. +//===== Additional Comments: ================================= +//= v1.1 Made all into functions, additional checks, etc. [Lupus] +//= v1.2 Made numbers into constants. [Vicious] +//= 1.3 Now saves/restores all the quest skills [Lupus] +//============================================================ + +valkyrie,53,50,3 script Biochemist#Valkyrie 122,{ + if (ADVJOB == 0 || Upper != 1) { + set .@karma_d,rand(1,10); + if (.@karma_d > 4) { + mes "[Biochemist]"; + mes "Congratulations."; + mes "Honor to the warriors!"; + close; + } + mes "[Biochemist]"; + mes "It's strange that"; + mes "someone like me is here."; + mes "But even someone skilled"; + mes "in the ways of science"; + mes "can manage to be a hero."; + next; + mes "[Biochemist]"; + mes "In this instance,"; + mes "it's not necessarily"; + mes "the means I've used, but"; + mes "the ends for which I've"; + mes "fought that earned me"; + mes "a place in Valhalla..."; + close; + } + else if (ADVJOB == Job_Creator && Class == Job_Merchant_High && JobLevel > 39) { + mes "[Biochemist]"; + mes "Yes..."; + mes "It's about time."; + mes "We need more geniuses"; + mes "like you on Rune-Midgard."; + next; + mes "[Biochemist]"; + mes "Would you like to"; + mes "become a Biochemist?"; + next; + if (select("No.:Yes.") == 1) { + mes "[Biochemist]"; + mes "When you're ready,"; + mes "feel free to come back."; + mes "Honor to the warriors!"; + close; + } + if (SkillPoint) { + mes "[Biochemist]"; + mes "It is still possible for you to learn more skills. Please use"; + mes "all of your remaining Skill Points before returning to me."; + close; + } + jobchange Job_Creator; + set ADVJOB,0; + mes "[Biochemist]"; + mes "Congratulations!"; + mes "As a Biochemist,"; + mes "I hope you use your"; + mes "vast knowledge for the"; + mes "right purposes."; + close; + } + else { + if (Class == Job_Creator && MISC_QUEST & 64 && getskilllv("AM_BIOETHICS") == 0) { + mes "[Biochemist]"; + mes "Ah, have you come to"; + mes "retrieve the memories"; + mes "lost to you? Yes, you"; + mes "must be here for the"; + mes "secrets of life that"; + mes "were once yours..."; + next; + if (select("Yes:No") == 1) { + mes "[Biochemist]"; + mes "Close your eyes and"; + mes "put your mind at rest."; + mes "We will return to your"; + mes "past to recollect the"; + mes "fragments of your lost"; + mes "memories."; + next; + mes "[Biochemist]"; + mes "When you open your eyes,"; + mes "you will clearly remember"; + mes "the secret of life. You will"; + mes "also remember the weight of"; + mes "responsibility in using these"; + mes "secrets for the right ends..."; + next; + skill 238,1,0; + mes "[Biochemist]"; + mes "Open your eyes..."; + mes "Now that you have"; + mes "remembered how to"; + mes "create artificial life, I only"; + mes "ask that you treat all of your"; + mes "creations with respect."; + close; + } + mes "[Biochemist]"; + mes "If you wish to"; + mes "retrieve your lost"; + mes "memories, please"; + mes "come back to me."; + mes "The secret to creating"; + mes "life is no trifling thing..."; + close; + } + mes "[Biochemist]"; + mes "Welcome"; + mes "to Valhalla,"; + mes "the Hall of Honor."; + next; + mes "[Biochemist]"; + mes "Please make"; + mes "yourself comfortable"; + mes "while you are here."; + mes "Honor to the warriors!"; + close; + } +} + diff --git a/npc/jobs/2-2a/Gypsy.txt b/npc/jobs/2-2a/Gypsy.txt new file mode 100644 index 000000000..95503a1ba --- /dev/null +++ b/npc/jobs/2-2a/Gypsy.txt @@ -0,0 +1,83 @@ +//===== rAthena Script ======================================= +//= Advance Class jobchanger after kRO Normals. +//===== By: ================================================== +//= Nana +//= finished, optimized and tested by Lupus +//===== Current Version: ===================================== +//= 1.3 +//===== Compatible With: ===================================== +//= rAthena 1.0 + +//===== Description: ========================================= +//= Advance Class jobchanger after kRO Normals. +//===== Additional Comments: ================================= +//= v1.1 Made all into functions, additional checks, etc. [Lupus] +//= v1.2 Made numbers into constants. [Vicious] +//= 1.3 Now saves/restores all the quest skills [Lupus] +//============================================================ + +valkyrie,53,56,3 script Gypsy#Valkyrie 101,{ + if (ADVJOB == 0 || Upper != 1) { + set .@karma_d,rand(1,10); + if (.@karma_d > 4) { + mes "[Gypsy]"; + mes "Congratulations."; + mes "Honor to the warriors!"; + close; + } + mes "[Gypsy]"; + mes "Move left,"; + mes "move right~!"; + mes "And step...!"; + mes "Dancing can be"; + mes "more than a hobby."; + mes "For me, it's a way of life~"; + close; + } + else if (ADVJOB == Job_Gypsy && Class == Job_Archer_High && JobLevel > 39) { + mes "[Gypsy]"; + mes "The land of Rune-Midgard"; + mes "is in need of talented women"; + mes "to subtly change the balances"; + mes "in the battle between good"; + mes "and evil."; + next; + mes "[Gypsy]"; + mes "Are you ready"; + mes "to take up this role,"; + mes "and become a Gypsy?"; + next; + if (select("No.:Yes.") == 1) { + mes "[Gypsy]"; + mes "When you're ready,"; + mes "feel free to come back."; + mes "Honor to the warriors!"; + close; + } + if (SkillPoint) { + mes "[Gypsy]"; + mes "It is still possible for you to learn more skills. Please use"; + mes "all of your remaining Skill Points before returning to me."; + close; + } + jobchange Job_Gypsy; + set ADVJOB,0; + mes "[Gypsy]"; + mes "Congratulations!"; + mes "As a Gypsy, I know"; + mes "that your performances"; + mes "sway the hearts of all"; + mes "those who will be watching..."; + close; + } + mes "[Gypsy]"; + mes "Welcome"; + mes "to Valhalla,"; + mes "the Hall of Honor."; + next; + mes "[Gypsy]"; + mes "Please make"; + mes "yourself comfortable"; + mes "while you are here."; + mes "Honor to the warriors!"; + close; +} diff --git a/npc/jobs/2-2a/Paladin.txt b/npc/jobs/2-2a/Paladin.txt new file mode 100644 index 000000000..7589ff3f6 --- /dev/null +++ b/npc/jobs/2-2a/Paladin.txt @@ -0,0 +1,85 @@ +//===== rAthena Script ======================================= +//= Advance Class jobchanger after kRO Normals. +//===== By: ================================================== +//= Nana +//= finished, optimized and tested by Lupus +//===== Current Version: ===================================== +//= 1.3 +//===== Compatible With: ===================================== +//= rAthena 1.0 + +//===== Description: ========================================= +//= Advance Class jobchanger after kRO Normals. +//===== Additional Comments: ================================= +//= v1.1 Made all into functions, additional checks, etc. [Lupus] +//= v1.2 Made numbers into constants. [Vicious] +//= 1.3 Now saves/restores all the quest skills [Lupus] +//============================================================ + +valkyrie,53,39,3 script Paladin#Valkyrie 752,{ + if (ADVJOB == 0 || Upper != 1) { + set .@karma_d,rand(1,10); + if (.@karma_d > 4) { + mes "[Paladin]"; + mes "Congratulations."; + mes "Honor to the warriors!"; + close; + } + mes "[Paladin]"; + mes "Do not forget"; + mes "that the Holy War"; + mes "is fast approaching!"; + mes "We must ready ourselves!"; + mes "May the light of justice"; + mes "always brighten our path!"; + close; + } + else if (ADVJOB == Job_Paladin && Class == Job_Swordman_High && JobLevel > 39) { + mes "[Paladin]"; + mes "The Holy War will"; + mes "be upon us before we"; + mes "know it. More than ever,"; + mes "we have need of strong men"; + mes "and women to fight for what"; + mes "is good and right."; + next; + mes "[Paladin]"; + mes "Will you fight on"; + mes "the side of righteousness"; + mes "as a Paladin?"; + next; + if (select("No.:Yes.") == 1) { + mes "[Paladin]"; + mes "When you're ready,"; + mes "feel free to come back."; + mes "Honor to the warriors!"; + close; + } + if (SkillPoint) { + mes "[Paladin]"; + mes "It is still possible for you to learn more skills. Please use"; + mes "all of your remaining Skill Points before returning to me."; + close; + } + jobchange Job_Paladin; + set ADVJOB,0; + mes "[Paladin]"; + mes "Congratulations."; + mes "As a Paladin, I hope"; + mes "you will protect those"; + mes "weaker than you, and bring"; + mes "us victory in the upcoming"; + mes "war between good and evil."; + close; + } + mes "[Paladin]"; + mes "Welcome"; + mes "to Valhalla,"; + mes "the Hall of Honor."; + next; + mes "[Paladin]"; + mes "Please make"; + mes "yourself comfortable"; + mes "while you are here."; + mes "Honor to the warriors!"; + close; +} diff --git a/npc/jobs/2-2a/Professor.txt b/npc/jobs/2-2a/Professor.txt new file mode 100644 index 000000000..b6b38afdc --- /dev/null +++ b/npc/jobs/2-2a/Professor.txt @@ -0,0 +1,93 @@ +//===== rAthena Script ======================================= +//= Advance Class jobchanger after kRO Normals. +//===== By: ================================================== +//= Nana +//= finished, optimized and tested by Lupus +//===== Current Version: ===================================== +//= 1.3 +//===== Compatible With: ===================================== +//= rAthena 1.0 + +//===== Description: ========================================= +//= Advance Class jobchanger after kRO Normals. +//===== Additional Comments: ================================= +//= v1.1 Made all into functions, additional checks, etc. [Lupus] +//= v1.2 Made numbers into constants. [Vicious] +//= 1.3 Now saves/restores all the quest skills [Lupus] +//============================================================ + +valkyrie,53,47,3 script Scholar#Valkyrie 743,{ + if (ADVJOB == 0 || Upper != 1) { + set .@karma_d,rand(1,10); + if (.@karma_d > 4) { + mes "[Scholar]"; + mes "Congratulations."; + mes "Honor to the warriors!"; + close; + } + mes "[Scholar]"; + mes "It takes a lifetime..."; + mes "Literally a lifetime"; + mes "to amass the knowledge"; + mes "necessary to become"; + mes "a Scholar..."; + next; + mes "[Scholar]"; + mes "It's overwhelming."; + mes "The more you learn, the"; + mes "more you discover what"; + mes "else you don't know."; + mes "There's no end to the"; + mes "process of learning..."; + close; + } + else if (ADVJOB == Job_Professor && Class == Job_Mage_High && JobLevel > 39) { + mes "[Scholar]"; + mes "Rune-Midgard doesn't"; + mes "have enough Scholars to"; + mes "help usher in a new age"; + mes "of prosperity. The"; + mes "world needs you..."; + next; + mes "[Scholar]"; + mes "Will you take this"; + mes "awesome responsibility?"; + mes "Will you serve Rune-Midgard"; + mes "as a Scholar?"; + next; + if (select("No.:Yes.") == 1) { + mes "[Scholar]"; + mes "When you're ready,"; + mes "feel free to come back."; + mes "Honor to the warriors!"; + close; + } + if (SkillPoint) { + mes "[Scholar]"; + mes "It is still possible for you to learn more skills. Please use"; + mes "all of your remaining Skill Points before returning to me."; + close; + } + jobchange Job_Professor; + set ADVJOB,0; + mes "[Scholar]"; + mes "Congratulations!"; + mes "As a Professor, I hope"; + mes "that you will take an"; + mes "active part in bringing"; + mes "the light of knowledge"; + mes "where there is darkness."; + close; + } + mes "[Scholar]"; + mes "Welcome"; + mes "to Valhalla,"; + mes "the Hall of Honor."; + next; + mes "[Scholar]"; + mes "Please make"; + mes "yourself comfortable"; + mes "while you are here."; + mes "Honor to the warriors!"; + close; +} + diff --git a/npc/jobs/2-2a/Stalker.txt b/npc/jobs/2-2a/Stalker.txt new file mode 100644 index 000000000..a2a26e135 --- /dev/null +++ b/npc/jobs/2-2a/Stalker.txt @@ -0,0 +1,93 @@ +//===== rAthena Script ======================================= +//= Advance Class jobchanger after kRO Normals. +//===== By: ================================================== +//= Nana +//= finished, optimized and tested by Lupus +//===== Current Version: ===================================== +//= 1.3 +//===== Compatible With: ===================================== +//= rAthena 1.0 + +//===== Description: ========================================= +//= Advance Class jobchanger after kRO Normals. +//===== Additional Comments: ================================= +//= v1.1 Made all into functions, additional checks, etc. [Lupus] +//= v1.2 Made numbers into constants. [Vicious] +//= 1.3 Now saves/restores all the quest skills [Lupus] +//============================================================ + +valkyrie,53,58,3 script Stalker#Valkyrie 747,{ + if (ADVJOB == 0 || Upper != 1) { + set .@karma_d,rand(1,10); + if (.@karma_d > 4) { + mes "[Stalker]"; + mes "Congratulations."; + mes "Honor to the warriors!"; + close; + } + mes "[Stalker]"; + mes "Heh..."; + mes "It's tough"; + mes "being a hero"; + mes "and being shady,"; + mes "untrustworthy,"; + mes "sneaky..."; + next; + mes "[Stalker]"; + mes "But when the"; + mes "going gets rough"; + mes "my pals know they"; + mes "can count on me."; + mes "I need them and"; + mes "they need me."; + close; + } + else if (ADVJOB == Job_Stalker && Class == Job_Thief_High && JobLevel > 39) { + mes "[Stalker]"; + mes "This world needs"; + mes "more heroes who are"; + mes "willing to walk the line"; + mes "between order and lawlessness."; + next; + mes "[Stalker]"; + mes "Are you ready"; + mes "to join the ranks"; + mes "of the sneakiest of"; + mes "warriors? Are you ready"; + mes "to become a Stalker?"; + next; + if (select("No.:Yes.") == 1) { + mes "[Stalker]"; + mes "When you're ready,"; + mes "feel free to come back."; + mes "Honor to the warriors!"; + close; + } + if (SkillPoint) { + mes "[Stalker]"; + mes "It is still possible for you to learn more skills. Please use"; + mes "all of your remaining Skill Points before returning to me."; + close; + } + jobchange Job_Stalker; + set ADVJOB,0; + mes "[Stalker]"; + mes "Congratulations!"; + mes "As a Stalker, I hope"; + mes "you stab the right people"; + mes "in the back. Banish the"; + mes "wicked using their own"; + mes "dastardly methods!"; + close; + } + mes "[Stalker]"; + mes "Welcome"; + mes "to Valhalla,"; + mes "the Hall of Honor."; + next; + mes "[Stalker]"; + mes "Please make"; + mes "yourself comfortable"; + mes "while you are here."; + mes "Honor to the warriors!"; + close; +} -- cgit v1.2.3-60-g2f50