summaryrefslogtreecommitdiff
path: root/npc/custom
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-02-25 03:04:33 +0000
committerStreusel <advance_me@hotmail.de>2013-02-25 21:22:29 -0800
commit06526e32ea7608dfc62ad5aeca91cf78ff3a446f (patch)
tree44b11e18fc4546563fea224004c2765148468688 /npc/custom
parent5c667ccb1e95614177d5c849761040be09abc746 (diff)
downloadhercules-06526e32ea7608dfc62ad5aeca91cf78ff3a446f.tar.gz
hercules-06526e32ea7608dfc62ad5aeca91cf78ff3a446f.tar.bz2
hercules-06526e32ea7608dfc62ad5aeca91cf78ff3a446f.tar.xz
hercules-06526e32ea7608dfc62ad5aeca91cf78ff3a446f.zip
* 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
Diffstat (limited to 'npc/custom')
-rw-r--r--npc/custom/card_remover.txt8
-rw-r--r--npc/custom/item_signer.txt6
-rw-r--r--npc/custom/quests/quest_shop.txt3
3 files changed, 13 insertions, 4 deletions
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: <ID>,<Count>{,...} (0 to disable)
setarray .@Cost[0],0,5000; // Zeny requirements: <base price>,<price per refine>
-
+
+ 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:";