summaryrefslogtreecommitdiff
path: root/npc/001-1/flyingpiou.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-02 12:41:13 -0300
committergumi <git@gumi.ca>2018-07-05 14:16:00 -0400
commite5b03ddac013749e1ae7c7805e1533d1a3df531a (patch)
tree3b7796198bdd90018eb3690cc8cf516dc515e0b5 /npc/001-1/flyingpiou.txt
parentc88088ba36a6577ce81f6ed6cf1d0ceea73cd91b (diff)
downloadserverdata-e5b03ddac013749e1ae7c7805e1533d1a3df531a.tar.gz
serverdata-e5b03ddac013749e1ae7c7805e1533d1a3df531a.tar.bz2
serverdata-e5b03ddac013749e1ae7c7805e1533d1a3df531a.tar.xz
serverdata-e5b03ddac013749e1ae7c7805e1533d1a3df531a.zip
mesc() is a function to optimize mes(col(l())), saving parenthesis.
mesc() is a short for mes(col()). It should make coding colored code easier. The default color value is "9", same from narrator, but this default value is not used anymore. I assume mes* functions are legacy for this project, so fell free to reject the patch.
Diffstat (limited to 'npc/001-1/flyingpiou.txt')
-rw-r--r--npc/001-1/flyingpiou.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/001-1/flyingpiou.txt b/npc/001-1/flyingpiou.txt
index f6132f6b..bb8440b3 100644
--- a/npc/001-1/flyingpiou.txt
+++ b/npc/001-1/flyingpiou.txt
@@ -50,7 +50,7 @@ function script ArtisFlyingPiouLogic {
if (.@q != 1)
{
mesn "Narrator";
- mes col(l("You scare the piou, but let it go."), 9);
+ mesc(l("You scare the piou, but let it go."), 9);
close;
}
@@ -75,7 +75,7 @@ function script ArtisFlyingPiouLogic {
npcwalkto .@x, .@y;
.@trader$ = "Salem#001-1";
mesn "Narrator";
- mes col(l("You caught the piou, but it's trying to escape from you. You'd better hurry back to Salem."), 9);
+ mesc(l("You caught the piou, but it's trying to escape from you. You'd better hurry back to Salem."), 9);
set getvariableofnpc(.LastPiouHunter$, .@trader$), strcharinfo(0);
set getvariableofnpc(.PiouEscapedMessage$, .@trader$), l("Oh no, the piou escaped!");
set getvariableofnpc(.LastPiouHunterID, .@trader$), .@charid;