changeset 1289:e091a15784c4

Also match potions with dash (-) in their name.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 02 Jan 2011 05:18:25 +0000
parents dde3e2522e92
children 4227c4bf23d6
files gm-alchemist.tf
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gm-alchemist.tf	Sat Jan 01 11:13:02 2011 +0000
+++ b/gm-alchemist.tf	Sun Jan 02 05:18:25 2011 +0000
@@ -206,7 +206,7 @@
 /gdef -i -F -aCgreen -msimple -t"You feel close..." galch_submit_close1 =\
 	/set alch_close=1
 
-/def -i -F -aCgreen -mregexp -Ealch_close -t"^\.\.\.could be ([a-z_ ]+)\." galch_submit_close2 =\
+/def -i -F -aCgreen -mregexp -Ealch_close -t"^\.\.\.could be ([a-z_ -]+)\." galch_submit_close2 =\
 	/let _match=$[replace(" ","_",{P1})]%;\
 	/if (galch_update(strcat("?", _match)))\
 		/msq Added near-match '%{_match}' (%{alch_mineral}, %{alch_organ}, %{alch_herb}) to database.%;\