Procházet zdrojové kódy

Changed item names to item IDs on some scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11798 54d463be-8e91-2dee-dedb-b68131a5f0ec
samuray22 před 17 roky
rodič
revize
b0ea3f6d70

+ 2 - 0
npc/Changelog.txt

@@ -1,5 +1,7 @@
 Date		Added
 ======
+2007/11/25
+	* Changed item names to item IDs on some scripts. [Samuray22]
 2007/11/24
 	* Rescripted Soul Linker Quest to Aegis 10.3 Standars. [Samuray22]
 	- Bug testing Required.

+ 3 - 2
npc/events/custom/uneasy_cemetery.txt

@@ -3,7 +3,7 @@
 //===== By: ================================================== 
 //= Lupus
 //===== Current Version: ===================================== 
-//= 1.2 (Tested and fully working!)
+//= 1.2a (Tested and fully working!)
 //===== Compatible With: ===================================== 
 //= eAthena Version 1.0
 //===== Description: ========================================= 
@@ -16,6 +16,7 @@
 //===== Additional Comments: ================================= 
 //= 1.1 More advanced ver. Added some bonus the the one who'd kill the last walking undead
 //= 1.2 Added coords to the script to make label OmMobDead working
+//= 1.2a Changed item names to item IDs. [Samuray22]
 //============================================================ 
 
 
@@ -109,7 +110,7 @@ L_Undead_Walk:
 	if (Sex==0) mapannounce "prontera","[Mother Mathana]: In the name of Odin we declare beautiful "+$UNEASY_H$+" as a Prontera savior!",0;
 	mes "[Mother Mathana]";
 	mes "In the name of Odin we bless you and decently present a modest gift just from Mareusis' wine-cellar.";
-	getitem "Blue_Potion",1;
+	getitem 505,1; //Blue_Potion
 	set JobExp,JobExp+100;
 	set BaseExp,BaseExp+50;
 	close;

+ 16 - 13
npc/jobs/2-1e/StarGladiator.txt

@@ -3,22 +3,18 @@
 //===== By: ================================================== 
 //= Celestria, Samuray22
 //===== Current Version: ===================================== 
-//= 1.1a
+//= 1.1c
 //===== Compatible With: ===================================== 
 //= eAthena 1.0 +
 //===== Description: ========================================= 
 //= [Aegis Conversion]
 //= Job Change quest for Star Gladiator class.
 //===== Additional Comments: ================================= 
-//= A temp Star Gladiator Job Changer based on the kRO quest.
-//= Quest info from RagnaInfo.
-//= Sprites from kRO screenshots, bar two which I just had to guess at.
-//= 1.0 Optimized, updated [Lupus]
 //= 1.1 Updated to the Aegis Standards. [Samuray22]
 //= 1.1a Corrected a minor error respect to the header. [Samuray22]
 //= 1.1b Corrected NPC name length warning. [L0ne_W0lf]
-//============================================================ 
-
+//= 1.1c Changed item names to item IDs. [Samuray22]
+//============================================================
 
 payon,215,102,5	script	Moohyun#job_star	828,3,3,{	
 	if (Class == Job_Taekwon) {
@@ -428,7 +424,7 @@ comodo,172,230,5	script	Wandering Master#job_sta	730,{
 				mes "to the grand scheme of things.";
 				close;
 		} else if(STGL_Q == 2) {
-			if (countitem("Rough_Wind") > 0 && countitem("Great_Nature") > 0 && countitem("Mistic_Frozen") > 0 && countitem("Flame_Heart") > 0) {
+			if (countitem(994) > 0 && countitem(995) > 0 && countitem(996) > 0 && countitem(997) > 0) {
 				mes "[Moogang]";
 				mes "Ah, you've completed the";
 				mes "task I've set for you. Very";
@@ -475,10 +471,10 @@ comodo,172,230,5	script	Wandering Master#job_sta	730,{
 				mes "and all things. Now, when you";
 				mes "are ready for the next test, then^FFFFFF ^000000";
 				mes "I shall guide you to the altar.";
-				delitem "Rough_Wind", 1;
-				delitem "Great_Nature", 1;
-				delitem "Mistic_Frozen", 1;
-				delitem "Flame_Heart", 1;
+				delitem 994, 1; //Flame Heart
+				delitem 995, 1; //Mystic Frozen
+				delitem 996, 1; //Rough Wind
+				delitem 997, 1; //Great Nature
 				set STGL_Q, 3;
 				close;
 			}
@@ -1594,4 +1590,11 @@ job_star,161,33,2	script	Cheehee#job_star	77,{
 			mes "time and enjoy the";
 			mes "starlight in this room...";
 			close;
-}
+}
+
+//===== Old Changelog: ================================= 
+//= A temp Star Gladiator Job Changer based on the kRO quest.
+//= Quest info from RagnaInfo.
+//= Sprites from kRO screenshots, bar two which I just had to guess at.
+//= 1.0 Optimized, updated [Lupus]
+//============================================================ 

