Mercurial > hg > batmud > ggrtf
changeset 1285:bf02cf215ee1
Obey opt_canmisc setting.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 28 Dec 2010 05:48:24 +0000 |
parents | badb38aa5bbf |
children | 2cff76a36d44 |
files | gm-alchemist.tf |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gm-alchemist.tf Sun Dec 26 21:25:49 2010 +0000 +++ b/gm-alchemist.tf Tue Dec 28 05:48:24 2010 +0000 @@ -224,7 +224,7 @@ /def -i galch_store_organ =\ /let _organ=%{1}%;\ /let _can=$(/galch_get_item %{_organ} %{galch_cans})%;\ - /if (_can=~"") /let _can=can_misc%;/endif%;\ + /if (opt_canmisc=~"on" | _can=~"") /let _can=can_misc%;/endif%;\ /msq Store '%{_organ}' in '%{_can}'.%;\ @@get %{_organ}%;\ @@put %{_organ} in %{_can} @@ -237,10 +237,10 @@ /let _herb=%{P2}%;\ /endif%;\ /let _jar=$(/galch_get_item %{_herb} %{galch_jars})%;\ - /if (_jar=~"") /let _jar=jar_misc%;/endif%;\ + /if (opt_canmisc=~"on" | _jar=~"") /let _jar=jar_misc%;/endif%;\ /msq Store '%{_herb}' in '%{_jar}'.%;\ @@put %{_herb} in %{_jar} - + ;; Dissection and herb picking triggers /def -i -F -mregexp -t"^You carefully remove a bloody bodypart '([a-z]+)'\.$" galch_dissect1 =\