Lines Matching defs:mtmp
16 struct monst *mtmp;
77 mtmp = makemon(&mons[dtype], u.ux, u.uy, NO_MM_FLAGS);
78 if (mtmp && (dtype == PM_ANGEL)) {
80 EPRI(mtmp)->shralign = atyp;
139 #define Athome (Inhell && !mtmp->cham)
142 demon_talk(mtmp) /* returns 1 if it won't attack. */
143 register struct monst *mtmp;
148 pline("%s looks very angry.", Amonnam(mtmp));
149 mtmp->mpeaceful = mtmp->mtame = 0;
150 set_malign(mtmp);
151 newsym(mtmp->mx, mtmp->my);
156 if (is_dprince(mtmp->data) && mtmp->minvis) {
157 mtmp->minvis = mtmp->perminvis = 0;
158 if (!Blind) pline("%s appears before you.", Amonnam(mtmp));
159 newsym(mtmp->mx,mtmp->my);
163 Amonnam(mtmp), flags.female ? "Sister" : "Brother");
164 if (!tele_restrict(mtmp)) (void) rloc(mtmp, FALSE);
173 (100 * (1 + (sgn(u.ualign.type) == sgn(mtmp->data->maligntyp))));
176 mtmp->mpeaceful = 0;
177 set_malign(mtmp);
183 if (mon_has_amulet(mtmp))
187 Amonnam(mtmp), demand, currency(demand));
189 if ((offer = bribe(mtmp)) >= demand) {
191 Amonnam(mtmp));
194 Amonnam(mtmp));
196 pline("%s gets angry...", Amonnam(mtmp));
197 mtmp->mpeaceful = 0;
198 set_malign(mtmp);
202 mongone(mtmp);
207 bribe(mtmp)
208 struct monst *mtmp;
223 mon_nam(mtmp));
230 You("give %s all your gold.", mon_nam(mtmp));
233 You("give %s %ld %s.", mon_nam(mtmp), offer, currency(offer));
236 mtmp->mgold += offer;
239 You("give %s all your gold.", mon_nam(mtmp));
242 You("give %s %ld %s.", mon_nam(mtmp), offer, currency(offer));
244 (void) money2mon(mtmp, offer);