CODE: Code to hide objects. :)

From: Homer Simpson (
Date: 09/27/96

Hiya all,
         After posting the search command and other stuff for hidden
objects etc. I though I might as well also post this change to the do hide
command wich allows players to hide objects from their inventory. They can
then find tham again with the search command. Simply replace the do_hide
command in act.other, with the one below.

Homer :)

PS. Did anyone add the search code, and get it working without a problem?

  byte percent;
  struct obj_data *obj = NULL;
  struct char_data *person = NULL;

  one_argument(argument, arg);

  if (!*arg) {
    send_to_char("You attempt to hide yourself.\r\n", ch);

    if (IS_AFFECTED(ch, AFF_HIDE))

    percent = number(1, 101);	/* 101% is a complete failure */

    if (percent > GET_SKILL(ch, SKILL_HIDE) + dex_app_skill[GET_DEX(ch)].hide)

  else {
    if (!generic_find(arg, FIND_OBJ_INV, ch, &person, &obj)) {
      sprintf(buf, "There doesn't seem to have %s %s.\r\n", AN(arg), arg);
      send_to_char(buf, ch);
    else if (IS_OBJ_STAT(obj, ITEM_NODROP)) {
      send_to_char("You can't hide that!\r\n", ch);
    else {
      obj_to_room(obj, ch->in_room);
      sprintf(buf, "You hide %s.\r\n", obj->short_description);
      send_to_char(buf, ch);
      SET_BIT(obj->obj_flags.extra_flags, ITEM_HIDDEN);
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

From Fri, 27 Sep 96 10:28:11 EDT
X-SystemInfo: MyE-Mail: EMail
X-Message-No: 4598 (database)
From: Jeremy Elson <>
To: circle <>
Subject: back up
Date: Fri, 27 Sep 96 15:28:00
Message-ID: <>
X-POP3-Rcpt: lk4150@per
Return-Path: <>
Received: from QUCDN.QueensU.CA (QUCDN.QueensU.CA []) by (8.6.12/8.6.12) with SMTP id QAA03021 for <>; Fri, 27 Sep 1996 16:00:27 +0200
Received: from by QUCDN.QueensU.CA (IBM VM SMTP V2R2) with TCP;Fri, 27 Sep 96 11:10:45 EDT
Received: by (SMI-8.6/SMI-SVR4)id KAA11331; Fri, 27 Sep 1996 10:57:49 -0500
Received: from by (SMI-8.6/SMI-SVR4)
Received: from mail-client
Received: by mail-client (4.1) id AA29330; Fri, 27 Sep 96 10:28:11 EDT
Precedence: bulk

The various machines (and in particular, the better FTP
site, should be operating normally now. 

I will probably be switching and so
that is the primary site that receives uploads (e.g. 
what ftp2 is now), and all sites ftpn (ftp2,3,4,5) etc will all be
mirrors.  If you are running a CircleMUD mirror (with automatic mirroring
software), please let me know so I can add an ftp<x> address
for you. 


| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

This archive was generated by hypermail 2b30 : 12/18/00 PST