Home
last modified time | relevance | path

Searched refs:olet (Results 1 – 23 of 23) sorted by relevance

/openbsd/src/games/hack/
Dhack.do.c87 if(obj->olet == '$') { /* pseudo object */ in drop()
360 if(obj->olet == POTION_SYM) in dothrow()
375 } else if(obj->olet == POTION_SYM) { in dothrow()
396 obj->olet, NULL, NULL, obj); in dothrow()
402 if(obj->olet == WEAPON_SYM) { in dothrow()
436 } else if(obj->olet == POTION_SYM && u.ulevel > rn2(15)) { in dothrow()
443 if(obj->olet == FOOD_SYM && mon->data->mlet == 'd') in dothrow()
445 if(obj->olet == GEM_SYM && mon->data->mlet == 'u' && in dothrow()
Dhack.invent.c352 otmp->olet = '$'; in mkgoldobj()
391 if(!*let || strchr(let, otmp->olet)) { in getobj()
496 if(!allowall && let && !strchr(let,otmp->olet)) { in getobj()
541 if(!strchr(ilets, otmp->olet)){ in ggetobj()
542 ilets[iletct++] = otmp->olet; in ggetobj()
608 if(olets && *olets && !strchr(olets, otmp->olet)) continue; in askchain()
725 if (!strchr (stuff, otmp->olet)) { in dotypeinv()
726 stuff[stct++] = otmp->olet; in dotypeinv()
764 if (c == otmp -> olet || (c == 'u' && otmp -> unpaid)) in dotypeinv()
857 (strchr("%*?!", obj->olet) || in merged()
[all …]
Dhack.steal.c164 switch(otmp->olet) { in steal()
199 if(otmp->olet == CHAIN_SYM) { in steal()
229 if(otmp->olet == AMULET_SYM) { in stealamulet()
255 atl(otmp->ox,otmp->oy,otmp->olet); in relobj()
Dhack.wizard.c92 if(otmp->olet == AMULET_SYM && !otmp->spe) { in amulet()
106 if(mtmp->minvent && mtmp->minvent->olet == AMULET_SYM && in wiz_hit()
118 if(otmp->olet == AMULET_SYM && !otmp->spe) { in wiz_hit()
Dhack.wield.c114 if(!uwep || uwep->olet != WEAPON_SYM) return; /* %% */ in corrode_weapon()
129 if(!uwep || uwep->olet != WEAPON_SYM) { in chwepon()
Dhack.fight.c145 atl(mdef->mx,mdef->my,fobj->olet); in mondied()
163 atl(mdef->mx,mdef->my,fobj->olet); in monstone()
216 } else if(obj->olet == WEAPON_SYM || obj->otyp == PICK_AXE) { in hmon()
367 if(uwep->olet == WEAPON_SYM || uwep->otyp == PICK_AXE) in attack()
Dhack.u_init.c334 if(obj->olet == WEAPON_SYM){ in ini_inv()
347 if(obj->olet == ARMOR_SYM){ in ini_inv()
366 if(obj->olet == WEAPON_SYM) in ini_inv()
Dhack.zap.c149 ? GEM_SYM : obj->olet, in bhito()
160 if(obj->spe && obj->olet != AMULET_SYM) { in bhito()
657 if(obj->olet == FOOD_SYM && obj->otyp > CORPSE) { in revive()
692 obj->olet = WEAPON_SYM; in fracture_rock()
705 if(obj->olet == SCROLL_SYM) { in burn_scrolls()
Dhack.objnam.c179 switch(obj->olet) { in xname()
294 obj->olet,obj->olet,obj->otyp,obj->spe); in xname()
339 switch(obj->olet) { in doname()
Ddef.obj.h77 char olet; member
Dhack.save.c207 if(otmp->olet == CHAIN_SYM) goto chainfnd; in dorecover()
213 if(otmp->olet == BALL_SYM && otmp->spe) in dorecover()
Dhack.pri.c399 atl(x,y,otmp->olet); in prl()
426 else if(!Blind && (otmp = o_at(x,y))) tmp = otmp->olet; in news0()
580 if(obj->olet == FOOD_SYM && obj->otyp >= CORPSE in seeobjs()
586 if(obj->olet == FOOD_SYM && obj->otyp >= CORPSE in seeobjs()
Dhack.dog.c164 switch(obj->olet) { in dogfood()
243 if(!strchr("0_", obj->olet)){ in dog_move()
378 if(obj->olet == FOOD_SYM && in dog_move()
Dhack.bones.c129 if(otmp->olet == AMULET_SYM && !otmp->spe) { in savebones()
Dhack.mkobj.c117 otmp->olet = let; in mksobj()
Dhack.shk.c746 ((tmp = shtypes[rooms[ESHK(shopkeeper)->shoproom].rtype-8]) && tmp != obj->olet) in subfrombill()
747 || strchr("_0", obj->olet)) { in subfrombill()
843 switch(obj->olet){ in getprice()
905 if(otmp->olet == FOOD_SYM && !otmp->unpaid) in realhunger()
Dhack.read.c348 if(obj->olet == FOOD_SYM) { in doread()
364 if(obj->olet == foodsym) in doread()
Dhack.mon.c420 if(likeobjs || otmp->olet == GEM_SYM) in m_move()
530 if (otmp->olet == GEM_SYM) in mpickgems()
827 atl(x,y,obj2->olet); in killed()
Dhack.end.c248 if(otmp->olet == GEM_SYM){ in done()
259 } else if(otmp->olet == AMULET_SYM) { in done()
Dhack.potion.c166 at(objs->ox,objs->oy,objs->olet); in dodrink()
Dhack.eat.c174 otmp->olet == FOOD_SYM) { in doeat()
Dhack.trap.c532 if(obj->olet == SCROLL_SYM && rn2(12) > u.uluck) in drown()
Dhack.c264 if(cansee(rx,ry)) atl(rx,ry,otmp->olet); in domove()