#include "hack.h"
#include "emin.h"
#include "epri.h"
Defines | |
#define | Athome (Inhell && !mtmp->cham) |
Functions | |
void | msummon (struct monst *mon) |
void | summon_minion (aligntyp alignment, boolean talk) |
int | demon_talk (struct monst *mtmp) |
long | bribe (struct monst *mtmp) |
int | dprince (aligntyp atyp) |
int | dlord (aligntyp atyp) |
int | llord () |
int | lminion () |
int | ndemon (aligntyp atyp) |
#define Athome (Inhell && !mtmp->cham) |
Referenced by demon_talk().
long bribe | ( | struct monst * | mtmp ) |
References BUFSZ, currency(), getlin, invent, mon_nam(), u, and you::ugold.
Referenced by demon_talk(), and priest_talk().
int demon_talk | ( | struct monst * | mtmp ) |
References Amonnam(), ART_EXCALIBUR, Athome, Blind, bribe(), currency(), monst::data, FALSE, flag::female, flags, invent, is_dprince, permonst::mlet, mon_has_amulet(), mongone(), newsym(), obj::oartifact, pline(), rloc(), rn1, rnd(), S_DEMON, set_malign(), sgn(), tele_restrict(), align::type, u, you::ualign, you::ugold, uwep, and youmonst.
Referenced by dochug(), and domonnoise().
int dlord | ( | aligntyp | atyp ) |
References A_NONE, G_GONE, permonst::maligntyp, mons, ndemon(), pm, PM_JUIBLEX, PM_YEENOGHU, rn1, and sgn().
Referenced by dosacrifice(), dprince(), and msummon().
int dprince | ( | aligntyp | atyp ) |
int llord | ( | ) |
int lminion | ( | ) |
void msummon | ( | struct monst * | mon ) |
References A_CHAOTIC, A_NEUTRAL, A_NONE, dlord(), dprince(), EPRI, G_GONE, G_UNIQ, is_dlord, is_dprince, is_lminion, is_lord, is_ndemon, llord(), lminion(), makemon(), permonst::maligntyp, mons, monsndx(), ndemon(), NO_MM_FLAGS, NON_PM, PM_AIR_ELEMENTAL, PM_ALIGNED_PRIEST, PM_ANGEL, PM_WIZARD_OF_YENDOR, rn2(), sgn(), u, you::ux, and you::uy.
Referenced by mattacku(), and nasty().
int ndemon | ( | aligntyp | atyp ) |
References A_NONE, is_ndemon, permonst::maligntyp, mkclass(), monsndx(), NON_PM, S_DEMON, and sgn().
Referenced by demonpet(), dlord(), morguemon(), msummon(), and summon_minion().
References A_CHAOTIC, A_LAWFUL, A_NEUTRAL, A_NONE, align_gname(), Amonnam(), Blind, EMIN, EPRI, FALSE, lminion(), makemon(), MM_EMIN, monst::mnum, mon, mons, ndemon(), NO_MM_FLAGS, NON_PM, pline(), pm, PM_AIR_ELEMENTAL, PM_ANGEL, rn2(), TRUE, u, you::ux, and you::uy.
Referenced by angrygods(), dosacrifice(), and god_zaps_you().