Mercurial > hg > batmud > ggrtf
changeset 672:cdd1a8301d66
Added a translator for "identify relic" messages.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 25 Sep 2007 23:09:41 +0000 |
parents | 6d3d4d66c4c4 |
children | 429fc2e9f5a8 |
files | ggrtf-nun.tf |
diffstat | 1 files changed, 50 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ggrtf-nun.tf Mon Sep 24 16:27:25 2007 +0000 +++ b/ggrtf-nun.tf Tue Sep 25 23:09:41 2007 +0000 @@ -217,6 +217,7 @@ /endif%;\ /set nun_task_n=%;/set nun_task_t=0%;/set nun_task_c=0 + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; /np command to @@npray each partymember ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -233,3 +234,52 @@ /for _ccol 1 3 \ /for _crow 1 3 \ /test gnun_npray(_crow,_ccol) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Identify relic translator +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +/def -i gnun_id_relic =\ + /let _tpower=%{1}%;\ + /if (regmatch("(Adelice|Zilvia|Lisandra|Elonore)",{2})) /let _ttype=Holy Power%;\ + /elseif (regmatch("(Dagmar|Malkah|Octavia|Samaria)",{2})) /let _ttype=Dispel Power%;\ + /elseif (regmatch("(Trenna|Dorelle|Brandais|Wilona)",{2})) /let _ttype=Protective Power%;\ + /else /let _ttype=St. %{2}%;/endif%;\ + /substitute -p @{BCyellow}$[pad(_ttype,20)]@{n} @{BCred}==>@{n} @{BCgreen}%{_tpower}@{n} + +/def -i -p9999 -mregexp -t"^Dazzling white fume takes over relic as ([A-Za-z]+) might of St. ([A-Z][a-z]+) reveals itself\.$" gnun_id_relic0 =\ + /test gnun_id_relic({P1},{P2}) + +/def -i -p9999 -mregexp -t"^([A-Za-z]+) power of St. ([A-Z][a-z]+) is bind to it\.$" gnun_id_relic1 =\ + /test gnun_id_relic({P1},{P2}) + +/def -i -p9999 -mregexp -t"^([A-Za-z]+) aura of St. ([A-Z][a-z]+)'s features enfolds it\.$" gnun_id_relic2 =\ + /test gnun_id_relic({P1},{P2}) + +/def -i -p9999 -mregexp -t"^The ([A-Za-z]+) magic of St. ([A-Z][a-z]+) streams through your hands\.$" gnun_id_relic3 =\ + /test gnun_id_relic({P1},{P2}) + +/def -i -p9999 -mregexp -t"^Twinkling white glow with ([A-Za-z]+) essence of St. ([A-Z][a-z]+) is bind to this holy artifact\.$" gnun_id_relic4 =\ + /test gnun_id_relic({P1},{P2}) + +/def -i -p9999 -mregexp -t"^([A-Za-z]+) zilvery force of St. ([A-Z][a-z]+) radiates from it\.$" gnun_id_relic5 =\ + /test gnun_id_relic({P1},{P2}) + +/def -i -p9999 -mregexp -t"^Warmth of St. ([A-Z][a-z]+) rushes from relic in form of ([A-Za-z]+) sparkles\.$" gnun_id_relic6 =\ + /test gnun_id_relic({P2},{P1}) + +/def -i -p9999 -mregexp -t"^You sense ([A-Za-z]+) glow of St. ([A-Z][a-z]+)\.$" gnun_id_relic7 =\ + /test gnun_id_relic({P1},{P2}) + +/def -i -p9999 -mregexp -t"^([A-Za-z]+) warmth belonging to St. ([A-Z][a-z]+) pulsates beneath the surface\.$" gnun_id_relic8 =\ + /test gnun_id_relic({P1},{P2}) + +/def -i -p9999 -mregexp -t"^St. ([A-Z][a-z]+)'s spirit is ([A-Za-z]+) with this artifact\.$" gnun_id_relic9 =\ + /test gnun_id_relic({P2},{P1}) + +/def -i -p9999 -mregexp -t"^([A-Za-z]+) strenght of St. ([A-Z][a-z]+) gushes from the core of relic\.$" gnun_id_relic10 =\ + /test gnun_id_relic({P1},{P2}) + + +;/def -i -p9999 -mregexp -t"^\.$" gnun_id_relic8 =\ +; /test gnun_id_relic({P1},{P2}) +