+ 8 - 7
npc/quests/gunslinger_quests.txt

@@ -3,7 +3,7 @@
 //===== By: ==================================================
 //= Playtester
 //===== Current Version: =====================================
-//= 1.6a
+//= 1.6b
 //===== Compatible With: =====================================
 //= SVN eA
 //===== Description: =========================================
@@ -19,6 +19,7 @@
 //= 1.6 Updated Garrison Quest - Credits to Lazarus^ for
 //= making the first official version. [SinSloth]
 //= 1.6a Removed .GATs [Lupus]
+//= 1.6b Changed item names to item IDs on some scripts. [Samuray22]
 //============================================================
 
 
@@ -304,13 +305,13 @@ SubGarrison:
 			mes "Hmm, looks like the correct amount of materials and Zeny.";
 			mes "Here's a Garrison~";
 			mes "If you need one again, come and see me~";
-			delitem 999,50;
-			delitem "Oridecon",1;
-			delitem 7317,20;
-			delitem 985,3;
-			delitem 1003,50;
+			delitem 984,1; //Oridecon
+			delitem 985,3; //Elunium
+			delitem 999,50; //Steel
+			delitem 1003,50; //Coal
+			delitem 7317,20; //Rusty Screw
 			set Zeny,Zeny-30000;
-			getitem 13104,1;
+			getitem 13104,1; //Garrison
 			close;
 
 		case 3:

+ 44 - 43
npc/quests/quests_lutie.txt

@@ -3,7 +3,7 @@
 //===== By: ================================================== 
 //= TonyMan & Samuray22
 //===== Current Version: ===================================== 
-//= 1.3
+//= 1.3a
 //===== Compatible With: ===================================== 
 //= eAthena 1.0
 //===== Description: ========================================= 
@@ -13,6 +13,7 @@
 //= 1.1 Optimized [Lupus]
 //= 1.2 Fixed Chef Hat items [Lupus]
 //= 1.3 Update NPC to the Official One. [Samuray22]
