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-1 | |
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-1')
-rw-r--r-- | npc/001-1/cookiemaster.txt | 6 | ||||
-rw-r--r-- | npc/001-1/flyingpiou.txt | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/npc/001-1/cookiemaster.txt b/npc/001-1/cookiemaster.txt index f04a4797..b62014fa 100644 --- a/npc/001-1/cookiemaster.txt +++ b/npc/001-1/cookiemaster.txt @@ -133,13 +133,13 @@ L_Friends: next; mesn "Narrator"; - mes col(l("This Cookie Master rewards people who contribute and develop this world."), 9); + mesc(l("This Cookie Master rewards people who contribute and develop this world."), 9); next; mes col(lg("If you want to be rewarded, help us in making this world a better place."), 9); next; - mes col(l("When you see something that looks more like a bug than a feature, report it on http://bugs.evolonline.org or try to contact a game contributor."), 9); + mesc(l("When you see something that looks more like a bug than a feature, report it on http://bugs.evolonline.org or try to contact a game contributor."), 9); next; - mes col(l("Any contribution to the game (translations, graphics creation/edition, concepts, coding/scripting, etc...) is rewarded!"), 9); + mesc(l("Any contribution to the game (translations, graphics creation/edition, concepts, coding/scripting, etc...) is rewarded!"), 9); mes ""; mesn; 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; |