diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-02 12:41:13 -0300 |
---|---|---|
committer | gumi <git@gumi.ca> | 2018-07-05 14:16:00 -0400 |
commit | e5b03ddac013749e1ae7c7805e1533d1a3df531a (patch) | |
tree | 3b7796198bdd90018eb3690cc8cf516dc515e0b5 /npc/001-2-23 | |
parent | c88088ba36a6577ce81f6ed6cf1d0ceea73cd91b (diff) | |
download | serverdata-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-2-23')
-rw-r--r-- | npc/001-2-23/doors.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/001-2-23/doors.txt b/npc/001-2-23/doors.txt index f4495ef7..cba40446 100644 --- a/npc/001-2-23/doors.txt +++ b/npc/001-2-23/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; } |