File spec_procs.c


Included Files


Preprocessor definitions

#define LEARNED_LEVEL 0

#define MAX_PER_PRAC 1

#define MIN_PER_PRAC 2

#define PRAC_TYPE 3

#define LEARNED( ch )

#define MINGAIN( ch )

#define MAXGAIN( ch )

#define SPLSKL( ch )

#define PET_PRICE( pet )


Global Variable guild

int ( guild)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  castle.c
   spec_assign.c
   spec_procs.c
Used in: assign_mobiles()spec_assign.c

Global Variable dump

int ( dump)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  spec_assign.c
   spec_procs.c
Used in: assign_rooms()spec_assign.c

Global Variable mayor

int ( mayor)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  spec_assign.c
   spec_procs.c
Used in: assign_mobiles()spec_assign.c

Global Variable snake

int ( snake)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  spec_assign.c
   spec_procs.c
Used in: assign_mobiles()spec_assign.c

Global Variable thief

int ( thief)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  spec_assign.c
   spec_procs.c
Used in: assign_mobiles()spec_assign.c

Global Variable magic_user

int ( magic_user)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  spec_assign.c
   spec_procs.c
Used in: assign_mobiles()spec_assign.c

Global Variable guild_guard

int ( guild_guard)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  spec_assign.c
   spec_procs.c
Used in: assign_mobiles()spec_assign.c

Global Variable puff

int ( puff)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  spec_assign.c
   spec_procs.c
Used in: assign_mobiles()spec_assign.c

Global Variable fido

int ( fido)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  spec_assign.c
   spec_procs.c
Used in: assign_mobiles()spec_assign.c

Global Variable janitor

int ( janitor)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  spec_assign.c
   spec_procs.c
Used in: assign_mobiles()spec_assign.c

Global Variable cityguard

int ( cityguard)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  spec_assign.c
   spec_procs.c
Used in: assign_mobiles()spec_assign.c

Global Variable pet_shops

int ( pet_shops)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  spec_assign.c
   spec_procs.c
Used in: assign_rooms()spec_assign.c

Global Variable bank

int ( bank)(struct char_data* ch,void* me,int cmd,char* argument)
Visible in:  spec_assign.c
   spec_procs.c
Used in: assign_objects()spec_assign.c

Global Variable spell_sort_info

int spell_sort_info[200+1]
Visible in:  spec_procs.c
Used in: list_skills()spec_procs.c
  sort_spells()spec_procs.c

Global Variable prac_types

const char* prac_types[]
Visible in:  spec_procs.c
Used in: guild()spec_procs.c
  list_skills()spec_procs.c

External Variables

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

character_list
extern struct char_data* character_list
Defined in: db.c

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

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

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

time_info
extern struct time_info_data time_info
Defined in: db.c

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

guild_info
extern int guild_info[][3]
Defined in: class.c

prac_params
extern int prac_params[4][4]
Defined in: class.c


Global Function bank()

int ( bank) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: act()comm.c
  send_to_char()comm.c
  atoi(), sprintf(), strcmp()
References Variables: bufdb.c
  cmd_infointerpreter.c

Global Function cityguard()

int ( cityguard) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: act()comm.c
  basic_mud_log()utils.c
  hit()fight.c
References Variables: dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function compare_spells()

int compare_spells ( const void* x, const void* y )
Prototyped in: spec_procs.c
Calls: strcmp()
Used in: sort_spells()spec_procs.c
References Variables: spell_infospell_parser.c

Global Function dump()

int ( dump) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: MAX()utils.c
  MIN()utils.c
  act()comm.c
  do_drop()act.item.c
  extract_obj()handler.c
  gain_exp()limits.c
  send_to_char()comm.c
  strcmp()
References Variables: cmd_infointerpreter.c
  worlddb.c

Global Function fido()

int ( fido) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: act()comm.c
  extract_obj()handler.c
  obj_from_obj()handler.c
  obj_to_room()handler.c
References Variables: worlddb.c

Global Function guild()

int ( guild) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: MAX()utils.c
  MIN()utils.c
  basic_mud_log()utils.c
  find_skill_num()spell_parser.c
  list_skills()spec_procs.c
  send_to_char()comm.c
  skip_spaces()interpreter.c
  sprintf(), strcmp()
References Variables: bufdb.c
  cmd_infointerpreter.c
  dummy_mobdb.c
  int_appconstants.c
  prac_paramsclass.c
  prac_typesspec_procs.c
  spell_infospell_parser.c

Global Function guild_guard()

int ( guild_guard) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: act()comm.c
  send_to_char()comm.c
References Functions: do_move()act.movement.c
References Variables: cmd_infointerpreter.c
  guild_infoclass.c
  top_of_worlddb.c
  worlddb.c

Global Function how_good()

const char* how_good ( int percent )
Prototyped in: spec_procs.c
Called by: list_skills()spec_procs.c

Global Function janitor()

int ( janitor) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: act()comm.c
  obj_from_room()handler.c
  obj_to_char()handler.c
References Variables: worlddb.c

Global Function list_skills()

void list_skills ( struct char_data* ch )
Prototyped in: spec_procs.c
Calls: basic_mud_log()utils.c
  how_good()spec_procs.c
  page_string()modify.c
  sprintf(), strcat(), strcpy(), strlen()
Called by: do_practice()act.other.c
  guild()spec_procs.c
References Variables: bufdb.c
  buf2db.c
  dummy_mobdb.c
  prac_paramsclass.c
  prac_typesspec_procs.c
  spell_infospell_parser.c
  spell_sort_infospec_procs.c

Global Function magic_user()

int ( magic_user) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: cast_spell()spell_parser.c
  number()utils.c
References Variables: worlddb.c

Global Function mayor()

int ( mayor) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: act()comm.c
  do_gen_door()act.movement.c
  perform_move()act.movement.c
References Variables: time_infodb.c

Global Function npc_steal()

void npc_steal ( struct char_data* ch, struct char_data* victim )
Prototyped in: spec_procs.c
Calls: act()comm.c
  basic_mud_log()utils.c
  number()utils.c
Called by: thief()spec_procs.c
References Variables: dummy_mobdb.c
  weather_infodb.c
  worlddb.c

Global Function pet_shops()

int ( pet_shops) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: act()comm.c
  add_follower()utils.c
  char_to_room()handler.c
  get_char_room()handler.c
  read_mobile()db.c
  send_to_char()comm.c
  str_dup()utils.c
  two_arguments()interpreter.c
  sprintf(), strcmp()
References Variables: cmd_infointerpreter.c
  worlddb.c

Global Function puff()

int ( puff) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: do_say()act.comm.c
  number()utils.c

Global Function snake()

int ( snake) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: act()comm.c
  call_magic()spell_parser.c
  number()utils.c

Global Function sort_spells()

void sort_spells ( void )
Prototyped in: spec_procs.c
Calls: qsort()
Called by: boot_db()db.c
References Functions: compare_spells()spec_procs.c
References Variables: spell_sort_infospec_procs.c

Global Function thief()

int ( thief) ( struct char_data* ch, void* me, int cmd, char* argument )
Calls: npc_steal()spec_procs.c
  number()utils.c
References Variables: worlddb.c