Module Expr Str ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad attr Assign AttributeStore NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list NameLoad decorator_list
N/A N/A 
Module defining classes related to inventory actions
 pyherc.data is_armour is_weapon is_boots pyherc.aspects log_debug log_info pyherc.events new_unequip_event pyherc.rules.factory SubActionFactory UnEquipFactory N/A SubActionFactory N/A N/A 
    Factory for creating unequip actions

    .. versionadded:: 0.8
     __init__ N/A N/A self N/A N/A N/A 
        Constructor for this factory
         N/A N/A N/A N/A super __init__ N/A N/A self sub_action unequip N/A log_debug can_handle N/A N/A self parameters N/A N/A N/A 
        Can this factory process these parameters

        :param parameters: parameters to check
        :returns: True if factory is capable of handling parameters
        :rtype: Boolean
         N/A N/A N/A self sub_action N/A parameters sub_action N/A log_debug get_action N/A N/A self parameters N/A N/A N/A 
        Create an unequip action

        :param parameters: parameters used to control creation
        :type parameters: InventoryParameters
         N/A N/A UnEquipAction N/A parameters character N/A parameters item N/A log_info N/A UnEquipAction N/A N/A N/A 
    Action for unequiping an item

    .. versionadded:: 0.8
     __init__ N/A N/A self character item N/A N/A N/A 
        Default constructor

        :param character: character wearing the item
        :type character: Character
        :param item: item to unequip
        :type item: Item
         N/A N/A N/A N/A super __init__ N/A N/A self character character N/A N/A self item item N/A log_debug execute N/A N/A self N/A N/A N/A 
        Executes this action
         N/A N/A is_armour N/A self item N/A N/A N/A N/A N/A self character inventory armour None N/A N/A N/A N/A self character raise_event N/A new_unequip_event N/A self character N/A self item N/A N/A is_weapon N/A self item N/A N/A N/A N/A N/A self character inventory weapon None N/A N/A N/A N/A self character raise_event N/A new_unequip_event N/A self character N/A self item N/A N/A is_boots N/A self item N/A N/A N/A N/A N/A self character inventory boots None N/A N/A N/A N/A self character raise_event N/A new_unequip_event N/A self character N/A self item N/A log_info is_legal N/A N/A self N/A N/A N/A 
        Check if the action is possible to perform

        :returns: True if move is possible, false otherwise
        :rtype: Boolean
         N/A True N/A log_debug N/A