diff options
Diffstat (limited to 'npc/custom/quests/quest_shop.txt')
-rw-r--r-- | npc/custom/quests/quest_shop.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/custom/quests/quest_shop.txt b/npc/custom/quests/quest_shop.txt index 2db3b069a..f96b4cb75 100644 --- a/npc/custom/quests/quest_shop.txt +++ b/npc/custom/quests/quest_shop.txt @@ -96,7 +96,7 @@ OnMenu: } deletearray @i[0],getarraysize(@i); if (.Shops$[.@i] == "") { - message strcharinfo(0),"An error has occurred."; + message strcharinfo(PC_NAME),"An error has occurred."; end; } dispbottom "Select one item at a time."; @@ -110,7 +110,7 @@ OnBuyItem: copyarray .@q[3],getd(".q_"+.@q[0]+"[0]"),getarraysize(getd(".q_"+.@q[0])); set .@q[2],.@q[1]*.@q[3]; if (!.@q[2] || .@q[2] > 30000) { - message strcharinfo(0),"You can't purchase that many "+getitemname(.@q[0])+"."; + message strcharinfo(PC_NAME),"You can't purchase that many "+getitemname(.@q[0])+"."; end; } mes "[Quest Shop]"; @@ -143,7 +143,7 @@ OnBuyItem: if (.@q[6]) for(set .@i,6; .@i<getarraysize(.@q); set .@i,.@i+2) delitem .@q[.@i],.@q[.@i+1]*.@q[1]; getitem .@q[0],.@q[2]; - if (.Announce) announce strcharinfo(0)+" has created "+((.@q[2] > 1)?.@q[2]+"x "+getitemname(.@q[0]):A_An(getitemname(.@q[0])))+"!",0; + if (.Announce) announce strcharinfo(PC_NAME)+" has created "+((.@q[2] > 1)?.@q[2]+"x "+getitemname(.@q[0]):A_An(getitemname(.@q[0])))+"!",0; specialeffect2 EF_FLOWERLEAF; close; case 2: |