Home
last modified time | relevance | path

Searched refs:hands_reqd (Results 1 – 19 of 19) sorted by relevance

/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dplayer-act.cc336 hands_reqd_type player::hands_reqd(const item_def &item, bool base) const in hands_reqd() function in player
341 return actor::hands_reqd(item, base); in hands_reqd()
356 || hands_reqd(item) == HANDS_TWO; in can_wield()
425 && you.hands_reqd(item) == HANDS_TWO) in could_wield()
H A Dgod-blessing.cc403 || mon->hands_reqd(*melee_weap) != HANDS_TWO) in _beogh_bless_armour()
405 || mon->hands_reqd(*launcher) != HANDS_TWO); in _beogh_bless_armour()
H A Dmonster.cc527 hands_reqd_type monster::hands_reqd(const item_def &item, bool base) const in hands_reqd() function in monster
531 return actor::hands_reqd(item, base); in hands_reqd()
566 if (!weap1 || hands_reqd(*weap1) != HANDS_TWO) in can_wield()
580 || hands_reqd(item) == HANDS_TWO; in can_wield()
1144 && hands_reqd(item) == HANDS_TWO) in pickup()
1156 if (wpn && hands_reqd(*wpn) == HANDS_TWO) in pickup()
1158 if (alt && hands_reqd(*alt) == HANDS_TWO) in pickup()
1395 return mons->hands_reqd(weapon) == HANDS_ONE; in _is_signature_weapon()
1568 && hands_reqd(weap) == HANDS_TWO) in wants_weapon()
1601 && hands_reqd(*mslot_item(MSLOT_WEAPON)) in wants_armour()
[all …]
H A Ditem-prop.h130 hands_reqd_type hands_reqd(const actor* ac, object_class_type base_type, int sub_type);
H A Dactor.h128 virtual hands_reqd_type hands_reqd(const item_def &item,
H A Ditem-prop.cc1585 hands_reqd_type hands_reqd(const actor* ac, object_class_type base_type, int sub_type) in hands_reqd() function
1592 return ac->hands_reqd(item, true); in hands_reqd()
2721 hands_reqd_type hand = you.hands_reqd(weapon); in is_shield_incompatible()
H A Dartefact.cc1380 || hands_reqd(&you, entry->base_type, in find_okay_unrandart()
1382 hands_reqd(&you, entry->base_type, in find_okay_unrandart()
H A Dmonster.h301 hands_reqd_type hands_reqd(const item_def &item,
H A Dmon-gear.cc1547 if (main_weap && mon->hands_reqd(*main_weap) == HANDS_TWO in _give_shield()
1548 || alt_weap && mon->hands_reqd(*alt_weap) == HANDS_TWO) in _give_shield()
H A Dactor.cc57 hands_reqd_type actor::hands_reqd(const item_def &item, bool base) const in hands_reqd() function in actor
H A Dl-item.cc741 int hands = you.hands_reqd(*item) == HANDS_TWO ? 2 : 1; in IDEF()
H A Dplayer.h663 hands_reqd_type hands_reqd(const item_def &item,
H A Dacquire.cc472 const bool two_handed = you.hands_reqd(item_considered) == HANDS_TWO; in _acquirement_weapon_subtype()
H A Dgod-passive.cc566 hands_reqd_type wep_type = you.hands_reqd(*wpn, true); in _two_handed()
H A Dgod-abil.cc1555 && (mons_weapon && mons->hands_reqd(*mons_weapon) == HANDS_TWO in beogh_gift_item()
1557 && mons->hands_reqd(*mons_alt_weapon) == HANDS_TWO)) in beogh_gift_item()
4407 if (you.hands_reqd(*weapon) == HANDS_TWO) in _extra_sacrifice_code()
H A Ditem-use.cc431 && you.hands_reqd(*weapon) == HANDS_TWO) in can_wield()
H A Dplayer.cc6810 return !wp || hands_reqd(*wp) != HANDS_TWO; in has_usable_offhand()
6833 hands_reqd_type hands_req = hands_reqd(*wp); in usable_tentacles()
H A Ddescribe.cc1233 switch (you.hands_reqd(item)) in _handedness_string()
/dports/games/dungeoncrawl/dc400b26-src/source/
H A Dfight.cc232 int hands_reqd = HANDS_ONE_HANDED; in you_attack() local
239 hands_reqd = hands_reqd_for_weapon( you.inv[weapon].base_type, in you_attack()
247 && hands_reqd == HANDS_ONE_OR_TWO_HANDED) in you_attack()
516 if ((hands_reqd == HANDS_TWO_HANDED || use_hand_and_a_half_bonus) in you_attack()
1679 || (ur_armed && hands_reqd == HANDS_TWO_HANDED)) in you_attack()
3856 const int hands_reqd = hands_reqd_for_weapon( wpn_class, wpn_type ); in weapon_str_weight() local
3897 if (hands_reqd == HANDS_TWO_HANDED) in weapon_str_weight()
3928 const int hands_reqd = hands_reqd_for_weapon( you.inv[weapon].base_type, in player_weapon_str_weight() local
3931 if (hands_reqd == HANDS_ONE_OR_TWO_HANDED && !shield) in player_weapon_str_weight()