Go to the source code of this file.
Data Structures | |
struct | objclass |
struct | objdescr |
struct | fruit |
Defines | |
#define | oc_bimanual oc_big |
#define | oc_bulky oc_big |
#define | NODIR 1 |
#define | IMMEDIATE 2 |
#define | RAY 3 |
#define | PIERCE 1 |
#define | SLASH 2 |
#define | WHACK 0 |
#define | LIQUID 1 |
#define | WAX 2 |
#define | VEGGY 3 |
#define | FLESH 4 |
#define | PAPER 5 |
#define | CLOTH 6 |
#define | LEATHER 7 |
#define | WOOD 8 |
#define | BONE 9 |
#define | DRAGON_HIDE 10 |
#define | IRON 11 |
#define | METAL 12 |
#define | COPPER 13 |
#define | SILVER 14 |
#define | GOLD 15 |
#define | PLATINUM 16 |
#define | MITHRIL 17 |
#define | PLASTIC 18 |
#define | GLASS 19 |
#define | GEMSTONE 20 |
#define | MINERAL 21 |
#define | is_organic(otmp) (objects[otmp->otyp].oc_material <= WOOD) |
#define | is_metallic(otmp) |
#define | is_rustprone(otmp) (objects[otmp->otyp].oc_material == IRON) |
#define | is_corrodeable(otmp) (objects[otmp->otyp].oc_material == COPPER || objects[otmp->otyp].oc_material == IRON) |
#define | is_damageable(otmp) |
#define | oc_skill oc_subtyp |
#define | oc_armcat oc_subtyp |
#define | ARM_SHIELD 1 |
#define | ARM_HELM 2 |
#define | ARM_GLOVES 3 |
#define | ARM_BOOTS 4 |
#define | ARM_CLOAK 5 |
#define | ARM_SHIRT 6 |
#define | ARM_SUIT 0 |
#define | oc_hitbon oc_oc1 |
#define | a_ac oc_oc1 |
#define | a_can oc_oc2 |
#define | oc_level oc_oc2 |
#define | RANDOM_CLASS 0 |
#define | ILLOBJ_CLASS 1 |
#define | WEAPON_CLASS 2 |
#define | ARMOR_CLASS 3 |
#define | RING_CLASS 4 |
#define | AMULET_CLASS 5 |
#define | TOOL_CLASS 6 |
#define | FOOD_CLASS 7 |
#define | POTION_CLASS 8 |
#define | SCROLL_CLASS 9 |
#define | SPBOOK_CLASS 10 |
#define | WAND_CLASS 11 |
#define | COIN_CLASS 12 |
#define | GEM_CLASS 13 |
#define | ROCK_CLASS 14 |
#define | BALL_CLASS 15 |
#define | CHAIN_CLASS 16 |
#define | VENOM_CLASS 17 |
#define | MAXOCLASSES 18 |
#define | ALLOW_COUNT (MAXOCLASSES+1) |
#define | ALL_CLASSES (MAXOCLASSES+2) |
#define | ALLOW_NONE (MAXOCLASSES+3) |
#define | BURNING_OIL (MAXOCLASSES+1) |
#define | MON_EXPLODE (MAXOCLASSES+2) |
#define | ILLOBJ_SYM ']' |
#define | WEAPON_SYM ')' |
#define | ARMOR_SYM '[' |
#define | RING_SYM '=' |
#define | AMULET_SYM '"' |
#define | TOOL_SYM '(' |
#define | FOOD_SYM '%' |
#define | POTION_SYM '!' |
#define | SCROLL_SYM '?' |
#define | SPBOOK_SYM '+' |
#define | WAND_SYM '/' |
#define | GOLD_SYM '$' |
#define | GEM_SYM '*' |
#define | ROCK_SYM '`' |
#define | BALL_SYM '0' |
#define | CHAIN_SYM '_' |
#define | VENOM_SYM '.' |
#define | newfruit() (struct fruit *)alloc(sizeof(struct fruit)) |
#define | dealloc_fruit(rind) free((genericptr_t) (rind)) |
#define | OBJ_NAME(obj) (obj_descr[(obj).oc_name_idx].oc_name) |
#define | OBJ_DESCR(obj) (obj_descr[(obj).oc_descr_idx].oc_descr) |
Variables | |
NEARDATA struct objclass | objects [] |
NEARDATA struct objdescr | obj_descr [] |
#define a_ac oc_oc1 |
#define a_can oc_oc2 |
#define ALL_CLASSES (MAXOCLASSES+2) |
Referenced by check_map_spot(), ddocall(), dodip(), doorganize(), getobj(), object_detect(), and use_stone().
#define ALLOW_COUNT (MAXOCLASSES+1) |
Referenced by doorganize(), and getobj().
#define ALLOW_NONE (MAXOCLASSES+3) |
Referenced by getobj(), and use_stone().
#define AMULET_CLASS 5 |
Referenced by can_ooze(), check_tutorial_oclass(), doname_base(), doputon(), eatspecial(), engrave(), get_cost(), get_valuables(), ggetobj(), m_dowear_type(), maybe_tutorial(), mksobj(), obj_typename(), readobjnam(), searches_for_item(), seffects(), shk_embellish(), shuffle_all(), silly_thing(), steal(), worn_wield_only(), and xname().
#define AMULET_SYM '"' |
#define ARM_BOOTS 4 |
#define ARM_CLOAK 5 |
#define ARM_GLOVES 3 |
Referenced by hits_bars().
#define ARM_HELM 2 |
#define ARM_SHIELD 1 |
#define ARM_SHIRT 6 |
#define ARM_SUIT 0 |
#define ARMOR_CLASS 3 |
Referenced by cancel_item(), cancellable(), check_tutorial_oclass(), doname_base(), drain_item(), engrave(), fill_zoo(), getobj(), getprice(), ggetobj(), hits_bars(), ini_inv(), mergable(), mksobj(), mongets(), not_fully_identified(), passive_obj(), poly_obj(), readobjnam(), seffects(), shk_names_obj(), shuffle_all(), silly_thing(), steal(), u_init(), water_damage(), worn_wield_only(), and xname().
#define ARMOR_SYM '[' |
#define BALL_CLASS 15 |
Referenced by contained_cost(), dmgval(), doeat(), dogfood(), doname_base(), engrave(), hits_bars(), mksobj(), not_fully_identified(), punish(), sellobj(), and xname().
#define BALL_SYM '0' |
#define BONE 9 |
Referenced by create_polymon(), doeat(), and edibility_prompts().
#define BURNING_OIL (MAXOCLASSES+1) |
Referenced by explode(), and splatter_burning_oil().
#define CHAIN_CLASS 16 |
Referenced by dmgval(), doeat(), dogfood(), doname_base(), engrave(), hits_bars(), mksobj(), punish(), sellobj(), and xname().
#define CHAIN_SYM '_' |
#define CLOTH 6 |
Referenced by create_polymon(), dosit(), and use_stone().
#define COIN_CLASS 12 |
Referenced by addinv(), addinv_core1(), addtobill(), allow_category(), askchain(), assigninvlet(), bhit(), bill_box_content(), bless(), bot2(), can_ooze(), carry_count(), change_inv_order(), check_map_spot(), check_tutorial_oclass(), choke(), collect_obj_classes(), contained_cost(), contained_gold(), count_buc(), create_object(), curse(), dipfountain(), display_minventory(), doaltarobj(), doeat(), dog_nutrition(), doloot(), doname_base(), doread(), dotypeinv(), drop(), dropped_container(), dropx(), eatspecial(), engrave(), floorfood(), freeinv_core(), g_at(), get_cost_of_shop_item(), getobj(), ggetobj(), gold_detect(), hits_bars(), impact_drop(), in_container(), ini_inv(), inv_weight(), inven_inuse(), kick_object(), lift_object(), lookat(), m_move(), mapglyph(), menu_drop(), mergable(), merged(), mkbox_cnts(), mksobj(), mpickobj(), not_fully_identified(), obj_to_let(), obj_typename(), object_detect(), out_container(), paygd(), picked_container(), pickup_object(), price_quote(), rndcurse(), seffects(), sellobj(), set_mimic_sym(), ship_object(), shop_object(), stolen_container(), stolen_value(), subfrombill(), take_gold(), throw_obj(), use_container(), use_stone(), weight(), xname(), and xprname().
#define COPPER 13 |
Referenced by create_polymon().
#define dealloc_fruit | ( | rind ) | free((genericptr_t) (rind)) |
Referenced by freefruitchn(), loadfruitchn(), and savefruitchn().
#define DRAGON_HIDE 10 |
Referenced by doeat(), and edibility_prompts().
#define FLESH 4 |
Referenced by chest_shatter_msg(), create_polymon(), and doeat().
#define FOOD_CLASS 7 |
Referenced by add_one_tobill(), addtobill(), check_tutorial_oclass(), contained_cost(), dip(), doapply(), doeat(), dog_eat(), dog_nutrition(), dogfood(), doname_base(), engrave(), fill_zoo(), floorfood(), food_detect(), foodword(), fruitadd(), getobj(), getprice(), hits_bars(), is_edible(), mapglyph(), mergable(), mksobj(), obfree(), readobjnam(), realloc_obj(), saveobjchn(), searches_for_item(), seffects(), sellobj(), shk_embellish(), steal(), stolen_container(), thitmonst(), weight(), and xname().
#define FOOD_SYM '%' |
#define GEM_CLASS 13 |
Referenced by autoquiver(), bhito(), breaktest(), can_ooze(), check_tutorial_oclass(), container_impact_dmg(), dmgval(), done(), dorub(), engrave(), fill_empty_maze(), foodword(), fracture_rock(), get_cost(), get_valuables(), getobj(), hmon_hitmon(), ini_inv(), init_objects(), m_move(), m_throw(), makemaz(), mineralize(), mksobj(), obj_typename(), omon_adj(), poly_obj(), readobjnam(), seffects(), select_rwep(), set_cost(), setgemprobs(), shuffle_all(), thitmonst(), throwit(), use_stone(), weapon_type(), and xname().
#define GEM_SYM '*' |
#define GEMSTONE 20 |
Referenced by bhito(), create_polymon(), gem_accept(), m_move(), and set_cost().
#define GLASS 19 |
Referenced by autoquiver(), breaktest(), chest_shatter_msg(), container_impact_dmg(), create_polymon(), foodword(), get_cost(), scatter(), set_cost(), ship_object(), and use_stone().
#define GOLD 15 |
Referenced by check_map_spot(), create_polymon(), gold_detect(), hits_bars(), mpickgold(), and use_stone().
#define GOLD_SYM '$' |
Referenced by assigninvlet(), change_inv_order(), doinvbill(), getobj(), obj_to_let(), and readobjnam().
#define ILLOBJ_CLASS 1 |
Referenced by change_inv_order(), engrave(), and readobjnam().
#define ILLOBJ_SYM ']' |
Referenced by do_class_genocide().
#define IMMEDIATE 2 |
Referenced by weffects().
#define IRON 11 |
Referenced by create_polymon(), hitmu(), hmon_hitmon(), mattackm(), and ready_weapon().
#define is_corrodeable | ( | otmp ) | (objects[otmp->otyp].oc_material == COPPER || objects[otmp->otyp].oc_material == IRON) |
Referenced by add_erosion_words(), cursed_book(), dip(), erode_obj(), mrustm(), not_fully_identified(), poly_obj(), readobjnam(), rust_dmg(), and urustm().
#define is_damageable | ( | otmp ) |
(is_rustprone(otmp) || is_flammable(otmp) || \ is_rottable(otmp) || is_corrodeable(otmp))
Referenced by add_erosion_words(), poly_obj(), and readobjnam().
#define is_metallic | ( | otmp ) |
Referenced by ballfall(), doeat(), dogfood(), dotrap(), drop_boulder_on_monster(), drop_boulder_on_player(), edibility_prompts(), find_offensive(), is_edible(), mattacku(), maybe_tutorial(), meatmetal(), percent_success(), rnd_offensive_item(), spoteffects(), toss_up(), zap_dig(), and zap_updown().
Referenced by bury_an_obj(), dogfood(), is_edible(), lava_effects(), and meatobj().
Referenced by add_erosion_words(), dip(), dogfood(), erode_obj(), fill_zoo(), get_wet(), is_edible(), meatmetal(), mrustm(), not_fully_identified(), poly_obj(), readobjnam(), rust_dmg(), urustm(), and water_damage().
#define LEATHER 7 |
Referenced by create_polymon(), dmgval(), doeat(), and edibility_prompts().
#define LIQUID 1 |
Referenced by is_flammable(), is_rottable(), and use_stone().
#define MAXOCLASSES 18 |
Referenced by change_inv_order(), create_object(), def_char_to_objclass(), do_look(), doapply(), dodiscovered(), dotogglepickup(), dotypeinv(), get_compopt_value(), ggetobj(), init_objects(), initoptions(), let_to_name(), object_detect(), oc_to_str(), parse_config_line(), parseoptions(), pickup(), readobjnam(), set_mimic_sym(), shuffle_all(), use_container(), and use_crystal_ball().
#define METAL 12 |
Referenced by create_polymon().
#define MINERAL 21 |
Referenced by bhito(), create_polymon(), m_move(), obj_typename(), poly_obj(), and xname().
#define MITHRIL 17 |
Referenced by create_polymon().
#define MON_EXPLODE (MAXOCLASSES+2) |
Referenced by corpse_chance(), and explode().
Referenced by fruitadd(), and loadfruitchn().
#define NODIR 1 |
Referenced by dozap(), mksobj(), recharge(), spelleffects(), and weffects().
Referenced by alchemy_init(), can_blnd(), dip(), docall(), dodrink(), doread(), dowrite(), find_skates(), forget_objects(), getobj(), ini_inv(), interesting_to_discover(), obj_typename(), precheck(), readobjnam(), shuffle_all(), and xname().
Referenced by artifact_score(), create_monster(), dip(), dodiscovered(), dowrite(), fruitadd(), initialspell(), initoptions(), learn(), mixtype(), mkobj(), obj_typename(), readobjnam(), setgemprobs(), undiscover_object(), use_pick_axe2(), and xname().
#define oc_armcat oc_subtyp |
#define oc_bimanual oc_big |
Referenced by select_hwep().
#define oc_bulky oc_big |
#define oc_hitbon oc_oc1 |
#define oc_level oc_oc2 |
Referenced by study_book().
#define oc_skill oc_subtyp |
Referenced by select_rwep(), spell_skilltype(), and thitmonst().
#define PAPER 5 |
Referenced by chest_shatter_msg(), create_polymon(), and dip().
#define PIERCE 1 |
Referenced by mswings(), mswingsm(), and throwing_weapon().
#define PLASTIC 18 |
Referenced by dip(), and is_flammable().
#define PLATINUM 16 |
Referenced by create_polymon().
#define POTION_CLASS 8 |
Referenced by artifact_hit(), breakmsg(), breakobj(), breaktest(), bury_an_obj(), cancel_item(), cast_cleric_spell(), check_tutorial_oclass(), chest_shatter_msg(), damageum(), destroy_item(), destroy_mitem(), dip(), doapply(), docall(), dofiretrap(), dogaze(), doname_base(), eatspecial(), engrave(), explode(), fire_damage(), food_detect(), forcelock(), gazemu(), get_cost(), get_wet(), getobj(), getprice(), hitmu(), hmon_hitmon(), lava_effects(), m_throw(), maybe_tutorial(), mdamagem(), mintrap(), mixtype(), mksobj(), obj_typename(), object_detect(), ohitmon(), poly_obj(), potionhit(), precheck(), readobjnam(), resist(), searches_for_item(), seffects(), shk_embellish(), shuffle_all(), thitmonst(), toss_up(), use_offensive(), water_damage(), water_prayer(), xname(), zapyourself(), zhitm(), and zhitu().
#define POTION_SYM '!' |
#define RANDOM_CLASS 0 |
Referenced by bagotricks(), change_inv_order(), create_object(), engrave(), fill_empty_maze(), fill_zoo(), mk_mplayer(), mkgrave(), mkobj(), saleable(), set_mimic_sym(), and xkilled().
#define RAY 3 |
Referenced by searches_for_item().
#define RING_CLASS 4 |
Referenced by accessory_has_effect(), artifact_hit(), bhito(), breakmsg(), can_ooze(), cast_cleric_spell(), check_tutorial_oclass(), chest_trap(), damageum(), destroy_item(), destroy_mitem(), dochug(), dog_move(), dokick(), doname_base(), doputon(), drop(), eataccessory(), eatspecial(), engrave(), explode(), fightm(), get_cost(), ggetobj(), hitmu(), ini_inv(), is_chargeable(), m_move(), maybe_tutorial(), mdamagem(), mksobj(), obj_typename(), pri_move(), readobjnam(), recharge(), resist(), seffects(), shk_embellish(), shk_move(), silly_thing(), steal(), use_stone(), worn_wield_only(), xname(), zapyourself(), zhitm(), and zhitu().
#define RING_SYM '=' |
#define ROCK_CLASS 14 |
Referenced by bhito(), can_carry(), check_tutorial_oclass(), doforce(), dogfood(), engrave(), hits_bars(), meatobj(), mksobj(), object_detect(), use_crystal_ball(), and xname().
#define ROCK_SYM '`' |
#define SCROLL_CLASS 9 |
Referenced by artifact_hit(), burn_floor_paper(), cancel_item(), cast_cleric_spell(), check_tutorial_oclass(), chwepon(), damageum(), destroy_item(), destroy_mitem(), dofiretrap(), dogaze(), doread(), engrave(), erode_obj(), explode(), fire_damage(), gazemu(), get_cost(), get_wet(), hitmu(), lava_effects(), litroom(), maybe_tutorial(), mdamagem(), mintrap(), mksobj(), obj_typename(), resist(), searches_for_item(), seffects(), shk_embellish(), shk_names_obj(), shuffle_all(), use_offensive(), water_damage(), xname(), zapyourself(), zhitm(), and zhitu().
#define SCROLL_SYM '?' |
#define SILVER 14 |
Referenced by can_carry(), create_polymon(), dmgval(), dogfood(), hits_bars(), hmon_hitmon(), ohitmon(), select_hwep(), select_rwep(), shade_aware(), thitu(), toss_up(), use_misc(), and use_stone().
#define SLASH 2 |
#define SPBOOK_CLASS 10 |
Referenced by artifact_hit(), burn_floor_paper(), cancel_item(), cast_cleric_spell(), check_tutorial_oclass(), check_unpaid_usage(), cost(), cost_per_charge(), damageum(), destroy_item(), destroy_mitem(), dofiretrap(), dogaze(), doread(), dowrite(), engrave(), explode(), fire_damage(), gazemu(), get_cost(), get_wet(), hitmu(), hits_bars(), hmon_hitmon(), ini_inv(), lava_effects(), maybe_tutorial(), mdamagem(), mintrap(), mkshop(), mksobj(), mon_adjust_speed(), obfree(), obj_typename(), object_detect(), pleased(), poly_obj(), priestini(), readobjnam(), realloc_obj(), saveobjchn(), seffects(), shk_embellish(), shk_names_obj(), shuffle_all(), use_offensive(), water_damage(), xname(), zapyourself(), zhitm(), and zhitu().
#define SPBOOK_SYM '+' |
#define TOOL_CLASS 6 |
Referenced by awaken_monsters(), bhito(), charm_monsters(), check_tutorial_oclass(), doname_base(), engrave(), getobj(), getprice(), ggetobj(), hits_bars(), ini_inv(), is_chargeable(), mksobj(), poly_obj(), put_monsters_to_sleep(), recharge(), resist(), searches_for_item(), seffects(), shuffle_all(), steal(), tool_in_use(), weapon_type(), worn_wield_only(), and xname().
#define TOOL_SYM '(' |
#define VEGGY 3 |
Referenced by chest_shatter_msg().
#define VENOM_CLASS 17 |
Referenced by can_ooze(), do_look(), dodiscovered(), drop_throw(), engrave(), ggetobj(), hmon_hitmon(), mksobj(), readobjnam(), and xname().
#define VENOM_SYM '.' |
#define WAND_CLASS 11 |
Referenced by artifact_hit(), bhitm(), bhito(), breakmsg(), cancel_item(), cast_cleric_spell(), check_tutorial_oclass(), chest_trap(), cost_per_charge(), damageum(), destroy_item(), destroy_mitem(), do_break_wand(), doapply(), doname_base(), engrave(), explode(), get_cost(), getprice(), hitmu(), hits_bars(), is_chargeable(), maybe_tutorial(), mdamagem(), mintrap(), mkshop(), mksobj(), obj_shudders(), obj_typename(), poly_obj(), precheck(), readobjnam(), recharge(), resist(), searches_for_item(), seffects(), shk_embellish(), xname(), zapyourself(), zhitm(), and zhitu().
#define WAND_SYM '/' |
#define WAX 2 |
Referenced by chest_shatter_msg(), doeat(), edibility_prompts(), and use_stone().
#define WEAPON_CLASS 2 |
Referenced by autoquiver(), bhito(), cancel_item(), cancellable(), check_tutorial_oclass(), chwepon(), dip(), dmgval(), doeat(), doforce(), domonnoise(), doname_base(), drain_item(), engrave(), fill_zoo(), find_roll_to_hit(), get_wet(), getobj(), getprice(), ggetobj(), hitmu(), hits_bars(), hitval(), hmon_hitmon(), ini_inv(), known_hitum(), Mb_hit(), mergable(), mksobj(), mongets(), noisy_hit(), not_fully_identified(), omon_adj(), pleased(), readobjnam(), resist(), seffects(), select_hwep(), setuwep(), setworn(), shk_names_obj(), shuffle_all(), thitmonst(), u_init(), weapon_type(), wield_tool(), worn_wield_only(), and xname().
#define WEAPON_SYM ')' |
#define WHACK 0 |
#define WOOD 8 |
Referenced by chest_shatter_msg(), create_polymon(), is_flammable(), is_rottable(), and use_stone().
Referenced by initoptions(), and mimic_obj_name().
Referenced by alchemy_init(), Amulet_on(), armoroff(), arti_cost(), artifact_score(), autoquiver(), bagotricks(), bhito(), Boots_off(), Boots_on(), breaktest(), burnarmor(), can_blnd(), can_carry(), cancel_item(), cancellable(), check_map_spot(), check_tutorial_farlook(), chest_shatter_msg(), clear_bypasses(), Cloak_off(), Cloak_on(), cloak_simple_name(), confused_book(), contained_cost(), container_impact_dmg(), cost(), create_monster(), create_object(), cursed_book(), dip(), dipfountain(), discover_object(), dmgval(), do_improvisation(), do_look(), do_osshock(), doapply(), docall(), dodiscovered(), dodrink(), doeat(), doforce(), dog_nutrition(), dogfood(), doname_base(), done(), dopotion(), doread(), dosit(), dotele(), doturn(), dowear(), dowieldquiver(), dowrite(), dozap(), dragons_init(), drain_item(), eataccessory(), eaten_stat(), edibility_prompts(), engrave(), find_skates(), foodword(), forget_objects(), forget_single_object(), fruitadd(), gem_accept(), get_compopt_value(), get_cost(), gethungry(), getobj(), ghitm(), Gloves_off(), Gloves_on(), hitmu(), hits_bars(), hitval(), hmon_hitmon(), in_container(), ini_inv(), init_objects(), initialspell(), initoptions(), interesting_to_discover(), is_chargeable(), is_edible(), is_flammable(), is_rottable(), kick_monster(), killer_xname(), knows_class(), knows_object(), learn(), m_dowear_type(), m_move(), m_slips_free(), m_throw(), magic_negation(), makewish(), mapglyph(), mattackm(), maybe_tutorial(), meatmetal(), meatobj(), mergable(), mimic_hit_msg(), mimic_obj_name(), mixtype(), mk_artifact(), mkobj(), mksobj(), mon_adjust_speed(), mpickgold(), mswings(), mswingsm(), noisy_hit(), not_fully_identified(), o_material(), obj_is_pname(), obj_typename(), object_detect(), ohitmon(), paygd(), percent_success(), pickup_object(), pleased(), poly_obj(), polyuse(), potionbreathe(), potionhit(), precheck(), query_category(), query_objlist(), readobjnam(), ready_weapon(), recharge(), resetobjs(), resists_blnd(), resists_magm(), restnames(), Ring_off_or_gone(), Ring_on(), rnd_class(), savenames(), scatter(), searches_for_item(), seffects(), select_hwep(), select_rwep(), sellobj(), set_cost(), setgemprobs(), setnotworn(), setworn(), shade_aware(), ship_object(), shk_names_obj(), shuffle(), shuffle_all(), simple_typename(), spell_skilltype(), spelleffects(), start_eating(), steal(), strange_feeling(), study_book(), swap_armor(), take_off(), test_move(), the_unique_obj(), thitmonst(), thitu(), throw_obj(), throwing_weapon(), thrwmu(), toss_up(), touchfood(), u_slip_free(), undiscover_object(), update_mon_intrinsics(), use_defensive(), use_lamp(), use_misc(), use_pick_axe2(), use_stone(), weapon_type(), weffects(), weight(), xkilled(), xname(), and zapnodir().