Mercurial > hg > batmud > ggrtf
changeset 24:f16ea23137cb
Some prots now expire correctly when you die... some may still not work as expected.
Various cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Sep 2005 15:59:53 +0000 |
parents | 13d52d8dce8f |
children | dc5f00c2328e |
files | ggrtf-misc.tf ggrtf.tf |
diffstat | 2 files changed, 37 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/ggrtf-misc.tf Thu Sep 08 15:21:52 2005 +0000 +++ b/ggrtf-misc.tf Thu Sep 08 15:59:53 2005 +0000 @@ -7,6 +7,7 @@ ;; ;; NOTICE! This file requires GGRTF (version 0.4.22 or later) to be loaded. ;; +/deftoggle -n"rmisc" -d"Miscellaneous reporting" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Consider reporting @@ -90,7 +91,6 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Camping ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - /def -i -p9999 -F -aCgreen -msimple -t"You lie down and begin to rest for a while." camp_start =\ /set camp_st=on%;\ /set camp_hp=%{status_hp}%;\ @@ -102,3 +102,24 @@ /set camp_st=off%;@sc%;\ /def -p1 -n1 -F -mregexp -t"^H:" camp_awake = /msr Awake - $$[{status_hp} - {camp_hp}]hp, $$[{status_sp} - {camp_sp}]sp, $$[{status_ep} - {camp_ep}]ep $[prgetstime({camp_time})] + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Ceremony +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +/set ceremony_st=off + +/def -i -p9999 -F -msimple -t"You perform the ceremony." ceremony_on =\ + /if ({skill_st2}=~"on")\ + /set skill_st2=off%;\ + /set ceremony_st=on%;\ + /endif + +/def -i -p9999 -F -msimple -t"You have an unusual feeling as you cast the spell." ceremony_off =\ + /set ceremony_st=off + +/def ceremony =\ + /if ({ceremony_st}=~"on")\ + /msq Ceremony already in effect!%;\ + /else \ + @@use ceremony%;\ + /endif
--- a/ggrtf.tf Thu Sep 08 15:21:52 2005 +0000 +++ b/ggrtf.tf Thu Sep 08 15:59:53 2005 +0000 @@ -445,6 +445,15 @@ /endif +;; Turn of prots that expire on death +/def -i -p9999 -F -aCgreen -msimple -t"You die." prots_rip =\ + /msq @{BCyellow}Various prots expire as you die!@{n}%;\ + /set prot_flexsh=0%;\ + /set prot_invis=0%;\ + /set prot_eskin=0%;\ + /set prot_pfe=0%;\ + /status_update + ;; Create normal regular prots without complexities /prcreate -i"eaura" -n"EAura" -l"Energy Aura" -s @@ -464,6 +473,8 @@ /prcreate -i"erage" -n"ERage" -l"Enrage" -r -u"^(You are maddened with rage!|You feel your barbarian rage stir up.|Holy CRAP! OH what a RUSH!|You feel TOTALLY ENRAGED and ready to KICK ASS!|YOU FEEL AS IF YOU WERE GROO HIMSELF!|You are ENRAGED! Your body ACHES for action!|You feel the adrenaline BURST into your veins!|Your blood is boiling of rage!|You tremble uncontrollably and feel completely ENRAGED!)$" -d"^You no longer feel enraged.$" /prcreate -i"ptsh" -n"Ptrsh" -l"Pain Treshold" -u"You begin to concentrate on pain threshold." -d"Your concentration breaks and you feel less protected from physical damage." +;/prcreate -i"pbsf" -"PbSf" -l"Protection by Sacrifice" -A" kneels before you and whispers \'With my life I\'ll protect yours\'.$" -r -u"^(She|He|It) stands up with a solemn look on her face.$" + ;; ---- Epriest ---- /prcreate -i"pfg" -n"PfG" -l"Protection from Good" -r -u"^A vile black aura surrounds you" /prcreate -i"paranoia" -n"Para" -l"Paranoia" -A" \'noxim delusa\'" -u"You have a bad feeling about this." -d"Everything seems so much more pleasant." @@ -478,9 +489,7 @@ /prcreate -i"pfe" -n"PfE" -l"Protection from Evil" -A" \'sanctus Exzordus\'" -B"you are surrounded by" -r -u"protective holy aura." -d"^(You suddenly feel more vulnerable to evil|Your glow fades away and you suddenly feel more vulnerable to evil).$" /prcreate -i"soulsh" -n"SoulSh" -l"Soul Shield" -r -u"^[A-Z][A-Za-z]+ places her hand over you and blesses your soul in the name of Las.$" -d"^Your soul feels suddenly more vulnerable.$" /prcreate -i"sof" -n"SoF" -l"Shield of Faith" -u"You are surrounded by divine glow!" -d"Your glow disappears." - -;; ---- Templar / Crimson ---- -;/prcreate -i"pbsf" -"PbSf" -l"Protection by Sacrifice" -A" kneels before you and whispers \'With my life I\'ll protect yours\'.$" -r -u"^(She|He|It) stands up with a solemn look on her face.$" +/prcreate -i"hprot" -n"HProt" -l"Heavenly Protection" -A"\'sanctus . o O\'" -r -u"as you are suddenly surrounded" -d"^Holy particles slow down, rapidly fading away.$" ;; ---- Psionicist ---- @@ -493,12 +502,12 @@ /prcreate -i"flexsh" -n"FlexSh" -l"Flex Shield" -u"You sense a flex shield covering your body like a second skin." -d"Your flex shield wobbles, PINGs and vanishes." /prcreate -i"epower" -n"EPower" -l"Earth Power" -u"You feel your strength changing. You flex you muscles experimentally." -d"The runic sigla \'% !^\' fade away.. leaving you feeling strange." /prcreate -i"eskin" -n"ESkin" -l"Earth Skin" -s -u"You feel your skin harden." -d"Your skin feels softer." -/prcreate -i"eblood" -n"EBlood" -l"Earth Blood" -A"traces icy blue runes on the ground with his Staff of Druids" -B"druidstaff is surrounded by a sudden cloudburst" -u"An icy chill runs through your veins." -d"The runic sigla \'\!\( \*\)\' fade away.. leaving you feeling strange." +/prcreate -i"eblood" -n"EBlood" -l"Earth Blood" -A" traces icy blue runes on the ground with his Staff of Druids" -B"druidstaff is surrounded by a sudden cloudburst" -u"An icy chill runs through your veins." -d"The runic sigla \'\!\( \*\)\' fade away.. leaving you feeling strange." /prcreate -i"vmant" -n"Vmant" -l"Vine Mantle" -s -u"Vines entangle your body." -d"The vines crumbles to dust." /prcreate -i"regen" -n"Rgn" -l"Regeneration" -u"You feel your metabolism speed up." -d"You no longer have a active regeneration spell on you." ;; ---- Bard ---- -/prcreate -i"warez" -n"WarEns" -l"War Ensemble" -u"You feel full of battle rage! Victory is CERTAIN!" -d"The effect of war ensemble wears off." +/prcreate -i"warez" -n"WarEns" -l"War Ensemble" -A"\'War is TOTAL massacre, sport the war, war SUPPOORT!!!\'" -u"You feel full of battle rage! Victory is CERTAIN!" -d"The effect of war ensemble wears off." /prcreate -i"emelody" -n"EMelody" -l"Embracing Melody" -r -u"^[A-Z][A-Za-z]+ wraps you into an embracing melody\.$" -d"^The embracing melody subsides, leaving you longing for more\.$" /prcreate -i"afavour" -n"AFav" -l"Arches Favour" -u"You feel optimistic about your near future!" -d"You no longer have Arches Favour on you. You feel sad." @@ -506,8 +515,8 @@ /prcreate -i"sop" -n"SoP" -l"Shield of Protection" -A" \'nsiiznau\'$" -u"You feel a slight tingle." -d"You feel more vulnerable now." /prcreate -i"bimage" -n"BImg" -l"Blurred Image" -A" \'ziiiuuuuns wiz\'$" -u"You feel a powerful aura." -d"You feel less invisible." /prcreate -i"disp" -n"Disp" -l"Displacement" -A" \'diiiiuuunz aaanziz\'$" -u"You feel a powerful aura." -d"You feel much less invisible." +/prcreate -i"fabs" -n"Fabs" -l"Force Absorption" /prcreate -i"aoa" -n"AoA" -l"Armour of Aether" -A" \'fooharribah inaminos cantor\'$" -u"You see a crystal clear shield fade into existance around you." -d"Your crystal clear shield fades out." -/prcreate -i"fabs" -n"Fabs" -l"Force Absorption" /prcreate -i"frosts" -n"FrostS" -l"Frost Shield" -u"You see a frosty blue-white shield fade into existance around you." -d"Your frosty blue-white shield fades out."