From 7be78649895d8487b58ec89bc8a2546aa8e05d0f Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Wed, 21 Feb 2007 00:33:01 +0000 Subject: [PATCH] Added help for @invformat --- game/txt/hlp/cobra_cmd.hlp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/game/txt/hlp/cobra_cmd.hlp b/game/txt/hlp/cobra_cmd.hlp index 0867a22..884c36b 100644 --- a/game/txt/hlp/cobra_cmd.hlp +++ b/game/txt/hlp/cobra_cmd.hlp @@ -699,6 +699,19 @@ See also: @create for example. More complex things are, obviously, possible. See also: @exitformat, @nameformat, @descformat +& @invformat + @invformat [=] + + Replaces the usual "You are carrying:" format when an object uses the + "inventory" command, by a player-specified format. This is evaluated + as if it were a description or other similar message on the object. + The objects carried are passed as a dbref list in %0. + + One could change the format to 'You've got: Object1 Object2 Object3' + through '@invformat me = You've got: [iter(%0,name(##))]', + for example. More complex things are, obviously, possible. + + See also: inventory & @descformat @descformat [=] -- 2.30.2