summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/2004_headgears.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/quests/newgears/2004_headgears.txt')
-rw-r--r--npc/quests/newgears/2004_headgears.txt131
1 files changed, 69 insertions, 62 deletions
diff --git a/npc/quests/newgears/2004_headgears.txt b/npc/quests/newgears/2004_headgears.txt
index 71c33e6aa..d2cbe4c8c 100644
--- a/npc/quests/newgears/2004_headgears.txt
+++ b/npc/quests/newgears/2004_headgears.txt
@@ -1,13 +1,11 @@
//===== Hercules Script ======================================
//= 2004 Headgear Quests
-//===== By: ==================================================
+//===== By: ==================================================
//= Dj-Yhn
-//===== Current Version: =====================================
-//= 1.6a
-//===== Compatible With: =====================================
-//= Hercules Git
-//===== Description: =========================================
-//= [Aegis Conversion]
+//===== Current Version: =====================================
+//= 1.6b
+//===== Description: =========================================
+//= [Official Conversion]
//= 2004 New Headgears. Official Quests
//= 1) Black Cat Ears (payon 115 131)
//= 2) X Hairpin, Band Aid, Flower Hairpin (geffen 129 148)
@@ -21,12 +19,12 @@
//= 10) Model Training Hat (payon_in03 8 193)
//= 11) Tulip Haipin (geffen 83 189)
//= 12) Party Hat, Straw Hat, Cowboy Hat, (xmas_in 35 30)
-//= Sombrero, Beanie
+//= Sombrero, Beanie
//= 13) Decorative Golden Bell, (yuno_in03 20 18)
-//= Crown of Ancient Queen, Crown of Mistress
+//= Crown of Ancient Queen, Crown of Mistress
//= 14) Alarm Mask (alde_alche 88 180)
//= 15) Drooping Cat, Smokie Leaf, Lazy Smokie, (morocc 273 79)
-// Blue Fish
+//= Blue Fish
//= 16) Kitsune Mask (pay_dun03 48 84)
//= 17) Orc Hero Helm (in_orcs01 31 93 & 162 33)
//===== Additional Comments: =================================
@@ -34,11 +32,13 @@
//= 1.5 Vito'd function call for checkweight. [L0ne_W0lf]
//= 1.6 Replaced effect numerics with constants. [L0ne_W0lf]
//= 1.6a Added 'disable_items' command. [Euphy]
+//= 1.6b Added more 'disable_items' commands. [Euphy]
//============================================================
// Black Cat Ears
//============================================================
-payon,115,131,3 script Neko Neko#1 725,{
+payon,115,131,3 script Neko Neko#1 4_F_JOB_ASSASSIN,{
+ disable_items;
if (checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
@@ -68,7 +68,7 @@ payon,115,131,3 script Neko Neko#1 725,{
delitem 2213,1; //Cat_Hairband
delitem 983,1; //Black_Dyestuffs
delitem 914,200; //Fluff
- set zeny,zeny-10000;
+ Zeny -= 10000;
getitem 5057,1; //Ear_Of_Black_Cat
next;
mes "[Neko Neko]";
@@ -105,7 +105,8 @@ payon,115,131,3 script Neko Neko#1 725,{
// X Hairpin, Band Aid, Flower Hairpin
//============================================================
-geffen,129,148,3 script Argen#1 779,{
+geffen,129,148,3 script Argen#1 4_M_YOYOROGUE,{
+ disable_items;
if (checkweight(1201,1) == 0) {
mes "[Argen]";
mes "Hey~ why are you carrying so many items?";
@@ -249,7 +250,7 @@ geffen,129,148,3 script Argen#1 779,{
mes "Hey, that looks pretty smooth! Oh, and uh, you can keep this leftover Stem.";
delitem 2269,1; //Centimental_Flower
delitem 999,10; //Steel
- set zeny,zeny-20000;
+ Zeny -= 20000;
getitem 5061,1; //Flower_Hairpin
getitem 905,1; //Stem
next;
@@ -294,7 +295,8 @@ geffen,129,148,3 script Argen#1 779,{
// Hot-blooded Headband
//============================================================
-yuno,300,188,5 script Zhenbolt#1 753,{
+yuno,300,188,5 script Zhenbolt#1 4_M_MONK,{
+ disable_items;
if (checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
@@ -389,7 +391,8 @@ yuno,300,188,5 script Zhenbolt#1 753,{
// Red Ribbon
//============================================================
-prontera,165,232,3 script Nephia#1 744,{
+prontera,165,232,3 script Nephia#1 4_F_ALCHE,{
+ disable_items;
if (checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
@@ -503,7 +506,7 @@ prontera,165,232,3 script Nephia#1 744,{
// Indian Headband
//============================================================
-comodo,237,217,5 script Meruntei#1 732,{
+comodo,237,217,5 script Meruntei#1 4_M_JOB_HUNTER,{
if (checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
@@ -521,7 +524,7 @@ comodo,237,217,5 script Meruntei#1 732,{
delitem 5010,1; //Indian_Hair_Piece
delitem 5049,1; //Stripe_Band
delitem 7101,10; //Peco_Wing_Feather
- set zeny,zeny-10000;
+ Zeny -= 10000;
getitem 5071,1; //Indian_Headband
next;
mes "[Meruntei]";
@@ -557,7 +560,7 @@ comodo,237,217,5 script Meruntei#1 732,{
// Mushroom Band
//============================================================
-geffen,67,87,3 script Ipore#1 700,{
+geffen,67,87,3 script Ipore#1 8_F_GIRL,{
if (checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
@@ -637,7 +640,7 @@ geffen,67,87,3 script Ipore#1 700,{
// Angel Wing Ears, Devil Wing Ears
//============================================================
-yuno,241,52,3 script Old Blacksmith#hgear 813,{
+yuno,241,52,3 script Old Blacksmith#hgear 2_M_OLDBLSMITH,{
disable_items;
if (checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
@@ -686,8 +689,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
mes "I don't care how many times you've upgraded the items you brought, but please ^4d4dff carry only items that you need to create this item.^000000 I can't mess up my artwork because of some mistake you might make.";
next;
if (select("I am ready.:Okay, let me go store my other items first.") == 1) {
- set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if (MaxWeight - Weight < 2000) {
mes "[Hatbyr Mhore]";
mes "Ouch...!";
mes "Why are you carrying so many items with you? Leave all your extra baggage somewhere else and come back.";
@@ -706,7 +708,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
mes "'Angel Wing Ears!'";
delitem 2254,1; //Angelic_Chain
delitem 2286,1; //Elven_Ears
- set zeny,zeny-20000;
+ Zeny -= 20000;
getitem 5074,1; //Ear_Of_Angel's_Wing
next;
mes "[Hatbyr Mhore]";
@@ -745,8 +747,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
mes "I don't care how many times you've upgraded the items you brought, but please ^4d4dff carry only items that you need to create this item.^000000 I can't mess up my artwork because of some mistake you might make.";
next;
if (select("I am ready.:Okay, let me go store my other items first.") == 1) {
- set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if (MaxWeight - Weight < 2000) {
mes "[Hatbyr Mhore]";
mes "Ouch...!";
mes "Why are you carrying so many items with you? Leave all your extra baggage somewhere else and come back.";
@@ -762,7 +763,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
mes "There you go, buddy. I am proud to say this is my masterpiece. I call it... 'Devil Wing Ears!'";
delitem 2255,1; //Satanic_Chain
delitem 2286,1; //Elven_Ears
- set zeny,zeny-20000;
+ Zeny -= 20000;
getitem 5068,1; //Ear_Of_Devil's_Wing
next;
mes "[Hatbyr Mhore]";
@@ -813,8 +814,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
mes "I don't care how many times you've upgraded the items you brought, but please ^4d4dff carry only items that you need to create this item. I can't mess up my artwork because of some mistake you might make. ^000000";
next;
if (select("I am ready.:Okay, let me go store my other items first.") == 1) {
- set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if (MaxWeight - Weight < 2000) {
mes "[Hatbyr Mhore]";
mes "Ouch, why are you carrying";
mes "so many items with you?";
@@ -833,7 +833,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
mes "I am proud to say this is my masterpiece. Please take this item. I call it... 'Devil Wing Ears!'";
delitem 2255,1; //Satanic_Chain
delitem 2286,1; //Elven_Ears
- set zeny,zeny-20000;
+ Zeny -= 20000;
getitem 5068,1; //Ear_Of_Devil's_Wing
next;
mes "[Hatbyr Mhore]";
@@ -869,8 +869,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
mes "I don't care how many times you've upgraded the items you brought, but please ^4d4dff carry only items that you need to create this item.^000000 I can't mess up my artwork because of some mistake you might make.";
next;
if (select("I am ready.:Okay, let me go store my other items first.") == 1) {
- set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if (MaxWeight - Weight < 2000) {
mes "[Hatbyr Mhore]";
mes "Ouch, why are you carrying";
mes "so many items with you?";
@@ -888,7 +887,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
mes "I am proud to say this is my masterpiece. Please take this item. I call it... 'Angel Wing Ears!'";
delitem 2254,1; //Angelic_Chain
delitem 2286,1; //Elven_Ears
- set zeny,zeny-20000;
+ Zeny -= 20000;
getitem 5074,1; //Ear_Of_Angel's_Wing
next;
mes "[Hatbyr Mhore]";
@@ -962,7 +961,8 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{
// Sea-Otter Hat
//============================================================
-xmas,183,267,3 script Pretty Lindsay#1 793,{
+xmas,183,267,3 script Pretty Lindsay#1 4_F_NFLOSTGIRL,{
+ disable_items;
if (checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
@@ -971,8 +971,7 @@ xmas,183,267,3 script Pretty Lindsay#1 793,{
mes "- you put some items into Kafra Storage. -";
close;
}
- set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if (MaxWeight-Weight < 2000) {
mes "[Pretty Lindsay]";
mes "I know you brought everything you need for me to make you a hat, but you're carrying too much stuff. Why don't you put some of your things in Kafra Storage?";
close;
@@ -1077,7 +1076,8 @@ xmas,183,267,3 script Pretty Lindsay#1 793,{
// Teddybear Hat
//============================================================
-xmas,175,156,3 script Fuzzy Fuzz#1 712,{
+xmas,175,156,3 script Fuzzy Fuzz#1 4_M_05,{
+ disable_items;
if (checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
@@ -1164,7 +1164,8 @@ xmas,175,156,3 script Fuzzy Fuzz#1 712,{
// Model Training Hat
//============================================================
-payon_in03,8,193,4 script Nanhyang#1 77,{
+payon_in03,8,193,4 script Nanhyang#1 1_F_ORIENT_03,{
+ disable_items;
if (checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
@@ -1324,7 +1325,8 @@ payon_in03,8,193,4 script Nanhyang#1 77,{
// Tulip Hairpin
//============================================================
-geffen,83,189,5 script Seth#1 716,{
+geffen,83,189,5 script Seth#1 4_M_KID2,{
+ disable_items;
if (checkweight(1201,1) == 0) {
mes " [Seth]";
mes "Whoa, why are you carrying so many items with you?";
@@ -1378,7 +1380,7 @@ geffen,83,189,5 script Seth#1 716,{
mes "I'm done!";
mes "I did a good job, didn't I?";
next;
- if (BaseJob == Job_Novice && Upper != 1) {
+ if (BaseJob == Job_Novice || BaseJob == Job_SuperNovice) {
mes "[Seth]";
mes "Oh, here's the leftovers. Mommy says that we should always save things. Heh heh~";
getitem 935,1; //Shell
@@ -1442,7 +1444,8 @@ geffen,83,189,5 script Seth#1 716,{
// Party Hat, Straw Hat, Cowboy Hat, Sombrero, Beanie
//============================================================
-xmas_in,35,30,3 script Hat Merchant#zero 797,{
+xmas_in,35,30,3 script Hat Merchant#zero 4_M_NFLOSTMAN,{
+ disable_items;
if (checkweight(1201,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
@@ -1732,7 +1735,8 @@ xmas_in,35,30,3 script Hat Merchant#zero 797,{
// Decorative Golden Bell, Crown of Ancient Queen, Crown of Mistress
//============================================================
-yuno_in03,20,18,6 script Nehris#1 726,{
+yuno_in03,20,18,6 script Nehris#1 4_F_JOB_BLACKSMITH,{
+ disable_items;
if (checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
@@ -1774,7 +1778,7 @@ yuno_in03,20,18,6 script Nehris#1 726,{
delitem 10016,1; //Golden_Bell
delitem 714,1; //Emperium
delitem 969,3; //Gold
- set zeny,zeny-20000;
+ Zeny -= 20000;
getitem 5091,1; //Big_Golden_Bell
mes "[Nehris]";
mes "Yoohoo~";
@@ -1812,7 +1816,7 @@ yuno_in03,20,18,6 script Nehris#1 726,{
delitem 10006,1; //Queen's_Hair_Ornament
delitem 714,1; //Emperium
delitem 969,3; //Gold
- set zeny,zeny-20000;
+ Zeny -= 20000;
getitem 5080,1; //Headgear_Of_Queen
mes "[Nehris]";
mes "Tah dah!";
@@ -1862,7 +1866,7 @@ yuno_in03,20,18,6 script Nehris#1 726,{
delitem 2249,1; //Coronet
delitem 714,1; //Emperium
delitem 969,3; //Gold
- set zeny,zeny-40000;
+ Zeny -= 40000;
getitem 5081,1; //Mistress_Crown
mes "[Nehris]";
mes "Yay! You've got a great looking crown!";
@@ -1896,7 +1900,7 @@ yuno_in03,20,18,6 script Nehris#1 726,{
// Alarm Mask
//============================================================
-alde_alche,88,180,0 script Muscle Man#Alarm Mask 748,{
+alde_alche,88,180,0 script Muscle Man#Alarm Mask 4_M_ALCHE_A,{
if (checkweight(1201,1) == 0) {
mes "[Muscle Man]";
mes "Hmmm...";
@@ -1915,7 +1919,7 @@ alde_alche,88,180,0 script Muscle Man#Alarm Mask 748,{
mes "It's sexy time!";
next;
specialeffect EF_FLASHER;
- setnpcdisplay "Muscle Man#Alarm Mask", 1193;
+ setnpcdisplay "Muscle Man#Alarm Mask", ALARM;
enablenpc " #Alarm Mask Man1";
enablenpc " #Alarm Mask Man2";
enablenpc " #Alarm Mask Man3";
@@ -2030,7 +2034,7 @@ alde_alche,88,180,0 script Muscle Man#Alarm Mask 748,{
OnTimer4000:
specialeffect EF_FLASHER;
- setnpcdisplay "Muscle Man#Alarm Mask", 748;
+ setnpcdisplay "Muscle Man#Alarm Mask", 4_M_ALCHE_A;
disablenpc " #Alarm Mask Man1";
disablenpc " #Alarm Mask Man2";
disablenpc " #Alarm Mask Man3";
@@ -2043,25 +2047,25 @@ OnTimer4000:
end;
}
-alde_alche,86,184,0 script #Alarm Mask Man1 1193,{
+alde_alche,86,184,0 script #Alarm Mask Man1 ALARM,{
OnInit:
disablenpc " #Alarm Mask Man1";
end;
}
-alde_alche,89,184,0 script #Alarm Mask Man2 1193,{
+alde_alche,89,184,0 script #Alarm Mask Man2 ALARM,{
OnInit:
disablenpc " #Alarm Mask Man2";
end;
}
-alde_alche,92,184,0 script #Alarm Mask Man3 1193,{
+alde_alche,92,184,0 script #Alarm Mask Man3 ALARM,{
OnInit:
disablenpc " #Alarm Mask Man3";
end;
}
-alde_alche,95,184,0 script #Alarm Mask Man4 1193,{
+alde_alche,95,184,0 script #Alarm Mask Man4 ALARM,{
OnInit:
disablenpc " #Alarm Mask Man4";
end;
@@ -2069,7 +2073,8 @@ OnInit:
// Drooping Cat, Smokie Leaf, Lazy Smokie, Blue Fish
//============================================================
-morocc,273,79,4 script Educated Traveller 99,{
+morocc,273,79,4 script Educated Traveller 4W_M_03,{
+ disable_items;
if ((MaxWeight-Weight) < 5000 || checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're over weight -";
@@ -2449,7 +2454,7 @@ morocc,273,79,4 script Educated Traveller 99,{
// Kitsune Mask
//============================================================
-pay_dun03,48,84,4 script Nine Tails#Kitsune Mask 1180,1,1,{
+pay_dun03,48,84,4 script Nine Tails#Kitsune Mask NINE_TAIL,1,1,{
end;
OnInit:
@@ -2505,7 +2510,8 @@ OnTouch:
end;
}
-pay_dun03,48,84,4 script Nine Tails#Kitsune Man 762,{
+pay_dun03,48,84,4 script Nine Tails#Kitsune Man 4_M_JPN2,{
+ disable_items;
if (checkweight(1201,1) == 0) {
mes "- Wait a moment! -";
mes "- Currently you are carrying -";
@@ -2625,8 +2631,9 @@ OnMyMobDead2:
// Orc Hero Helmet
//============================================================
-in_orcs01,31,93,1 script Orc Warrior#1 1023,2,2,{
+in_orcs01,31,93,1 script Orc Warrior#1 ORK_WARRIOR,2,2,{
OnTouch:
+ disable_items;
if (checkweight(1201,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
@@ -3495,7 +3502,7 @@ OnTouch:
}
}
-in_orcs01,162,33,1 script Orc Hero#1 1087,2,2,{
+in_orcs01,162,33,1 script Orc Hero#1 ORK_HERO,2,2,{
OnTouch:
if (checkweight(1201,1) == 0) {
mes "- Wait a minute !! -";
@@ -3625,14 +3632,14 @@ OnTouch:
close;
}
-//============================================================
+//============================================================
// Old changelog
-//============================================================
+//============================================================
//= 1.01 Fixed items names iRO->kRO, fixed some bugs [Qwadrat]
-//= Fixed possible item exploits, fixed Straw Hat
-//= Added missing checks [Lupus]
-//= 1.1 Fixed a bug in Giant-band-aid that didn't counting rotten bandages
-//= Fixed a bug in Fur Hat that didn't count yarn [Evera]
+//= Fixed possible item exploits, fixed Straw Hat
+//= Added missing checks [Lupus]
+//= 1.1 Fixed a bug in Giant-band-aid that didn't counting rotten bandages
+//= Fixed a bug in Fur Hat that didn't count yarn [Evera]
//= 1.2 Syntax fixes for parenthesis, reformatting [KarLaeda]
//= 1.3 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf]
//============================================================