From: Ari Johnson Date: Wed, 21 Feb 2007 00:33:01 +0000 (+0000) Subject: Added help for @invformat X-Git-Tag: 0.73~156 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=7be78649895d8487b58ec89bc8a2546aa8e05d0f;p=cobramush.git Added help for @invformat --- 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 [=]