summaryrefslogtreecommitdiff
path: root/npc/000-2-0
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-02 12:41:13 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-02 12:41:13 -0300
commitc8cfdf0c64f67e00f627efc39894a9a8666b2f58 (patch)
tree4bf5a4df8285d20c34aef38facc628c948a3465d /npc/000-2-0
parent435ace0cb46b9e636c423d3eaf07d9ebf419a7f8 (diff)
downloadserverdata-jesusalva/mesc.tar.gz
serverdata-jesusalva/mesc.tar.bz2
serverdata-jesusalva/mesc.tar.xz
serverdata-jesusalva/mesc.zip
mesc() is a function to optimize mes(col(l())), saving parenthesis.jesusalva/mesc
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/000-2-0')
-rw-r--r--npc/000-2-0/billybons.txt4
-rw-r--r--npc/000-2-0/doors.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/npc/000-2-0/billybons.txt b/npc/000-2-0/billybons.txt
index 23e056a8..1ca803dc 100644
--- a/npc/000-2-0/billybons.txt
+++ b/npc/000-2-0/billybons.txt
@@ -13,7 +13,7 @@
next;
mesn "Narrator";
- mes col(l("The sailor chugs his beer."), 9);
+ mesc(l("The sailor chugs his beer."), 9);
next;
select
@@ -85,7 +85,7 @@ L_Quit:
next;
mesn "Narrator";
- mes col(l("The sailor turns his back to you."), 9);
+ mesc(l("The sailor turns his back to you."), 9);
close;
diff --git a/npc/000-2-0/doors.txt b/npc/000-2-0/doors.txt
index dd65645c..a60b0c80 100644
--- a/npc/000-2-0/doors.txt
+++ b/npc/000-2-0/doors.txt
@@ -40,7 +40,7 @@ OnTouch:
next;
mesn "Narrator";
- mes col(l("Captain Nard is in the room to your right."), 9);
+ mesc(l("Captain Nard is in the room to your right."), 9);
next;
restorecam;