act_social.h

wiley_dist/src/include/act_social.h · 2.0 KB

From the archive WileyMUD3_091205.tar.bz2

Download the archive   « Back to the archive contents

#ifndef _ACT_SOCIAL_H
#define _ACT_SOCIAL_H

struct social_messg {
  int                                     act_nr;
  int                                     hide;
  int                                     min_victim_position; /* Position of victim */

  /*
   * No argument was supplied 
   */
  char                                   *char_no_arg;
  char                                   *others_no_arg;

  /*
   * An argument was there, and a victim was found 
   */
  char                                   *char_found;	       /* if NULL, read no further, ignore args */
  char                                   *others_found;
  char                                   *vict_found;

  /*
   * An argument was there, but no victim was found 
   */
  char                                   *not_found;

  /*
   * The victim turned out to be the character 
   */
  char                                   *char_auto;
  char                                   *others_auto;
};

struct pose_type {
  int                                     level;	       /* minimum level for poser */
  char                                   *poser_msg[4];	       /* message to poser */
  char                                   *room_msg[4];	       /* message to room */
};

#ifndef _ACT_SOCIAL_C
extern struct social_messg             *soc_mess_list;
extern struct pose_type                 pose_messages[MAX_MESSAGES];

/* static int list_top; */
#endif

char                                   *fread_action(FILE * fl);
void                                    boot_social_messages(void);
int                                     find_action(int cmd);
void                                    do_action(struct char_data *ch, const char *argument,
						  int cmd);
void                                    do_insult(struct char_data *ch, const char *argument,
						  int cmd);
void                                    boot_pose_messages(void);
void                                    do_pose(struct char_data *ch, const char *argument, int cmd);

#endif

Site Stats

Snippets: 1791
Codebases: 571