From 06526e32ea7608dfc62ad5aeca91cf78ff3a446f Mon Sep 17 00:00:00 2001 From: euphyy Date: Mon, 25 Feb 2013 03:04:33 +0000 Subject: * Part one of fixing bugreport:6527. This does not yet change functionality. -- Added 'disable_items' to all applicable scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17160 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/custom/card_remover.txt | 8 +++++++- npc/custom/item_signer.txt | 6 ++++-- npc/custom/quests/quest_shop.txt | 3 ++- 3 files changed, 13 insertions(+), 4 deletions(-) (limited to 'npc/custom') diff --git a/npc/custom/card_remover.txt b/npc/custom/card_remover.txt index 1e0a1c8f7..45e5e42c8 100644 --- a/npc/custom/card_remover.txt +++ b/npc/custom/card_remover.txt @@ -3,18 +3,24 @@ //===== By: ================================================== //= TyrNemesis^ //===== Current Version: ===================================== -//= 1.2 +//= 1.2a +//===== Compatible With: ===================================== +//= Hercules Git //===== Description: ========================================= //= Removes cards from equipped items. //===== Additional Comments: ================================= //= 1.0 First version. [TyrNemesis^] //= 1.2 Optimized and fixed getequipname menu. [Kisuka] +//= 1.2a Added 'disable_items' command. [Euphy] //============================================================ prt_in,28,73,4 script Wise Old Woman#eAcustom 78,{ + set .zenycost,200000; // Set base cost in zeny of the card remover services set .percardcost,25000; // set cost per card of the card remover services set .faildestroy,1; // Should the card remover have a chance of failure that destroys items? 1 = Yes, 0 = No. + + disable_items; mes "[Wise Old Woman]"; mes "Good day, young one. I have the power to remove cards that you have compounded onto your equipment. Does this idea please you?"; next; diff --git a/npc/custom/item_signer.txt b/npc/custom/item_signer.txt index a3aba3771..96c33ba00 100644 --- a/npc/custom/item_signer.txt +++ b/npc/custom/item_signer.txt @@ -3,20 +3,22 @@ //===== By: ================================================== //= Lupus //===== Current Version: ===================================== -//= 1.1 +//= 1.1a //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= Write you name on your rare equipment or weapon ^_- //===== Additional Comments: ================================= //= 1.1 Cleaned and edited for general use. [Euphy] +//= 1.1a Added 'disable_items' command. [Euphy] //============================================================ prt_in,24,61,7 script Perchik 47,{ setarray .@Item[0],644,3; // Item requirements: ,{,...} (0 to disable) setarray .@Cost[0],0,5000; // Zeny requirements: , - + + disable_items; mes "[Perchik]"; mes "I can ^0055FFsign your name^000000 on almost any rare item you hold."; next; diff --git a/npc/custom/quests/quest_shop.txt b/npc/custom/quests/quest_shop.txt index 539c29f23..ec4556721 100644 --- a/npc/custom/quests/quest_shop.txt +++ b/npc/custom/quests/quest_shop.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= Euphy //===== Current Version: ===================================== -//= 1.6 +//= 1.6a //===== Compatible With: ===================================== //= rAthena SVN r16862+ //===== Description: ========================================= @@ -107,6 +107,7 @@ OnBuyItem: message strcharinfo(0),"You can't purchase that many "+getitemname(.@q[0])+"."; end; } + disable_items; mes "[Quest Shop]"; mes "Reward: ^0055FF"+((.@q[2] > 1)?.@q[2]+"x ":"")+Slot(.@q[0])+"^000000"; mes "Requirements:"; -- cgit v1.2.3-60-g2f50