From 9c80735ee437f90b2baefbbfcdf6c5829234c908 Mon Sep 17 00:00:00 2001 From: mekolat Date: Sat, 23 May 2015 11:00:00 -0400 Subject: allow to specify emitter and receiver in npctalk --- world/map/npc/029-2/sorfina.txt | 7 ++++--- world/map/npc/029-2/tanisha.txt | 12 ++++++------ 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'world/map/npc/029-2') diff --git a/world/map/npc/029-2/sorfina.txt b/world/map/npc/029-2/sorfina.txt index f083396c..940c61a4 100644 --- a/world/map/npc/029-2/sorfina.txt +++ b/world/map/npc/029-2/sorfina.txt @@ -312,7 +312,8 @@ L_CloseDis: end; L_Block: - message strcharinfo(0), "Sorfina: Wait a moment! You're not ready to leave."; + message strcharinfo(0), "##3Sorfina : ##BWait a moment! ##bYou're not ready to leave."; + // FIXME: this should be changed to npctalk with strcharinfo(0) once we increase the view area end; } 029-2,23,24,0|script|#GameRules1|32767,0,1 @@ -342,7 +343,7 @@ L_Block: goto L_Close; L_KnockBack: - message strcharinfo(0), "Please Accept the Game rules"; + message strcharinfo(0), "##1Server : ##BPlease Accept the Game rules"; warp "029-2", 22, 24; goto L_Close; @@ -356,7 +357,7 @@ L_Close: goto L_Close; L_KnockBack: - message strcharinfo(0), "Please Accept the Game rules"; + message strcharinfo(0), "##1Server : ##BPlease Accept the Game rules"; warp "029-2", 22, 24; goto L_Close; diff --git a/world/map/npc/029-2/tanisha.txt b/world/map/npc/029-2/tanisha.txt index 0a594410..012f93ff 100644 --- a/world/map/npc/029-2/tanisha.txt +++ b/world/map/npc/029-2/tanisha.txt @@ -211,7 +211,7 @@ L_Next2: goto L_Fight_Again; L_Fighting: - message strcharinfo(0), "Tanisha: I believe in you!"; + npctalk strnpcinfo(0), "##3I believe in you!", strcharinfo(0); end; OnTimer1000: @@ -238,16 +238,16 @@ OnTick: if (Hp > 20) end; heal MaxHp, 0; - message strcharinfo(0), "Tanisha: You're doing good!"; + npctalk strnpcinfo(0), "##3You're doing good!", strcharinfo(0); end; OnMaggotDeath: if (@Maggot_Kills == 1) - message strcharinfo(0), "Tanisha: Aaahhhh... another one! It will crawl up your legs!"; + npctalk strnpcinfo(0), "##3Aaahhhh... another one! It will crawl up your legs!", strcharinfo(0); if (@Maggot_Kills == 2) - message strcharinfo(0), "Tanisha: Ohh... Irrhk... Eeeeww... They just appear from nowhere!"; + npctalk strnpcinfo(0), "##3Ohh... Irrhk... Eeeeww... They just appear from nowhere!", strcharinfo(0); if (@Maggot_Kills == 3) - message strcharinfo(0), "Tanisha: Yuck... I think I am getting sick."; + npctalk strnpcinfo(0), "##3Yuck... I think I am getting sick.", strcharinfo(0); if (isin("029-2", 98, 84, 106, 89)) set @Maggot_Kills, @Maggot_Kills + 1; if (@Maggot_Kills < 5) @@ -283,6 +283,6 @@ L_Warp: end; L_Block: - message strcharinfo(0), "Tanisha: Please come here. I'd like some help!"; + npctalk "Tanisha", "##3##BPlease come here. ##bI'd like some help!", strcharinfo(0); end; } -- cgit v1.2.3-70-g09d2