summaryrefslogtreecommitdiff
path: root/npc/025-1/ihclot.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/025-1/ihclot.txt')
-rw-r--r--npc/025-1/ihclot.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/025-1/ihclot.txt b/npc/025-1/ihclot.txt
index cc71ce666..13c5af8fd 100644
--- a/npc/025-1/ihclot.txt
+++ b/npc/025-1/ihclot.txt
@@ -25,7 +25,7 @@
// Request and confirm
.@id=requestitemindex();
if (!csys_Confirm(.@id))
- return false;
+ close;
// Find numeric ID
delinventorylist();
@@ -38,14 +38,14 @@
mesn;
mesq l("...What? Which item? Sorry, too much smoke around here.");
next;
- return;
+ close;
}
// Multiple
if (countitem(.@handle) != 1) {
mesn;
mesq l("Sorry, but you have multiple %s.", getitemlink(.@handle));
next;
- return;
+ close;
}
// Permission NG: (Not Granted)
if (.@lv < .minLevel) {
@@ -56,14 +56,14 @@
mesq l("Depending on the case, Nicholas, in Hurnscald, can do a better job than me.");
tutmes l("The selected item is too weak. %s will only tweak items level %d or higher.", .name$, .minLevel);
next;
- return;
+ close;
}
// Aleady slotted
if (getitemoptionidbyindex(.@id, 0) > 0) {
mesn;
mesq l("I'm not going to try to improve this masterpiece. Look its options!");
next;
- return;
+ close;
}
// Calculate price
@@ -88,7 +88,7 @@
// Ask player to confirm
if (!csys_Confirm(.@id))
- return false;
+ close false;
// Perform payment
Zeny-=getPriceInt(.@price, @menuret);