Trying to add wear_ankle

From: Anthony J rye (ajrye@ONE.NET)
Date: 11/24/97


i have included my act.build.c file so mabye someone could help.
 , i have been able to complie (no problems) when i flagg it wield, it
flaggs it ankle, when i flagg it hold it flags it wield, when i flag it
ankle, it flags it hold.

 Stumped Newbie Coder:

ACMD(do_oset)
{
	"feet"      ,"hands"      ,"arms"        ,"shield"     ,
	"about"     ,"waist"      ,"wrist"       ,"ankle"      ,/*60-63*/
	"wield"      ,"hold"      ,"action"      ,"reserved"   ,

a few lines down.....

	send_to_char("   head		   wrist\r\n", ch);
	send_to_char("   legs		   ankle\r\n", ch);
	send_to_char("   feet		   hold\r\n", ch);
	send_to_char("   hands             wield\r\n", ch);
  case 63:
    TOGGLE_BIT(OBJ_NEW(ch)->obj_flags.wear_flags, ITEM_WEAR_ANKLE);
    break;
  case 64:
    TOGGLE_BIT(OBJ_NEW(ch)->obj_flags.wear_flags, ITEM_WEAR_WIELD);
    break;
  case 65:
    TOGGLE_BIT(OBJ_NEW(ch)->obj_flags.wear_flags, ITEM_WEAR_HOLD);
    break;
  case 66:
if(!*val_arg) {
      send_to_char("Usage   :  oset action <object action description>\r\n", ch);
      send_to_char("An object's action description is the text you see when it is used.\r\n", ch);
      send_to_char("The circle documention on this is incomplete so no info on syntax\r\n", ch);
      send_to_char("is available.  If the object is a note, the action description\r\n", ch);
      send_to_char("is the text on the note.\r\n\r\n", ch);
      break;
    }
    OBJ_NEW(ch)->action_description = str_dup(val_arg);
    *val_arg = '\0';
    break;
  case 67:

  char *posits[] =
      "feet"      ,"hands"      ,"arms"       ,"shield"    ,
      "about"     ,"waist"      ,"1wrist"     ,"2wrist"    ,
      "wield"     ,"held"       ,"1ankle"     ,"2ankle"    ,};

    send_to_char("wield       held        1ankle      2ankle\r\n\r\n", ch);
	found = TRUE;

    "wielded",
    "held",
    "ankle 1",
    "ankle 2",
    "\n"
  };

this is all i have edited in act.build.c
 sorry tried to cut it down as much as possible


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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