Mercurial > hg > batmud > ggrtf
changeset 968:fac3cd995c23
Adjust identify trigger matching status levels a bit, so it works in more cases.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 23 Mar 2009 19:48:27 +0000 |
parents | b37e9f0f4910 |
children | 88b32a56a75e |
files | gm-identify.tf |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/gm-identify.tf Mon Mar 23 17:42:52 2009 +0000 +++ b/gm-identify.tf Mon Mar 23 19:48:27 2009 +0000 @@ -61,35 +61,35 @@ /def -i -F -E(idc_st>=2) -p9999 -ag -mregexp -t"^It takes the following slots: (.*)\.$" gidentify_slots =\ /set idc_st=$[idc_st+1]%;/set idc_slots=%{P1} -/def -i -F -E(idc_st>=3) -p9999 -ag -mregexp -t"^It will (.+)\.$" gidentify_sksp =\ +/def -i -F -E(idc_st>=2) -p9999 -ag -mregexp -t"^It will (.+)\.$" gidentify_sksp =\ /set idc_st=$[idc_st+1]%;/set idc_imp=%{idc_imp} $[replace(" ","_",{P1})] -/def -i -F -E(idc_st>=3) -p9999 -mregexp -t"^([A-Z][A-Za-z, ]+) did the heroic deed to bring" gidentify_i1 =\ +/def -i -F -E(idc_st>=2) -p9999 -mregexp -t"^([A-Z][A-Za-z, ]+) did the heroic deed to bring" gidentify_i1 =\ /set idc_names=%{P1} -/def -i -F -E(idc_st>=3) -p9999 -mregexp -t"has been in the game for ([0-9a-z, ]+)\." gidentify_i2 =\ +/def -i -F -E(idc_st>=2) -p9999 -mregexp -t"has been in the game for ([0-9a-z, ]+)\." gidentify_i2 =\ /set idc_age=%{P1} -/def -i -F -E(idc_st>=3) -p9999 -mregexp -t"It is ([A-Za-z -]+), ([A-Za-z -]+)," gidentify_i3 =\ +/def -i -F -E(idc_st>=2) -p9999 -mregexp -t"It is ([A-Za-z -]+), ([A-Za-z -]+)," gidentify_i3 =\ /set idc_weight=%{P1}%;/set idc_size=%{P2} -/def -i -F -E(idc_st>=3) -p9999 -mregexp -t"in ([A-Za-z '-]+) condition, ([A-Za-z '-]+)" gidentify_i4 =\ +/def -i -F -E(idc_st>=2) -p9999 -mregexp -t"in ([A-Za-z '-]+) condition, ([A-Za-z '-]+)" gidentify_i4 =\ /set idc_cond=%{P1}%;/set idc_maxcond=$[gidentify_maxcond({P2})] -/def -i -F -E(idc_st>=3) -p9999 -mregexp -t"of ([A-Za-z ]+) quality" gidentify_i5 =\ +/def -i -F -E(idc_st>=2) -p9999 -mregexp -t"of ([A-Za-z ]+) quality" gidentify_i5 =\ /set idc_quality=%{P1} -/def -i -F -E(idc_st>=3) -p9999 -mregexp -t"worth ([0-9]+)" gidentify_i6 =\ +/def -i -F -E(idc_st>=2) -p9999 -mregexp -t"worth ([0-9]+)" gidentify_i6 =\ /set idc_worth=%{P1} -/def -i -F -E(idc_st>=3) -p9999 -mregexp -t"made of,? ?(.+?), (feather|worth)" gidentify_i7 =\ +/def -i -F -E(idc_st>=2) -p9999 -mregexp -t"made of,? ?(.+?), (feather|worth)" gidentify_i7 =\ /set idc_material=%{P1} -/def -i -F -E(idc_st>=3) -p9999 -mregexp -t"featherweighted for (.+), worth" gidentify_i8 =\ +/def -i -F -E(idc_st>=2) -p9999 -mregexp -t"featherweighted for (.+), worth" gidentify_i8 =\ /set idc_fwd=%{P1} -/def -i -F -E(idc_st>=3) -p9999 -ag -mregexp -t"^It (has|hasn't) been (worn|wielded) by (.+)\.$" gidentify_worn =\ +/def -i -F -E(idc_st>=2) -p9999 -ag -mregexp -t"^It (has|hasn't) been (worn|wielded) by (.+)\.$" gidentify_worn =\ /if ({P1}=~"has") /set idc_%{P2}=%{P3}%;/endif%;\ /def -i gidentify_list =\