From e2fe19ef95e052f8fbbd238321a68449a03876fe Mon Sep 17 00:00:00 2001 From: euphyy Date: Mon, 20 Aug 2012 20:16:42 +0000 Subject: * Fixed a typo in guild scripts, bugreport:6517 (guild\gefg_cas02.txt) * Misc. standardization... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16672 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/custom/item_signer.txt | 57 +++++++++++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 24 deletions(-) (limited to 'npc/custom/item_signer.txt') diff --git a/npc/custom/item_signer.txt b/npc/custom/item_signer.txt index a65e86873..a3aba3771 100644 --- a/npc/custom/item_signer.txt +++ b/npc/custom/item_signer.txt @@ -8,7 +8,6 @@ //= rAthena SVN //===== Description: ========================================= //= Write you name on your rare equipment or weapon ^_- -//= Original X-Mas mini-quest(could be used as a permanent one) //===== Additional Comments: ================================= //= 1.1 Cleaned and edited for general use. [Euphy] //============================================================ @@ -21,7 +20,7 @@ prt_in,24,61,7 script Perchik 47,{ mes "[Perchik]"; mes "I can ^0055FFsign your name^000000 on almost any rare item you hold."; next; - if(select("Tell me more...:Sign my items, please!")==1) { + if(select("Tell me more...:Sign my items, please!") == 1) { mes "[Perchik]"; mes "I can put your name on any slotless equipment or weapon."; emotion e_ic; @@ -29,11 +28,11 @@ prt_in,24,61,7 script Perchik 47,{ mes "[Perchik]"; if (getarraysize(.@Item) || getarraysize(.@Cost)) { mes "For my work I accept:"; - if (getarraysize(.@Item)) - for(set .@i,0; .@i4000 && .@slot[0]<5000) { mes "A card? Here?!"; mes "As I said before, I don't sign items with cards."; emotion e_hmm; - close; } + close; + } if (getiteminfo(.@id,10)) { mes "Sorry, I don't sign slotted items."; emotion e_sry; - close; } + close; + } getinventorylist; for(set .@i,0; .@i<@inventorylist_count; set .@i,.@i+1) if (@inventorylist_expire[.@i] != 0) { mes "Sorry, I don't sign rental items!"; emotion e_hmm; - close; } + close; + } set .@price, .@Cost[0]+(.@Cost[1]*.@ref); if (getarraysize(.@Item) || .@price) { mes "I will need:"; - if (getarraysize(.@Item)) - for(set .@i,0; .@i