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-0 | |
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-0')
-rw-r--r-- | npc/000-0/sailors.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/000-0/sailors.txt b/npc/000-0/sailors.txt index 160b4327..1adcb678 100644 --- a/npc/000-0/sailors.txt +++ b/npc/000-0/sailors.txt @@ -15,17 +15,17 @@ OnTouch: if (.@lang >= 0 && .@lang <= 9) Lang = .@lang; mesn "Narrator"; - mes col(l("You are on a raft, adrift in the sea."), 9); + mesc(l("You are on a raft, adrift in the sea."), 9); next; - mes col(l("With hunger, thirst, and sleep as your only companions, you have the disturbing realization that you can't remember anything of your former life or identity."), 9); + mesc(l("With hunger, thirst, and sleep as your only companions, you have the disturbing realization that you can't remember anything of your former life or identity."), 9); next; - mes col(l("All of a sudden, you hear voices from above."), 9); + mesc(l("All of a sudden, you hear voices from above."), 9); next; - mes col(l("Your body aches, even your hair hurts, and the bright daylight is painful."), 9); + mesc(l("Your body aches, even your hair hurts, and the bright daylight is painful."), 9); next; - mes col(l("But still, you open your eyes and see a large ship before you!"), 9); + mesc(l("But still, you open your eyes and see a large ship before you!"), 9); next; - mes col(l("Aboard stand sailors trying to communicate with you."), 9); + mesc(l("Aboard stand sailors trying to communicate with you."), 9); next; setcamnpc "Sailors", -64, -32; @@ -64,9 +64,9 @@ OnTouch: restorecam; mesn "Narrator"; - mes col(l("The sailors take you aboard their ship."), 9); + mesc(l("The sailors take you aboard their ship."), 9); next; - mes col(l("Click on the NPCs (Non-Player Characters) around you to continue the introduction."), 9); + mesc(l("Click on the NPCs (Non-Player Characters) around you to continue the introduction."), 9); next; warp "000-0-0", 26, 28; |