diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-02 12:41:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-02 12:41:13 -0300 |
commit | c8cfdf0c64f67e00f627efc39894a9a8666b2f58 (patch) | |
tree | 4bf5a4df8285d20c34aef38facc628c948a3465d /npc/000-2-2 | |
parent | 435ace0cb46b9e636c423d3eaf07d9ebf419a7f8 (diff) | |
download | serverdata-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-2')
-rw-r--r-- | npc/000-2-2/doors.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/000-2-2/doors.txt b/npc/000-2-2/doors.txt index 8492b010..414545ef 100644 --- a/npc/000-2-2/doors.txt +++ b/npc/000-2-2/doors.txt @@ -18,7 +18,7 @@ L_Warn: if (.@q == 5) goto L_Warp; mesn "Narrator"; - mes col(l("There are still some rattos left! Do you want to abort the quest?"), 9); + mesc(l("There are still some rattos left! Do you want to abort the quest?"), 9); next; menu @@ -39,9 +39,9 @@ L_Warp: OnTouch: mesn "Narrator"; - mes col(l("It seems that you need a key to open this door."), 9); + mesc(l("It seems that you need a key to open this door."), 9); next; - mes col(l("What do you want to do?"), 9); + mesc(l("What do you want to do?"), 9); next; menu @@ -56,14 +56,14 @@ L_Break: mes ""; mesn "Narrator"; - mes col(l("You hear a loud scream. It must be the creaking of the wooden door..."), 9); + mesc(l("You hear a loud scream. It must be the creaking of the wooden door..."), 9); close; L_Warp: mes ""; mesn "Narrator"; - mes col(l("Wait, it seems someone is blocking the door from the other side!"), 9); + mesc(l("Wait, it seems someone is blocking the door from the other side!"), 9); close; } |