File src/steal.c


Included Files


Global Variable stealoid

unsigned int stealoid
Visible in:  src/steal.c
Used in: steal()src/steal.c
  stealarm()src/steal.c

Global Variable stealmid

unsigned int stealmid
Visible in:  src/steal.c
Used in: steal()src/steal.c
  stealarm()src/steal.c

Global Function mpickobj()

int mpickobj ( struct monst* mtmp, struct obj* otmp )
Prototyped in: include/extern.h
Calls: The()src/objnam.c
  add_to_minv()src/mkobj.c
  attacktype()src/mondata.c
  carry_obj_effects()src/invent.c
  obfree()src/shk.c
  obj_sheds_light()src/light.c
  pline()src/pline.c
  snuff_light_source()src/light.c
  xname()src/objnam.c
Called by: dog_invent()src/dogmove.c
  doseduce()src/mhitu.c
  dropy()src/do.c
  final_level()src/do.c
  gem_accept()src/dothrow.c
  m_initinv()src/makemon.c
  m_initthrow()src/makemon.c
  m_initweap()src/makemon.c
  makedog()src/dog.c
  meatobj()src/mon.c
  mk_mplayer()src/mplayer.c
  mk_mplayer_armor()src/mplayer.c
  mongets()src/makemon.c
  move_special()src/priest.c
  mpickstuff()src/mon.c
  priestini()src/priest.c
  repair_damage()src/shk.c
  shkcatch()src/shk.c
  steal()src/steal.c
  stealamulet()src/steal.c
  stealarm()src/steal.c
  thitmonst()src/dothrow.c
  throwit()src/dothrow.c
  use_mirror()src/apply.c
  use_misc()src/muse.c
References Variables: usrc/decl.c
  ublindfsrc/decl.c
  youmonstsrc/decl.c

Global Function relobj()

void relobj ( struct monst* mtmp, int show, boolean is_pet )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  add_to_minv()src/mkobj.c
  distant_name()src/objnam.c
  flooreffects()src/do.c
  mkgold()src/mkobj.c
  newsym()src/display.c
  obj_extract_self()src/mkobj.c
  place_object()src/mkobj.c
  pline()src/pline.c
  stackobj()src/invent.c
Called by: dog_invent()src/dogmove.c
  m_detach()src/mon.c
References Functions: doname()src/objnam.c
References Variables: flagssrc/decl.c
  viz_arraysrc/decl.c

Global Function remove_worn_item()

void remove_worn_item ( struct obj* obj )
Prototyped in: include/extern.h
Calls: Amulet_off()src/do_wear.c
  Armor_off()src/do_wear.c
  Blindf_off()src/do_wear.c
  Boots_off()src/do_wear.c
  Cloak_off()src/do_wear.c
  Gloves_off()src/do_wear.c
  Helmet_off()src/do_wear.c
  Ring_gone()src/do_wear.c
  Shield_off()src/do_wear.c
  cancel_don()src/do_wear.c
  donning()src/do_wear.c
  setnotworn(), setworn()
Called by: mayberem()src/mhitu.c
  steal()src/steal.c
  stealamulet()src/steal.c
References Variables: uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c
  uarmssrc/decl.c
  ublindfsrc/decl.c

Global Function somegold()

long somegold ( void )
Prototyped in: include/extern.h
Calls: rnd()src/rnd.c
Called by: dipfountain()src/fountain.c
  stealgold()src/steal.c
References Variables: usrc/decl.c

Global Function steal()

int steal ( struct monst* mtmp )
Prototyped in: include/extern.h
Calls: Adjmonnam()src/do_name.c
  Monnam()src/do_name.c
  doname()src/objnam.c
  donning()src/do_wear.c
  equipname()src/steal.c
  freeinv()src/invent.c
  impossible()src/pline.c
  inv_cnt()src/hack.c
  monnear()src/mon.c
  mpickobj()src/steal.c
  nomul()src/hack.c
  o_unleash()src/apply.c
  pline()src/pline.c
  remove_worn_item()src/steal.c
  rn2()src/rnd.c
  stop_occupation()src/allmain.c
  unpunish()src/read.c
  minstapetrify(), uqwepgone(), uswapwepgone(), uwepgone()
Called by: hitmu()src/mhitu.c
References Functions: stealarm()src/steal.c
References Variables: afternmvsrc/decl.c
  flagssrc/decl.c
  inventsrc/decl.c
  monssrc/monst.c
  multisrc/decl.c
  objectssrc/objects.c
  stealmidsrc/steal.c
  stealoidsrc/steal.c
  usrc/decl.c
  uarmsrc/decl.c
  uarmcsrc/decl.c
  uarmgsrc/decl.c
  uarmusrc/decl.c
  uballsrc/decl.c
  ublindfsrc/decl.c
  uleftsrc/decl.c
  uquiversrc/decl.c
  urightsrc/decl.c
  uskinsrc/decl.c
  uswapwepsrc/decl.c
  uwepsrc/decl.c
  youmonstsrc/decl.c

Global Function stealamulet()

void stealamulet ( struct monst* mtmp )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  doname()src/objnam.c
  freeinv()src/invent.c
  is_quest_artifact()src/questpgr.c
  mpickobj()src/steal.c
  pline()src/pline.c
  remove_worn_item()src/steal.c
  rloc(), tele_restrict()
Called by: hitmu()src/mhitu.c
References Variables: inventsrc/decl.c
  usrc/decl.c

Global Function stealgold()

void stealgold ( struct monst* mtmp )
Prototyped in: include/extern.h
Calls: Monnam()src/do_name.c
  Your()src/pline.c
  body_part()src/polyself.c
  delobj()src/invent.c
  g_at()src/invent.c
  makeplural()src/objnam.c
  newsym()src/display.c
  pline()src/pline.c
  rn2()src/rnd.c
  somegold()src/steal.c
  rloc(), tele_restrict()
Called by: hitmu()src/mhitu.c
References Variables: flagssrc/decl.c
  usrc/decl.c

Local Function equipname()

static const char* equipname ( struct obj* otmp )
Prototyped in: src/steal.c
Called by: steal()src/steal.c
References Variables: uarmcsrc/decl.c
  uarmfsrc/decl.c
  uarmgsrc/decl.c
  uarmhsrc/decl.c
  uarmssrc/decl.c
  uarmusrc/decl.c

Local Function stealarm()

static int stealarm ( void )
Prototyped in: src/steal.c
Calls: Monnam()src/do_name.c
  dmgtype()src/mondata.c
  doname()src/objnam.c
  freeinv()src/invent.c
  impossible()src/pline.c
  mpickobj()src/steal.c
  pline()src/pline.c
  shop_keeper()src/shk.c
  subfrombill()src/shk.c
  rloc(), tele_restrict()
Used in: steal()src/steal.c
References Variables: inventsrc/decl.c
  levelsrc/decl.c
  stealmidsrc/steal.c
  stealoidsrc/steal.c
  usrc/decl.c