Searched refs:carried (Results 1 - 25 of 46) sorted by relevance

12

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dball.c19 if (carried(uball)) {
108 if (carried(uball)) /* the ball is carried */
111 /* ball might rust -- already checked when carried */
129 if (!carried(uball)) {
154 if (uchain->ox != uball->ox || uchain->oy != uball->oy || carried(uball)
176 int ball_on_floor = !carried(uball);
225 * place the ball and chain after the move. If the ball is carried, this
323 if (!carried(uball)) {
328 int on_floor = !carried(ubal
[all...]
H A Deat.c315 if(!carried(otmp))
325 if(((!carried(otmp) && costly_spot(otmp->ox, otmp->oy) &&
337 if (carried(otmp)) {
401 (!carried(victual.piece) && !obj_here(victual.piece, u.ux, u.uy))) {
435 if (carried(victual.piece)) useup(victual.piece);
1004 if(((!carried(tin.tin) &&
1022 if(!carried(tin.tin) && !obj_here(tin.tin, u.ux, u.uy))
1126 if (carried(tin.tin)) useup(tin.tin);
1178 if (carried(otmp)) dropx(otmp);
1282 if (carried(otm
[all...]
H A Dtimeout.c433 yours = (egg->spe || (!flags.female && carried(egg) && !rn2(2)));
450 (carried(egg) && mon->data->mlet == S_DRAGON)) {
453 if (carried(egg) && mon->data->mlet != S_DRAGON)
573 } else if (carried(egg)) {
592 /* we might have just learned about other eggs being carried */
1111 if (carried(obj) && !already_lit)
1117 if (carried(obj) && !already_lit)
H A Dmkobj.c696 if (carried(otmp) && confers_luck(otmp))
710 if (carried(otmp) && confers_luck(otmp))
732 if (carried(otmp) && confers_luck(otmp))
739 && (carried(otmp) || mcarried(otmp)))
750 if (carried(otmp) && confers_luck(otmp))
H A Dpray.c1114 if (carried(otmp)) useup(otmp);
1220 if (carried(otmp)) useup(otmp);
1274 if(carried(otmp)) useup(otmp); /* well, it's gone now */
H A Dwield.c12 * 3. May be carried in one or both hands.
28 * 3. Is usually NOT considered to be carried in the hands.
42 * 3. Is considered to be carried in a special part of the pack.
610 victim = carried(target) ? &youmonst :
646 /* no message if not carried */
H A Dtrap.c226 if (carried(otmp)) {
931 if (Punished && !carried(uball)) {
2321 if (Punished && !carried(uball) &&
2440 if ((box && !carried(box)) ? is_pool(box->ox, box->oy) : Underwater) {
3610 if (get_obj_location(obj, &cc.x, &cc.y, 0)) /* might be carried */
3670 if (Punished && !carried(uball) &&
H A Dpickup.c984 boolean adjust_wt = container && carried(container),
1772 boolean floor_container = !carried(current_container);
1978 if(!obj->unpaid && !carried(current_container) &&
2038 box->ox = ox, box->oy = oy; /* in case it's being carried */
H A Ddo_name.c435 if (carried(obj)) update_inventory();
H A Dteleport.c253 if (!carried(uball) && distmin(nux, nuy, uball->ox, uball->oy) <= 2)
H A Dvault.c39 || (Punished && !carried(uball)
H A Duhitm.c2386 if (drain_item(obj) && carried(obj) &&
2396 if (carried(obj)) update_inventory();
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dball.c19 if (carried(uball)) {
108 if (carried(uball)) /* the ball is carried */
111 /* ball might rust -- already checked when carried */
129 if (!carried(uball)) {
154 if (uchain->ox != uball->ox || uchain->oy != uball->oy || carried(uball)
176 int ball_on_floor = !carried(uball);
225 * place the ball and chain after the move. If the ball is carried, this
323 if (!carried(uball)) {
328 int on_floor = !carried(ubal
[all...]
H A Deat.c315 if(!carried(otmp))
325 if(((!carried(otmp) && costly_spot(otmp->ox, otmp->oy) &&
337 if (carried(otmp)) {
401 (!carried(victual.piece) && !obj_here(victual.piece, u.ux, u.uy))) {
435 if (carried(victual.piece)) useup(victual.piece);
1004 if(((!carried(tin.tin) &&
1022 if(!carried(tin.tin) && !obj_here(tin.tin, u.ux, u.uy))
1126 if (carried(tin.tin)) useup(tin.tin);
1178 if (carried(otmp)) dropx(otmp);
1282 if (carried(otm
[all...]
H A Dtimeout.c433 yours = (egg->spe || (!flags.female && carried(egg) && !rn2(2)));
450 (carried(egg) && mon->data->mlet == S_DRAGON)) {
453 if (carried(egg) && mon->data->mlet != S_DRAGON)
573 } else if (carried(egg)) {
592 /* we might have just learned about other eggs being carried */
1111 if (carried(obj) && !already_lit)
1117 if (carried(obj) && !already_lit)
H A Dmkobj.c696 if (carried(otmp) && confers_luck(otmp))
710 if (carried(otmp) && confers_luck(otmp))
732 if (carried(otmp) && confers_luck(otmp))
739 && (carried(otmp) || mcarried(otmp)))
750 if (carried(otmp) && confers_luck(otmp))
H A Dpray.c1114 if (carried(otmp)) useup(otmp);
1220 if (carried(otmp)) useup(otmp);
1274 if(carried(otmp)) useup(otmp); /* well, it's gone now */
H A Dwield.c12 * 3. May be carried in one or both hands.
28 * 3. Is usually NOT considered to be carried in the hands.
42 * 3. Is considered to be carried in a special part of the pack.
610 victim = carried(target) ? &youmonst :
646 /* no message if not carried */
H A Dtrap.c226 if (carried(otmp)) {
931 if (Punished && !carried(uball)) {
2321 if (Punished && !carried(uball) &&
2440 if ((box && !carried(box)) ? is_pool(box->ox, box->oy) : Underwater) {
3610 if (get_obj_location(obj, &cc.x, &cc.y, 0)) /* might be carried */
3670 if (Punished && !carried(uball) &&
H A Dpickup.c984 boolean adjust_wt = container && carried(container),
1772 boolean floor_container = !carried(current_container);
1978 if(!obj->unpaid && !carried(current_container) &&
2038 box->ox = ox, box->oy = oy; /* in case it's being carried */
H A Ddo_name.c435 if (carried(obj)) update_inventory();
H A Dteleport.c253 if (!carried(uball) && distmin(nux, nuy, uball->ox, uball->oy) <= 2)
H A Dvault.c39 || (Punished && !carried(uball)
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dobj.h216 #define carried(o) ((o)->where == OBJ_INVENT) macro
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dobj.h216 #define carried(o) ((o)->where == OBJ_INVENT) macro

Completed in 277 milliseconds

12