#include "hack.h"
Defines | |
#define | FOLLOW(curr, flags) (((flags) & BY_NEXTHERE) ? (curr)->nexthere : (curr)->nobj) |
#define | DELTA_CWT(cont, obj) |
#define | GOLD_WT(n) (((n) + 50L) / 100L) |
#define | GOLD_CAPACITY(w, n) (((w) * -100L) - ((n) + 50L) - 1L) |
#define | Icebox (current_container->otyp == ICE_BOX) |
Functions | |
STATIC_DCL void | FDECL (simple_look,(struct obj *, BOOLEAN_P)) |
STATIC_DCL boolean | FDECL (query_classes,(char *, boolean *, boolean *, const char *, struct obj *, BOOLEAN_P, BOOLEAN_P, int *)) |
STATIC_DCL void | FDECL (check_here,(BOOLEAN_P)) |
STATIC_DCL boolean | FDECL (n_or_more,(struct obj *)) |
STATIC_DCL boolean | FDECL (all_but_uchain,(struct obj *)) |
STATIC_DCL int | FDECL (autopick,(struct obj *, int, menu_item **)) |
STATIC_DCL int | FDECL (count_categories,(struct obj *, int)) |
STATIC_DCL long | FDECL (carry_count,(struct obj *, struct obj *, long, BOOLEAN_P, int *, int *)) |
STATIC_DCL int | FDECL (lift_object,(struct obj *, struct obj *, long *, BOOLEAN_P)) |
STATIC_DCL boolean | FDECL (mbag_explodes,(struct obj *, int)) |
STATIC_PTR int | FDECL (in_container,(struct obj *)) |
STATIC_PTR int | FDECL (ck_bag,(struct obj *)) |
STATIC_PTR int | FDECL (out_container,(struct obj *)) |
STATIC_DCL long | FDECL (mbag_item_gone,(int, struct obj *)) |
STATIC_DCL void | FDECL (observe_quantum_cat,(struct obj *)) |
STATIC_DCL int | FDECL (menu_loot,(int, struct obj *, BOOLEAN_P)) |
STATIC_DCL int | FDECL (in_or_out_menu,(const char *, struct obj *, BOOLEAN_P, BOOLEAN_P)) |
STATIC_DCL int | FDECL (container_at,(int, int, BOOLEAN_P)) |
STATIC_DCL boolean | FDECL (able_to_loot,(int, int)) |
STATIC_DCL boolean | FDECL (mon_beside,(int, int)) |
STATIC_DCL void | NDECL (del_sokoprize) |
STATIC_OVL void | simple_look (struct obj *otmp, boolean here) |
int | collect_obj_classes (ilets, struct obj *otmp, boolean here, boolean incl_gold, filter, int *itemcount) |
STATIC_OVL boolean | query_classes (oclasses, boolean *one_at_a_time, boolean *everything, const char *action, struct obj *objs, boolean here, boolean incl_gold, int *menu_on_demand) |
STATIC_OVL void | check_here (boolean picked_some) |
STATIC_OVL boolean | n_or_more (struct obj *obj) |
void | add_valid_menu_class (int c) |
STATIC_OVL boolean | all_but_uchain (struct obj *obj) |
boolean | allow_all (struct obj *obj) |
boolean | allow_category (struct obj *obj) |
boolean | is_worn_by_type (struct obj *otmp) |
int | pickup (int what) |
STATIC_OVL int | autopick (struct obj *olist, int follow, menu_item **pick_list) |
int | query_objlist (char *qstr, struct obj *olist, int qflags, menu_item **pick_list, int how, allow) const |
int | query_category (char *qstr, struct obj *olist, int qflags, menu_item **pick_list, int how) const |
STATIC_OVL int | count_categories (struct obj *olist, int qflags) |
STATIC_OVL long | carry_count (struct obj *obj, struct obj *container, long count, boolean telekinesis, int *wt_before, int *wt_after) |
STATIC_OVL int | lift_object (struct obj *obj, struct obj *container, long *cnt_p, boolean telekinesis) |
const char * | safe_qbuf (char *qbuf, unsigned padlength, char *planA, char *planB, char *last_resort) const |
int | pickup_object (struct obj *obj, long count, boolean telekinesis) |
struct obj * | pick_obj (struct obj *otmp) |
int | encumber_msg () |
STATIC_OVL int | container_at (int x, int y, boolean countem) |
STATIC_OVL boolean | able_to_loot (int x, int y) |
STATIC_OVL boolean | mon_beside (int x, int y) |
int | doloot () |
int | loot_mon (struct monst *mtmp, int *passed_info, boolean *prev_loot) |
STATIC_OVL boolean | mbag_explodes (struct obj *obj, int depthin) |
STATIC_PTR int | in_container (struct obj *obj) |
STATIC_PTR int | ck_bag (struct obj *obj) |
STATIC_PTR int | out_container (struct obj *obj) |
STATIC_OVL long | mbag_item_gone (int held, struct obj *item) |
STATIC_OVL void | observe_quantum_cat (struct obj *box) |
int | use_container (struct obj *obj, int held) |
STATIC_OVL int | menu_loot (int retry, struct obj *container, boolean put_in) |
STATIC_OVL int | in_or_out_menu (char *prompt, struct obj *obj, boolean outokay, boolean inokay) const |
STATIC_OVL void | del_sokoprize () |
Variables | |
static const char | moderateloadmsg [] = "You have a little trouble lifting" |
static const char | nearloadmsg [] = "You have much trouble lifting" |
static const char | overloadmsg [] = "You have extreme difficulty lifting" |
static long | val_for_n_or_more |
static char | valid_menu_classes [MAXOCLASSES+2] |
static NEARDATA struct obj * | current_container |
#define DELTA_CWT | ( | cont, | |
obj | |||
) |
Referenced by carry_count().
Referenced by autopick(), count_categories(), query_category(), and query_objlist().
#define GOLD_CAPACITY | ( | w, | |
n | |||
) | (((w) * -100L) - ((n) + 50L) - 1L) |
Referenced by carry_count(), and pickup_object().
#define GOLD_WT | ( | n ) | (((n) + 50L) / 100L) |
Referenced by carry_count(), and pickup_object().
#define Icebox (current_container->otyp == ICE_BOX) |
Referenced by in_container(), and out_container().
STATIC_OVL boolean able_to_loot | ( | int | x, |
int | y | ||
) |
References body_part(), can_reach_floor(), monst::data, FALSE, freehand(), HAND, is_lava(), is_pool(), nolimbs, P_BASIC, P_SKILL, pline(), surface(), TRUE, u, and youmonst.
Referenced by doloot().
void add_valid_menu_class | ( | int | c ) |
Referenced by doddoremarm(), doddrop(), ggetobj(), menu_drop(), menu_loot(), menu_remarm(), pickup(), query_classes(), and use_container().
References TRUE.
Referenced by display_cinventory(), display_minventory(), menu_drop(), menu_loot(), and pickup().
References COIN_CLASS, FALSE, index, not_fully_identified(), PM_PRIEST, Role_if, and TRUE.
Referenced by ckvalidcat(), menu_drop(), menu_loot(), and pickup().
References any::a_obj, AUTOPICKUP_EXCEPTIONS, mi::count, FALSE, flags, FOLLOW, index, mi::item, obj::oclass, flag::pickup_dropped, flag::pickup_thrown, flag::pickup_types, obj::quan, and TRUE.
Referenced by pickup().
STATIC_OVL long carry_count | ( | struct obj * | obj, |
struct obj * | container, | ||
long | count, | ||
boolean | telekinesis, | ||
int * | wt_before, | ||
int * | wt_after | ||
) |
References BAG_OF_HOLDING, BUFSZ, carried, COIN_CLASS, DELTA_CWT, doname(), GOLD_CAPACITY, GOLD_WT, if(), invent, max_capacity(), otense(), obj::quan, Sprintf, STATIC_OVL, Strcpy, the(), u, you::ugold, weight(), where, and xname().
Referenced by lift_object().
STATIC_OVL void check_here | ( | boolean | picked_some ) |
References flags, flush_screen(), level, look_here(), nomul(), dlevel_t::objects, read_engr_at(), flag::run, u, uchain, you::ux, and you::uy.
Referenced by pickup().
STATIC_PTR int ck_bag | ( | struct obj * | obj ) |
References current_container.
Referenced by use_container().
int collect_obj_classes | ( | ilets | , |
struct obj * | otmp, | ||
boolean | here, | ||
boolean | incl_gold, | ||
filter | , | ||
int * | itemcount | ||
) |
References COIN_CLASS, def_oc_syms, if(), index, and otmp.
Referenced by dotypeinv(), ggetobj(), and query_classes().
STATIC_OVL int container_at | ( | int | x, |
int | y, | ||
boolean | countem | ||
) |
References obj::cobj, Is_container, level, obj::nobj, and dlevel_t::objects.
Referenced by doloot().
STATIC_OVL int count_categories | ( | struct obj * | olist, |
int | qflags | ||
) |
References FALSE, flags, FOLLOW, flag::inv_order, obj::oclass, obj::owornmask, TRUE, W_AMUL, W_ARMOR, W_QUIVER, W_RING, W_SWAPWEP, W_TOOL, W_WEP, and WORN_TYPES.
Referenced by query_category().
STATIC_OVL void del_sokoprize | ( | ) |
References an(), dlevel_t::buriedobjlist, cansee, flags, fobj, Is_sokoprize, level, newsym(), obj::nobj, obfree(), obj_extract_self(), otmp, obj::ox, obj::oy, flag::soundok, and xname().
Referenced by pickup_object().
int doloot | ( | ) |
References able_to_loot(), add_to_container(), add_to_minv(), an(), BAG_OF_TRICKS, BUFSZ, check_capacity(), CHEST, obj::cobj, COIN_CLASS, Confusion, container_at(), courtmon(), monst::data, delobj(), doname(), dropx(), dropy(), FALSE, fobj, freeinv(), Half_physical_damage, Hallucination, iflags, invent, IRON_SAFE, Is_container, IS_THRONE, KILLED_BY_AN, LARGEST_INT, level, levl, losehp(), makeknown, makemon(), monst::mgold, min, mkgoldobj(), mon, multi, NO_MM_FLAGS, obj::nobj, nohands, dlevel_t::objects, obj::oclass, obj::otyp, obj::owt, pline(), obj::quan, rnd(), safe_qbuf(), simple_typename(), obj::spe, splitobj(), Sprintf, the(), TRUE, u, you::ugold, use_container(), you::ux, you::uy, instance_flags::vanilla_ui_behavior, weight(), nhcoord::x, xname(), nhcoord::y, ynq, and youmonst.
int encumber_msg | ( | ) |
References flag::botl, monst::data, flags, near_capacity(), stagger(), UNENCUMBERED, and youmonst.
Referenced by adjattrib(), exercise(), fix_worst_trouble(), Gloves_off(), heal_legs(), moveloop(), newman(), poisoned(), polymon(), redist_attr(), rehumanize(), restore_attrib(), set_wounded_legs(), thitmonst(), and throwit().
STATIC_DCL int FDECL | ( | menu_loot | , |
(int, struct obj *, BOOLEAN_P) | |||
) |
STATIC_DCL int FDECL | ( | in_or_out_menu | , |
(const char *, struct obj *, BOOLEAN_P, BOOLEAN_P) | |||
) |
STATIC_DCL void FDECL | ( | simple_look | , |
(struct obj *, BOOLEAN_P) | |||
) |
STATIC_DCL int FDECL | ( | container_at | , |
(int, int, BOOLEAN_P) | |||
) |
STATIC_DCL boolean FDECL | ( | able_to_loot | , |
(int, int) | |||
) |
STATIC_DCL boolean FDECL | ( | mon_beside | , |
(int, int) | |||
) |
STATIC_DCL boolean FDECL | ( | query_classes | , |
(char *, boolean *, boolean *, const char *, struct obj *, BOOLEAN_P, BOOLEAN_P, int *) | |||
) |
STATIC_DCL long FDECL | ( | mbag_item_gone | , |
(int, struct obj *) | |||
) |
STATIC_PTR int FDECL | ( | in_container | , |
(struct obj *) | |||
) |
STATIC_PTR int FDECL | ( | ck_bag | , |
(struct obj *) | |||
) |
STATIC_DCL void FDECL | ( | check_here | , |
(BOOLEAN_P) | |||
) |
STATIC_PTR int FDECL | ( | out_container | , |
(struct obj *) | |||
) |
STATIC_DCL int FDECL | ( | count_categories | , |
(struct obj *, int) | |||
) |
STATIC_DCL void FDECL | ( | observe_quantum_cat | , |
(struct obj *) | |||
) |
STATIC_PTR int in_container | ( | struct obj * | obj ) |
References add_to_container(), addtobill(), age_is_relative, AMULET_OF_YENDOR, an(), BAG_OF_HOLDING, BELL_OF_OPENING, bigmonst, bot(), BOULDER, BUFSZ, CANDELABRUM_OF_INVOCATION, carried, COIN_CLASS, CORPSE, corpse_xname(), costly_spot(), d(), monst::data, delete_contents(), display_nhwindow, doname(), FALSE, freeinv(), ICE_BOX, Icebox, Is_box, Is_mbag, KILLED_BY_AN, LEASH, LOADSTONE, losehp(), mbag_explodes(), mons, monstermoves, obfree(), obj_here(), obj_is_burning(), objects, obj::owt, obj::ox, obj::oy, pline(), plur, PM_STONE_GOLEM, poly_when_stoned(), polymon(), obj::quan, REVIVE_MON, ROT_CORPSE, SELL_DELIBERATE, SELL_NORMAL, sellobj(), sellobj_state(), setuqwep(), setuswapwep(), setuwep(), snuff_lit(), something, SPE_BOOK_OF_THE_DEAD, STATUE, Stone_resistance, stop_timer(), Strcpy, the(), The(), Tobjnam(), touch_petrifies, TRUE, u, uarmg, uball, uchain, uquiver, useup(), useupf(), uswapwep, uwep, you::ux, you::uy, W_AMUL, W_ARMOR, W_RING, W_TOOL, weight(), welded(), weldmsg(), WIN_MESSAGE, xname(), and youmonst.
Referenced by menu_loot(), revive(), and use_container().
STATIC_OVL int in_or_out_menu | ( | char * | prompt, |
struct obj * | obj, | ||
boolean | outokay, | ||
boolean | inokay | ||
) | const |
References any::a_int, any::a_void, add_menu, ATR_NONE, BUFSZ, create_nhwindow, destroy_nhwindow, end_menu, iflags, mi::item, instance_flags::lootabc, MENU_UNSELECTED, NHW_MENU, NO_GLYPH, PICK_ONE, select_menu, something, Sprintf, start_menu, the(), and xname().
Referenced by use_container().
STATIC_OVL int lift_object | ( | struct obj * | obj, |
struct obj * | container, | ||
long * | cnt_p, | ||
boolean | telekinesis | ||
) |
References an(), body_part(), BOULDER, BUFSZ, calc_capacity(), carry_count(), clear_nhwindow, COIN_CLASS, monst::data, doname(), eos(), flags, HAND, HVY_ENCUMBER, In_sokoban, inv_cnt(), invent, LOADSTONE, merge_choice(), MOD_ENCUMBER, near_capacity(), flag::pickup_burden, safe_qbuf(), SCR_SCARE_MONSTER, simple_typename(), Sprintf, Strcpy, throws_rocks, u, you::uz, WIN_MESSAGE, xname(), ynq, and youmonst.
Referenced by out_container(), and pickup_object().
References ARTICLE_THE, monst::data, doname(), FALSE, hold_another_object(), nolimbs, obj_extract_self(), otmp, obj::owornmask, pickup(), QBUFSZ, rnd(), Sprintf, SUPPRESS_SADDLE, TRUE, u, update_mon_intrinsics(), which_armor(), x_monnam(), yn_function(), ynqchars, and youmonst.
Referenced by dopickup().
References BAG_OF_TRICKS, obj::cobj, FALSE, Has_contents, Is_mbag, obj::nobj, otmp, rn2(), TRUE, and WAN_CANCELLATION.
Referenced by in_container().
STATIC_OVL long mbag_item_gone | ( | int | held, |
struct obj * | item | ||
) |
References Blind, costly_spot(), doname(), Doname2(), obfree(), otense(), pline(), shop_keeper(), stolen_value(), TRUE, u, you::ushops, you::ux, and you::uy.
Referenced by use_container().
References any::a_obj, add_valid_menu_class(), ALL_TYPES, ALL_TYPES_SELECTED, allow_all(), allow_category(), BUC_ALLBKNOWN, BUC_UNKNOWN, BUFSZ, CHOOSE_ALL, obj::cobj, mi::count, FALSE, flags, in_container(), invent, flag::invlet_constant, INVORDER_SORT, mi::item, MENU_FULL, flag::menu_style, merged(), obj::nobj, otmp, out_container(), PICK_ANY, query_category(), query_objlist(), splitobj(), Sprintf, TRUE, UNIDENTIFIED_TYPES, UNPAID_TYPES, and USE_INVLET.
Referenced by use_container().
STATIC_OVL boolean mon_beside | ( | int | x, |
int | y | ||
) |
STATIC_DCL void NDECL | ( | del_sokoprize | ) |
STATIC_OVL void observe_quantum_cat | ( | struct obj * | box ) |
References add_to_container(), body_part(), canspotmon, christen_monst(), CORPSE, FOOT, get_obj_location(), Hallucination, makemon(), mk_named_object(), Monnam(), mons, NEARDATA, NO_MINVENT, obj_extract_self(), pline(), PM_HOUSECAT, rn2(), rndmonnam(), set_malign(), something, and weight().
Referenced by use_container().
STATIC_PTR int out_container | ( | struct obj * | obj ) |
References addinv(), addtobill(), age_is_relative, an(), bot(), BUFSZ, carried, COIN_CLASS, CORPSE, corpse_xname(), costly_spot(), monst::data, dealloc_obj(), display_nhwindow, FALSE, Icebox, is_pick, lift_object(), LOADSTONE, MOD_ENCUMBER, mons, monstermoves, near_capacity(), obj_extract_self(), otmp, obj::owt, obj::ox, obj::oy, pline(), PM_STONE_GOLEM, poly_when_stoned(), polymon(), prinv(), shop_keeper(), splitobj(), start_corpse_timeout(), Stone_resistance, Strcpy, touch_artifact(), touch_petrifies, TRUE, u, uarmg, you::ushops, weight(), WIN_MESSAGE, and youmonst.
Referenced by menu_loot(), and use_container().
References addinv(), addtobill(), costly_spot(), FALSE, in_rooms(), index, newsym(), obj_extract_self(), remote_burglary(), SHOPBASE, Strcpy, TRUE, u, uball, and you::ushops.
Referenced by pickup_object().
int pickup | ( | int | what ) |
References add_valid_menu_class(), all_but_uchain(), allow_all(), allow_category(), an(), autopick(), AUTOSELECT_SINGLE, BUFSZ, BY_NEXTHERE, can_reach_floor(), check_here(), mi::count, monst::data, doname(), FALSE, FEEL_COCKATRICE, flags, if(), iflags, index, INVORDER_SORT, is_lava(), is_pool(), level, MAXOCLASSES, instance_flags::menu_requested, flag::menu_style, MENU_TRADITIONAL, min, monst::minvent, multi, n_or_more(), newsym(), obj::nobj, nomul(), flag::nopick, notake, OBJ_AT, dlevel_t::objects, obj::oclass, obj::otyp, PICK_ANY, PICK_ONE, flag::pickup, pickup_object(), PIT, QBUFSZ, obj::quan, query_classes(), query_objlist(), read_engr_at(), flag::run, safe_qbuf(), simple_typename(), SPIKED_PIT, Sprintf, t_at(), TRUE, TT_PIT, u, Underwater, you::ustuck, you::utrap, you::utraptype, you::ux, you::uy, what, yn_number, ynaq, ynNaq, and youmonst.
Referenced by digactualhole(), dopickup(), float_down(), goto_level(), loot_mon(), and spoteffects().
References A_WIS, an(), Blind, flag::botl, BUFSZ, calc_capacity(), COIN_CLASS, CORPSE, corpse_xname(), costly_gold(), monst::data, del_sokoprize(), delobj(), display_nhwindow, docall(), exercise(), FALSE, flags, GOLD_CAPACITY, GOLD_WT, is_rider, Is_sokoprize, lift_object(), LOADSTONE, makeknown, max_capacity(), MOD_ENCUMBER, mons, mrg_to_wielded, near_capacity(), nomul(), objects, otense(), pick_obj(), pline(), plur, PM_STONE_GOLEM, poly_when_stoned(), polymon(), prinv(), revive_corpse(), flag::run, SCR_SCARE_MONSTER, See_invisible, SLT_ENCUMBER, splitobj(), Stone_resistance, Strcpy, touch_artifact(), touch_petrifies, TRUE, u, uarmg, uchain, you::ugold, useupf(), uwep, you::ux, you::uy, WIN_MESSAGE, and youmonst.
Referenced by pickup(), use_grapple(), and use_whip().
int query_category | ( | char * | qstr, |
struct obj * | olist, | ||
int | qflags, | ||
menu_item ** | pick_list, | ||
int | how | ||
) | const |
References any::a_int, any::a_void, add_menu, ALL_TYPES, ALL_TYPES_SELECTED, ATR_NONE, BILLED_TYPES, BUC_BLESSED, BUC_CURSED, BUC_UNCURSED, BUC_UNKNOWN, CHOOSE_ALL, count_buc(), count_categories(), count_unidentified(), count_unpaid(), create_nhwindow, def_oc_syms, destroy_nhwindow, end_menu, FALSE, flags, FOLLOW, flag::inv_order, obj::invlet, mi::item, let_to_name(), MENU_UNSELECTED, NHW_MENU, NO_GLYPH, objects, objclass::oc_class, obj::oclass, obj::otyp, obj::owornmask, select_menu, start_menu, TRUE, UNIDENTIFIED_TYPES, UNPAID_TYPES, W_AMUL, W_ARMOR, W_QUIVER, W_RING, W_SWAPWEP, W_TOOL, W_WEP, and WORN_TYPES.
Referenced by dotypeinv(), menu_drop(), menu_loot(), and menu_remarm().
STATIC_OVL boolean query_classes | ( | oclasses | , |
boolean * | one_at_a_time, | ||
boolean * | everything, | ||
const char * | action, | ||
struct obj * | objs, | ||
boolean | here, | ||
boolean | incl_gold, | ||
int * | menu_on_demand | ||
) |
References add_valid_menu_class(), BUFSZ, collect_obj_classes(), def_char_to_objclass(), display_inventory(), FALSE, FDECL, getlin, index, invent, QBUFSZ, simple_look(), Sprintf, TRUE, and where.
Referenced by pickup(), and use_container().
int query_objlist | ( | char * | qstr, |
struct obj * | olist, | ||
int | qflags, | ||
menu_item ** | pick_list, | ||
int | how, | ||
allow | |||
) | const |
References any::a_obj, add_menu, ATR_NONE, AUTOSELECT_SINGLE, CORPSE, mi::count, create_nhwindow, def_oc_syms, destroy_nhwindow, doname_with_price(), end_menu, FALSE, FEEL_COCKATRICE, flags, FOLLOW, iflags, flag::inv_order, obj::invlet, INVORDER_SORT, mi::item, let_to_name(), look_here(), instance_flags::menu_headings, MENU_UNSELECTED, NHW_MENU, NO_GLYPH, obj_to_glyph, objects, objclass::oc_class, obj::oclass, obj::otyp, obj::quan, select_menu, SIGNAL_NOMENU, start_menu, TRUE, USE_INVLET, and will_feel_cockatrice().
Referenced by display_binventory(), display_cinventory(), display_minventory(), dotypeinv(), menu_drop(), menu_identify(), menu_loot(), menu_remarm(), and pickup().
const char* safe_qbuf | ( | char * | qbuf, |
unsigned | padlength, | ||
char * | planA, | ||
char * | planB, | ||
char * | last_resort | ||
) | const |
References QBUFSZ.
Referenced by askchain(), do_break_wand(), do_oname(), dodip(), doforce(), doloot(), lift_object(), pick_lock(), pickup(), untrap(), use_candle(), and use_container().
References create_nhwindow, destroy_nhwindow, display_nhwindow, doname(), NHW_MENU, pline(), putstr, and TRUE.
Referenced by query_classes().
int use_container | ( | struct obj * | obj, |
int | held | ||
) |
References add_valid_menu_class(), askchain(), assigninvlet(), body_part(), BUFSZ, chest_trap(), ck_bag(), obj::cobj, COIN_CLASS, container_contents(), currency(), monst::data, dealloc_obj(), eos(), FALSE, FDECL, flags, freehand(), HAND, in_container(), in_or_out_menu(), inv_cnt(), invent, Is_mbag, MAXOCLASSES, mbag_item_gone(), MENU_FULL, menu_loot(), flag::menu_style, MENU_TRADITIONAL, mkgoldobj(), multi, obj::nobj, nohands, nomovemsg, nomul(), obj_extract_self(), observe_quantum_cat(), obj::oclass, otmp, out_container(), pbuf, pline(), QBUFSZ, obj::quan, query_classes(), rn2(), safe_qbuf(), something, Sprintf, STATIC_OVL, Strcat, Strcpy, the(), Tobjnam(), TRUE, u, you::ugold, weight(), xname(), yn_function(), yname(), Yname2(), ynqchars, youmonst, and ysimple_name().
Referenced by bagotricks(), doapply(), and doloot().
NEARDATA struct obj* current_container [static] |
Referenced by ck_bag().
const char moderateloadmsg[] = "You have a little trouble lifting" [static] |
const char nearloadmsg[] = "You have much trouble lifting" [static] |
const char overloadmsg[] = "You have extreme difficulty lifting" [static] |
long val_for_n_or_more [static] |
char valid_menu_classes[MAXOCLASSES+2] [static] |