Mercurial > hg > batmud > ggrtf
changeset 264:176d9060a00a
New ripaction, "cmd", added, which executes string of commands (see /ripcommand)
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 12 Feb 2006 15:00:17 +0000 |
parents | 65046156d3dd |
children | d676261ebf80 |
files | ggrtf.tf |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ggrtf.tf Sat Feb 11 06:20:36 2006 +0000 +++ b/ggrtf.tf Sun Feb 12 15:00:17 2006 +0000 @@ -404,10 +404,15 @@ /defripfunc dig /dig_grave /defripfunc eat /eat_corpse /defripfunc get /get_corpse +/defripfunc cmd %%{set_ripcommand} -/defhook -n"ripaction" -d"Set the action performed at monster RIP" -h"ripfunc" -s"off dig eat get" +/defhook -n"ripaction" -d"Set the action performed at monster RIP" -h"ripfunc" -s"off dig eat get cmd" /ripaction off +;; Ripcommand +/defvalue -n"ripcommand" -d"Commands to be executed if ripaction = cmd" +/set set_ripcommand=@say Puputanssi!;hopple;shake bottom;wiggle;hop!;clap + ;; LoC-action /defsetting -n"locaction" -d"Set action performed after blood corpse" -s"off dig eat get" /locaction off