summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1/blacksmith.txt
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-23 06:32:30 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-23 06:32:30 +0000
commita6f718ad10d3ca9dcabd7c3b467265280aced6e1 (patch)
treeaecce95d5b12c055465a1b616ad37ba831b3228e /npc/jobs/2-1/blacksmith.txt
parentb96aaab89f1efd39a92f401893fcb936fa673225 (diff)
downloadhercules-a6f718ad10d3ca9dcabd7c3b467265280aced6e1.tar.gz
hercules-a6f718ad10d3ca9dcabd7c3b467265280aced6e1.tar.bz2
hercules-a6f718ad10d3ca9dcabd7c3b467265280aced6e1.tar.xz
hercules-a6f718ad10d3ca9dcabd7c3b467265280aced6e1.zip
merged jFunc 2-1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7305 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/2-1/blacksmith.txt')
-rw-r--r--npc/jobs/2-1/blacksmith.txt40
1 files changed, 37 insertions, 3 deletions
diff --git a/npc/jobs/2-1/blacksmith.txt b/npc/jobs/2-1/blacksmith.txt
index ce76d0772..e1ff13b06 100644
--- a/npc/jobs/2-1/blacksmith.txt
+++ b/npc/jobs/2-1/blacksmith.txt
@@ -7,7 +7,7 @@
//= Optimized and further edited by kobra_k88.
//= Further bugfixed and tested by Lupus
//===== Current Version: =====================================
-//= 2.1
+//= 2.2
//===== Compatible With: =====================================
//= eAthena 1.0+
//===== Description: =========================================
@@ -26,6 +26,7 @@
//= 1.8 Moved the Quest to Einbroch [Poki#3]
//= 2.0 Changed numbers to constants. [Vicious]
//= 2.1 Removed Duplicates [Silent]
+//= 2.2 Merged Jfunc, changed job numbers to constants [Lupus]
==============================================================
@@ -34,7 +35,7 @@
ein_in01.gat,18,28,4 script Guildsman Altiregen 731,{
callfunc "F_BlockHigh",Job_Merchant_High,"Merchant High",Job_Whitesmith,"White Smith","Blacksmith Altiregen";
- if (BaseJob == 5) goto L_Merc;
+ if (BaseJob == Job_Merchant) goto L_Merc;
mes "[Blacksmith Altiregen]";
mes "Welcome! We're the masters of the metal, blacksmiths!";
mes "Our skills in creating weapons, in a way, is almost an art form!.";
@@ -43,8 +44,41 @@ ein_in01.gat,18,28,4 script Guildsman Altiregen 731,{
mes "Those weapons, heh, can be sold for quite a profit as well.";
next;
mes "[Blacksmith Altiregen]";
- callfunc "Bla_check";
+ if (BaseJob == Job_Novice){
+ if(sex){
+ mes "Hmmm, you look like you wish to be a blacksmith! Sorry, but only merchants can be blacksmiths!.";
+ } else {
+ mes "...Hello little lady! If you wish to be a blacksmith, you have to be a merchant first!";
+ }
+ close;
+ }
+ if (baseClass == Job_Swordman){
+ mes "Hello! Come here to order a sword? Sorry, but I have some paperwork to do, so I can't forge anything now.";
+ close;
+ }
+ if (baseClass == Job_Acolyte){
+ mes "Oh! A Holy one...! Do me a favor and bless the sword I'm crafting!";
+ close;
+ }
+ if (baseClass == Job_Thief){
+ mes "Sorry, but this is more of a office, so there's nothing worth money. We CAN do knife forges though.";
+ close;
+ }
+ if (baseClass == Job_Mage){
+ mes "Interested in training? Our guild cannot assist magic users is such matters.";
+ close;
+ }
+ if (baseClass == Job_Archer){
+ mes "Hmmm, sorry, but we're not hiring anyone that isn't a merchent.";
+ close;
+ }
+ if (BaseJob == Job_Blacksmith){
+ mes "Hey! Been a while, running a errand for Christopher? I feel like my hammer is getting rusty after all this office work.";
+ close;
+ }
+ mes "Only Merchants can become Blacksmiths.";
+ close;
L_Merc:
mes "[Blacksmith Altiregen]";