summaryrefslogtreecommitdiff
path: root/npc/re/merchants
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-08-29 17:40:13 +0100
committerhemagx <ibrahem.h.basyone@gmail.com>2016-09-02 04:56:00 +0200
commit0f1d0507eb95cf07ce7eb66d89ad9853938612e6 (patch)
tree57780b1ecc7c5ae125be1c89406f8db1e00a581b /npc/re/merchants
parent0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff)
downloadhercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.gz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.bz2
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.xz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.zip
change *strcharinfo to use constants
Diffstat (limited to 'npc/re/merchants')
-rw-r--r--npc/re/merchants/diamond.txt12
-rw-r--r--npc/re/merchants/ticket_refiner.txt2
2 files changed, 7 insertions, 7 deletions
diff --git a/npc/re/merchants/diamond.txt b/npc/re/merchants/diamond.txt
index 9d1108875..665af5e6a 100644
--- a/npc/re/merchants/diamond.txt
+++ b/npc/re/merchants/diamond.txt
@@ -122,14 +122,14 @@
mes .@npc$;
mes "What is your name?";
next;
- mes "[" + strcharinfo(0) + "]";
- mes "My name is " + strcharinfo(0) + ".";
+ mes "[" + strcharinfo(PC_NAME) + "]";
+ mes "My name is " + strcharinfo(PC_NAME) + ".";
next;
mes .@npc$;
mes "Alright then, please sign here.";
next;
input .@charname$;
- if (.@charname$ == strcharinfo(0)) {
+ if (.@charname$ == strcharinfo(PC_NAME)) {
mes .@npc$;
mes "Okay, good.";
mes "All that is left now is payment.";
@@ -190,8 +190,8 @@
mes .@npc$;
mes "What is your name?";
next;
- mes "[" + strcharinfo(0) + "]";
- mes "My name is " + strcharinfo(0) + ".";
+ mes "[" + strcharinfo(PC_NAME) + "]";
+ mes "My name is " + strcharinfo(PC_NAME) + ".";
next;
mes .@npc$;
mes "Alright then, please sign here.";
@@ -203,7 +203,7 @@
close;
}
input .@charname$;
- if (.@charname$ == strcharinfo(0)) {
+ if (.@charname$ == strcharinfo(PC_NAME)) {
mes .@npc$;
mes "Your signature has been received.";
mes "I will now take your ^FF82FF'17 Carat Diamond'^000000..";
diff --git a/npc/re/merchants/ticket_refiner.txt b/npc/re/merchants/ticket_refiner.txt
index 7d5aeffe7..5b69fbc38 100644
--- a/npc/re/merchants/ticket_refiner.txt
+++ b/npc/re/merchants/ticket_refiner.txt
@@ -174,7 +174,7 @@ prontera,184,177,6 script Refine Master 4_M_REPAIR,{
emotion e_ho;
mes "[Refine Master]";
mes "Alright, here it is~";
- mes "Well, ^0000FF"+strcharinfo(0)+"^000000!";
+ mes "Well, ^0000FF"+strcharinfo(PC_NAME)+"^000000!";
mes "Congratulations on your shining "+.@type$+".";
mes "You look GREAT!";
mes "Farewell~!";