summaryrefslogtreecommitdiff
path: root/world/map/npc/029-2
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2015-06-24 12:28:42 -0500
committerWushin <pasekei@gmail.com>2015-06-24 12:28:42 -0500
commit9c42e7f35fc15a8424742593c09282aaeeec69a9 (patch)
tree7a18c6593fc8fdf5b0d330b824b4ac9dcec626e7 /world/map/npc/029-2
parent49b85f23157c2bd7e6919bf2a809e0893276f749 (diff)
parent9c80735ee437f90b2baefbbfcdf6c5829234c908 (diff)
downloadclassic-serverdata-9c42e7f35fc15a8424742593c09282aaeeec69a9.tar.gz
classic-serverdata-9c42e7f35fc15a8424742593c09282aaeeec69a9.tar.bz2
classic-serverdata-9c42e7f35fc15a8424742593c09282aaeeec69a9.tar.xz
classic-serverdata-9c42e7f35fc15a8424742593c09282aaeeec69a9.zip
Merge pull request #403 from mekolat/npctalk
allow to specify emitter and receiver in npctalk
Diffstat (limited to 'world/map/npc/029-2')
-rw-r--r--world/map/npc/029-2/sorfina.txt7
-rw-r--r--world/map/npc/029-2/tanisha.txt12
2 files changed, 10 insertions, 9 deletions
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;
}