changeset 657:cce8fa61ec2d

Align translator added.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 01 Aug 2007 08:33:48 +0000
parents d9cef515cbc4
children 3f2de3f88bcf
files ggrtf-misc.tf
diffstat 1 files changed, 25 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ggrtf-misc.tf	Wed Jul 25 22:42:16 2007 +0000
+++ b/ggrtf-misc.tf	Wed Aug 01 08:33:48 2007 +0000
@@ -294,6 +294,31 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Camping / lullaby / etc.
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+/set defalign_n=0
+/def -i gdefalign =\
+	/def -i -msimple -t"You are %{2}." galign_tr%{defalign_n} =\
+	/substitute -p You are @{Cyellow}%{2}@{n}. (@{BCred}-7@{n} @{Cred}..@{n} @{BCwhite}%{1}@{n} @{Cgreen}..@{n} @{BCgreen}+7@{n})%;\
+	/set defalign_n=$[defalign_n+1]
+
+/test gdefalign(-7, "Draen-Dalar's love child")
+/test gdefalign(-6, "nefariously evil to the core")
+/test gdefalign(-5, "morally bankrupt")
+/test gdefalign(-4, "a malignant growth on the face of society")
+/test gdefalign(-3, "a malevolent fiend")
+/test gdefalign(-2, "a spiteful bastard")
+/test gdefalign(-1, "an unwholesome rogue")
+/test gdefalign( 0, "neutral")
+/test gdefalign( 1, "good and the gods smile on you")
+/test gdefalign( 2, "a beneficent being")
+/test gdefalign( 3, "irreproachably kind")
+/test gdefalign( 4, "pure at heart")
+/test gdefalign( 5, "a blessing to the world")
+/test gdefalign( 6, "Aveallis's gift to mankind")
+/test gdefalign( 7, "an angel in disguise")
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; Camping / lullaby / etc.
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 /def -i -p9999 -aCgreen -mregexp -t"^You (stretch yourself and consider about camping|feel a bit tired|feel like camping a little)" gcamp_ready =\
 	/set camp_st=1%;\
 	/gstatus_update%;\