def __init__(
      self,
      inventory: inventory_gm_component.Inventory,
      players: Sequence[deprecated_agent.BasicAgent | entity_agent.EntityAgent],
      targets: Mapping[str, Sequence[str]],
      name: str = '   \n',
      verbose: bool = False,
  ):
    """Initialize a grounded inventory component tracking objects in python.

    Args:
      inventory: the inventory component to use to get the inventory of players.
      players: sequence of players who have an inventory and will observe it.
      targets: Mapping of player name to their target items. They will be scored
        by the number of items of the specified types in their inventory. 
      name: the name of this component e.g. Possessions, Account, Property, etc
      verbose: whether to print the full update chain of thought or not
    """
    self._inventory = inventory
    self._players = players
    self._targets = targets
    self._name = name
    self._verbose = verbose
Initialize a grounded inventory component tracking objects in python.

    Args:
      inventory: the inventory component to use to get the inventory of players.
      players: sequence of players who have an inventory and will observe it.
      targets: Mapping of player name to their target items. They will be scored
        by the number of items of the specified types in their inventory. 
      name: the name of this component e.g. Possessions, Account, Property, etc
      verbose: whether to print the full update chain of thought or not
    
concordia/components/game_master/deprecated/inventory_based_score.py