Re: [NEWBIE] Special Poofout and Poofin

From: Mike Stilson (mike@velgarian.sytes.net)
Date: 01/16/02


On Tue, Jan 15, 2002 at 09:00:25PM -0500, Bejhan Jetha wrote:
>To do a special poofin or poofout is it
>
>if char_name==chaos
>poofin="blah blah blah/n"?

In english, yup.  In C, nope.
But since poofin/poofout are already there, how about this patch
instead? (against bpl20)

--- interpreter.c.orig  Sun Jan 13 16:46:14 2002
+++ interpreter.c       Wed Jan 16 10:13:26 2002
@@ -392,4 +392,4 @@ cpp_extern const struct command_info cmd
   { "ponder"   , POS_RESTING , do_action   , 0, 0 },
-  { "poofin"   , POS_DEAD    , do_poofset  , LVL_IMMORT, SCMD_POOFIN },
-  { "poofout"  , POS_DEAD    , do_poofset  , LVL_IMMORT, SCMD_POOFOUT },
+  { "poofin"   , POS_DEAD    , do_poofset  , 0, SCMD_POOFIN },
+  { "poofout"  , POS_DEAD    , do_poofset  , 0, SCMD_POOFOUT },
   { "pour"     , POS_STANDING, do_pour     , 0, SCMD_POUR },

-me

PS: what IS the preferred diff format for patches? that was -pU1.

-me

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT