Home
last modified time | relevance | path

Searched refs:can_wield (Results 1 – 25 of 38) sorted by relevance

12

/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dtransform.h84 bool can_wield() const { return slot_available(EQ_WEAPON); } in can_wield() function
144 virtual bool can_offhand_punch() const { return can_wield(); } in can_offhand_punch()
H A Ditem-use.h47 bool can_wield(const item_def *weapon, bool say_why = false,
H A Dactor.cc66 bool actor::can_wield(const item_def* item, bool ignore_curse, in can_wield() function in actor
75 return can_wield(fake, ignore_curse, ignore_brand, ignore_shield, ignore_transform); in can_wield()
78 return can_wield(*item, ignore_curse, ignore_brand, ignore_shield, ignore_transform); in can_wield()
H A Dactor.h131 bool can_wield(const item_def* item,
136 virtual bool can_wield(const item_def &item,
H A Ditem-use.cc384 bool can_wield(const item_def *weapon, bool say_reason, in can_wield() function
584 if (!can_wield(nullptr, true, false, slot == SLOT_BARE_HANDS)) in wield_weapon()
717 if (!can_wield(&new_wpn, true)) in wield_weapon()
721 if (!can_wield(&new_wpn, true, false, false, false)) in wield_weapon()
H A Dng-setup.cc163 if ((item.base_type == OBJ_WEAPONS && can_wield(&item, false, false) in newgame_make_item()
H A Dplayer-act.cc344 bool player::can_wield(const item_def& item, bool ignore_curse, in can_wield() function in player
H A Dtilereg-inv.cc424 if (wielded || you.can_wield(item)) in update_tip_text()
H A Dmonster.h304 bool can_wield(const item_def &item,
H A Dfight.cc733 { return is_melee_weapon(it) && can_wield(&it); }))) in wielded_weapon_check()
H A Dplayer.h666 bool can_wield(const item_def &item,
H A Dacquire.cc1170 && !can_wield(&item, false, true) in _why_reject()
H A Dtransform.cc1126 return get_form(form)->can_wield(); in form_can_wield()
H A Dinvent.cc1777 if (!you.can_wield(item)) in check_warning_inscriptions()
H A Dmutation.cc786 if (!terse && !form->can_wield() && !you.has_mutation(MUT_NO_GRASPING)) in _get_mutations()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Davatar_action.cpp889 const ret_val<bool> ret = you.can_wield( *loc ); in plthrow()
1020 } else if( you.can_wield( *loc ).success() && loc->is_holster() && !loc.held_by( you ) ) { in use_item()
H A Dpickup.cpp309 const auto wield_check = player_character.can_wield( newit ); in pick_one_up()
H A Davatar.cpp1571 if( !can_wield( target ).success() ) { in wield()
H A Dcharacter.h883 ret_val<bool> can_wield( const item &it ) const;
H A Dgame_inventory.cpp1337 const auto ret = p.can_wield( *loc ); in get_denial()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Davatar_action.cpp889 const ret_val<bool> ret = you.can_wield( *loc ); in plthrow()
1020 } else if( you.can_wield( *loc ).success() && loc->is_holster() && !loc.held_by( you ) ) { in use_item()
H A Dpickup.cpp309 const auto wield_check = player_character.can_wield( newit ); in pick_one_up()
H A Davatar.cpp1571 if( !can_wield( target ).success() ) { in wield()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/
H A Deffective_dps_test.cpp26 REQUIRE( attacker.can_wield( weapon ).success() ); in weapon_dps_trials()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/
H A Deffective_dps_test.cpp26 REQUIRE( attacker.can_wield( weapon ).success() ); in weapon_dps_trials()

12