+//= 1.3a Changed item names to item IDs. [Samuray22]
 //============================================================ 
 
 xmas,117,295,3	script	Vending Machine Man	704,{
@@ -221,91 +222,91 @@ xmas,115,297,3	script	Vending Machine	111,{
 		mes "Thank you";
 		close;
 	case 2:
-		if (countitem("Cat_Hairband") > 0 && countitem("Dragon_Scale") > 19 && countitem("Tough_Scalelike_Stem") > 199 && countitem("Sea_Otter_Leather") > 299) {
+		if (countitem(2213) > 0 && countitem(1036) > 19 && countitem(7012) > 199 && countitem(7065) > 299) {
 			callfunc "Vending Machine","good";
 			next;
-			delitem "Cat_Hairband", 1;
-			delitem "Dragon_Scale", 20;
-			delitem "Tough_Scalelike_Stem", 200;
-			delitem "Sea_Otter_Leather", 300;
-			getitem "Smokie_Hat", 1;
+			delitem 2213, 1; //Kitty Band
+			delitem 1036, 20; //Dragon Scale 
+			delitem 7012", 200; //Tough Scalelike Stem
+			delitem 7065, 300; //Sea-Otter Fur
+			getitem 5033, 1; //Raccoon Hat
 			callfunc "Vending Machine","finish";
 		}
 			callfunc "Vending Machine","bad";
 	case 3:
-		if (countitem("Poison_Spore") > 849 && countitem("Burn_Tree") > 299 && countitem("Thin_N'_Long_Tongue") > 0) {
+		if (countitem(7033) > 849 && countitem(7068) > 299 && countitem(1015) > 0) {
 			callfunc "Vending Machine","good";
 			next;
-			delitem "Poison_Spore", 850;
-			delitem "Burn_Tree", 300;
-			delitem "Thin_N'_Long_Tongue", 1;
-			getitem "Spore_Hat", 1;
+			delitem 7033, 850; //Poison Spore
+			delitem 7068, 300; //Burnt Tree
+			delitem 1015, 1; //Tongue
+			getitem 5029, 1; //Spore Hat
 			callfunc "Vending Machine","finish";
 		}
 			callfunc "Vending Machine","bad";
 	case 4:
-		if (countitem("Fruit_Shell") > 0 && countitem("Dragon_Fly_Wing") > 499) {
+		if (countitem(5037) > 0 && countitem(7064) > 499) {
 			callfunc "Vending Machine","good";
 			next;
-			delitem "Fruit_Shell", 1;
-			delitem "Dragon_Fly_Wing", 500;
-			getitem "Mystery_Fruit_Shell", 1;
+			delitem 5037, 1; //Nutshell
+			delitem 7064, 500; //Wing of Dragonfly
+			getitem 5050, 1; //Wonder Nutshell
 			callfunc "Vending Machine","finish";
 		}
 			callfunc "Vending Machine","bad";
 	case 5:
-		if (countitem("Egg_Shell") > 0 && countitem("Cobaltblue_Dyestuffs") > 0 && countitem("Claw_Of_Desert_Wolf") > 49) {
+		if (countitem(5015) > 0 && countitem(978) > 0 && countitem(7030) > 49) {
 			callfunc "Vending Machine","good";
 			next;
-			delitem "Egg_Shell", 1;
-			delitem "Cobaltblue_Dyestuffs", 1;
-			delitem "Claw_Of_Desert_Wolf", 50;
-			getitem "Mottled_Egg_Shell", 1;
+			delitem 5015, 1; //Egg Shell
+			delitem 978, 1; //Cobaltblue Dyestuff
+			delitem 7030, 50; //Claw of Desert Wolf
+			getitem 5039, 1; //Rainbow Eggshell
 			callfunc "Vending Machine","finish";
 		}
 			callfunc "Vending Machine","bad";
 	case 6:
-		if (countitem("Alice's_Apron") > 99) {
+		if (countitem(7047) > 99) {
 			callfunc "Vending Machine","good";
 			next;
-			delitem "Alice's_Apron", 100;
-			getitem "Blush", 1;
+			delitem 7047, 100; //Alice's Apron
+			getitem 5040, 1; //Blush
 			callfunc "Vending Machine","finish";
 		}
 			callfunc "Vending Machine","bad";
 	case 7:
-		if (countitem("Piece_Of_Cake") > 119 && countitem("White_Dyestuffs") > 0 && countitem("Feather") > 329 && countitem("Dragon_Scale") > 449) {
+		if (countitem(539) > 119 && countitem(982) > 0 && countitem(949) > 329 && countitem(1036) > 449) {
 			callfunc "Vending Machine","good";
 			next;
-			delitem "Piece_Of_Cake", 120;
-			delitem "White_Dyestuffs", 1;
-			delitem "Feather", 330;
-			delitem "Dragon_Scale", 450;
-			getitem "Hat_Of_Cook", 1;
+			delitem 539, 120; //Piece of Cake
+			delitem 982, 1; //White Dyestuff
+			delitem 949, 330; //Feather
+			delitem 1036, 450; //Dragon Scale
+			getitem 5026, 1; //Chef Hat
 			callfunc "Vending Machine","finish";
 		}
 			callfunc "Vending Machine","bad";
 	case 8:
-		if (countitem("Bomb_Wick") > 0 && countitem("Matchstick") > 49 && countitem("Royal_Jelly") > 99) {
+		if (countitem(2279) > 0 && countitem(7035) > 49 && countitem(526) > 99) {
 			callfunc "Vending Machine","good";
 			next;
-			delitem "Bomb_Wick", 1;
-			delitem "Matchstick", 50;
-			delitem "Royal_Jelly", 100;
-			getitem "Candle", 1;
+			delitem 2279, 1; //Bomb Wick
+			delitem 7035, 50; //Matchstick
+			delitem 526, 100; //Royal Jelly
+			getitem 5028, 1; //Candle
 			callfunc "Vending Machine","finish";
 		}
 			callfunc "Vending Machine","bad";
 	case 9:
-		if (countitem("Candy") > 9 && countitem("Candy_Striper") > 4 && countitem("Well_Baked_Cookie") > 14 && countitem("Piece_Of_Cake") > 19 && countitem("Steel") > 9) {
+		if (countitem(529) > 9 && countitem(530) > 4 && countitem(538) > 14 && countitem(539) > 19 && countitem(999) > 9) {
 			callfunc "Vending Machine","good";
 			next;
-			delitem "Candy", 10;
-			delitem "Candy_Striper", 5;
-			delitem "Well_Baked_Cookie", 15;
-			delitem "Piece_Of_Cake", 20;
-			delitem "Steel", 10;
-			getitem "Hat_Of_Cake", 1;
+			delitem 529, 10; //Candy
+			delitem 530, 5; //Candy Cane
+			delitem 538, 15; //Well-baked Cookie
+			delitem 539, 20; //Piece of Cake
+			delitem 999, 10; //Steel
+			getitem 5024, 1; //Cake Hat
 			callfunc "Vending Machine","finish";
 		}
 			callfunc "Vending Machine","bad";
@@ -343,7 +344,7 @@ function	script	Vending Machine	{
 		mes "- weck weck !! -";
 		mes "- boom!! -";
 		mes "- ugh ! -";
-		if(countitem("Blush") > 0) {
+		if(countitem(5040) > 0) {
 			mes "- Wow . Blush !! -";
 			mes "- You are so cool -";
 			mes "- you know real fashion ! -";