summaryrefslogtreecommitdiff
path: root/npc/events/gdevent_sch.txt
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/events/gdevent_sch.txt
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/events/gdevent_sch.txt')
-rw-r--r--npc/events/gdevent_sch.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/events/gdevent_sch.txt b/npc/events/gdevent_sch.txt
index 4660e4598..1d6b892b7 100644
--- a/npc/events/gdevent_sch.txt
+++ b/npc/events/gdevent_sch.txt
@@ -123,7 +123,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{
mes "I can't live without it...";
next;
if (countitem(Pickaxe) > 0) {
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
mes "[Morestone]";
@@ -138,7 +138,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{
mes "You are great! What guild are you from?";
mes "Could it be Gravity or Mercury?";
next;
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "I am a member of the ^3131FF"+.@chk_yourgdname$+"^.";
next;
mes "[Morestone]";
@@ -255,7 +255,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{
mes "I can't live without it...";
next;
if (countitem(Pickaxe) > 0) {
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
mes "[Morestone]";
@@ -270,7 +270,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{
mes "You are great! What guild are you from?";
mes "Could it be Gravity or Mercury?";
next;
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "I am a member of the ^3131FF"+.@chk_yourgdname$+"^.";
next;
mes "[Morestone]";
@@ -397,7 +397,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{
mes "I can't live without it...";
next;
if (countitem(Pickaxe) > 0) {
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "Is this the pickaxe that you've been looking for?";
next;
mes "[Morestone]";
@@ -412,7 +412,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{
mes "You are great! What guild are you from?";
mes "Could it be Gravity or Mercury?";
next;
- mes "[" + strcharinfo(0) + "]";
+ mes "[" + strcharinfo(PC_NAME) + "]";
mes "I am a member of the ^3131FF"+.@chk_yourgdname$+"^.";
next;
mes "[Morestone]";
@@ -520,7 +520,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{
mes "- and come back later. -";
close;
}
- if (strcharinfo(0) == getguildmaster(getcharid(2))) {
+ if (strcharinfo(PC_NAME) == getguildmaster(getcharid(2))) {
if ($@gdeventv_s2 == 0) {
.@que_2143 = questprogress(2143,PLAYTIME);
if (!.@que_2143) {