File act.other.c


Included Files


Preprocessor definitions

#define __ACT_OTHER_C__

#define TOG_OFF 0

#define TOG_ON 1

#define PRF_TOG_CHK( ch, flag )


Global Variable shop_keeper

int ( shop_keeper)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  act.other.c
   shop.c
Used in: assign_the_shopkeepers()shop.c
  do_steal()act.other.c
  ok_damage_shopkeeper()shop.c

External Variables

world
extern struct room_data* world
Defined in: db.c

descriptor_list
extern struct descriptor_data* descriptor_list
Defined in: comm.c

spell_info
extern struct spell_info_type spell_info[]
Defined in: spell_parser.c

mob_index
extern struct index_data* mob_index
Defined in: db.c

class_abbrevs
extern char* class_abbrevs[]
Defined in: class.c

free_rent
extern int free_rent
Defined in: config.c

pt_allowed
extern int pt_allowed
Defined in: config.c

max_filesize
extern int max_filesize
Defined in: config.c

nameserver_is_slow
extern int nameserver_is_slow
Defined in: config.c

auto_save
extern int auto_save
Defined in: config.c

track_through_doors
extern int track_through_doors
Defined in: config.c


Global Function do_display()

void do_display ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: basic_mud_log()utils.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
  str_cmp()utils.c
  strlen()
Used in:  interpreter.c
References Variables: OKconfig.c
  dummy_mobdb.c

Global Function do_gen_tog()

void do_gen_tog ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: basic_mud_log()utils.c
  send_to_char()comm.c
Used in:  interpreter.c
References Variables: dummy_mobdb.c
  nameserver_is_slowconfig.c
  track_through_doorsconfig.c

Global Function do_gen_write()

void do_gen_write ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: delete_doubledollar()interpreter.c
  mudlog()utils.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
  asctime(), fclose(), fopen(), fprintf(), localtime(), perror(), sprintf(), stat(), time()
Used in:  interpreter.c
References Variables: cmd_infointerpreter.c
  max_filesizeconfig.c
  top_of_worlddb.c
  worlddb.c

Global Function do_group()

void do_group ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: act()comm.c
  get_char_vis()handler.c
  one_argument()interpreter.c
  perform_group()act.other.c
  print_group()act.other.c
  send_to_char()comm.c
  str_cmp()utils.c
Used in:  interpreter.c
References Variables: NOPERSONconfig.c
  bufdb.c

Global Function do_hide()

void do_hide ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: basic_mud_log()utils.c
  number()utils.c
  send_to_char()comm.c
Used in:  interpreter.c
References Variables: dex_app_skillconstants.c
  dummy_mobdb.c

Global Function do_not_here()

void do_not_here ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: send_to_char()comm.c
Used in:  interpreter.c

Global Function do_practice()

void do_practice ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: list_skills()spec_procs.c
  one_argument()interpreter.c
  send_to_char()comm.c
Used in:  interpreter.c
References Variables: argdb.c

Global Function do_quit()

void do_quit ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: Crash_rentsave()objsave.c
  MAX()utils.c
  act()comm.c
  basic_mud_log()utils.c
  die()fight.c
  extract_char()handler.c
  mudlog()utils.c
  save_char()db.c
  send_to_char()comm.c
  sprintf()
Used in:  interpreter.c
References Variables: bufdb.c
  dummy_mobdb.c
  free_rentconfig.c
  worlddb.c

Global Function do_report()

void do_report ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: CAP()utils.c
  send_to_char()comm.c
  sprintf()
Used in:  interpreter.c
References Variables: bufdb.c

Global Function do_save()

void do_save ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: Crash_crashsave()objsave.c
  House_crashsave()house.c
  save_char()db.c
  send_to_char()comm.c
  write_aliases()alias.c
  sprintf()
Used in:  interpreter.c
References Variables: auto_saveconfig.c
  bufdb.c
  top_of_worlddb.c
  worlddb.c

Global Function do_sneak()

void do_sneak ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: affect_from_char()handler.c
  affect_to_char()handler.c
  basic_mud_log()utils.c
  number()utils.c
  send_to_char()comm.c
Used in:  interpreter.c
References Variables: dex_app_skillconstants.c
  dummy_mobdb.c

Global Function do_split()

void do_split ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: is_number()interpreter.c
  one_argument()interpreter.c
  send_to_char()comm.c
  atoi(), sprintf(), strlen()
Used in:  interpreter.c
References Variables: bufdb.c

Global Function do_steal()

void do_steal ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: MIN()utils.c
  act()comm.c
  basic_mud_log()utils.c
  get_char_vis()handler.c
  get_obj_in_list_vis()handler.c
  hit()fight.c
  isname()handler.c
  number()utils.c
  obj_from_char()handler.c
  obj_to_char()handler.c
  send_to_char()comm.c
  str_cmp()utils.c
  two_arguments()interpreter.c
  unequip_char()handler.c
  sprintf()
Used in:  interpreter.c
References Variables: bufdb.c
  dex_app_skillconstants.c
  dummy_mobdb.c
  mob_indexdb.c
  pt_allowedconfig.c
  shop_keeperact.other.c
  str_appconstants.c
  weather_infodb.c
  worlddb.c

Global Function do_title()

void do_title ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: delete_doubledollar()interpreter.c
  send_to_char()comm.c
  set_title()limits.c
  skip_spaces()interpreter.c
  sprintf(), strlen(), strstr()
Used in:  interpreter.c
References Variables: bufdb.c

Global Function do_ungroup()

void do_ungroup ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: act()comm.c
  get_char_vis()handler.c
  one_argument()interpreter.c
  send_to_char()comm.c
  stop_follower()utils.c
  sprintf()
Used in:  interpreter.c
References Variables: bufdb.c
  buf2db.c

Global Function do_use()

void do_use ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: basic_mud_log()utils.c
  get_obj_in_list_vis()handler.c
  half_chop()interpreter.c
  isname()handler.c
  mag_objectmagic()spell_parser.c
  send_to_char()comm.c
  sprintf(), strchr()
Used in:  interpreter.c
References Variables: argdb.c
  bufdb.c
  buf2db.c
  cmd_infointerpreter.c

Global Function do_visible()

void do_visible ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: appear()fight.c
  perform_immort_vis()act.wizard.c
  send_to_char()comm.c
Used in:  interpreter.c

Global Function do_wimpy()

void do_wimpy ( struct char_data* ch, char* argument, int cmd, int subcmd )
Prototyped in: act.other.c
Calls: basic_mud_log()utils.c
  one_argument()interpreter.c
  send_to_char()comm.c
  atoi(), sprintf()
Used in:  interpreter.c
References Variables: argdb.c
  bufdb.c
  dummy_mobdb.c

Global Function perform_group()

int perform_group ( struct char_data* ch, struct char_data* vict )
Prototyped in: act.other.c
Calls: act()comm.c
  basic_mud_log()utils.c
Called by: do_group()act.other.c
References Variables: dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function print_group()

void print_group ( struct char_data* ch )
Prototyped in: act.other.c
Calls: act()comm.c
  send_to_char()comm.c
  sprintf()
Called by: do_group()act.other.c
References Variables: bufdb.c
  class_abbrevsclass.c