def add_weapons(weapon, weapons=[]): """Adds a weapon to the character's weapon inventory. Args: weapon (dict): A weapon object. weapons (list): The character's current inventory of weapons. Return: list: A list of the character's weapon inventory. """ return ar.add_to_list(weapon, weapons)
def add_inventory_item(item, item_list=[]): """Adds an item to an inventory. Args: item (dict): An inventory item. item_list (list): The list of items in the character's possession. Return: list: A list of inventory items. """ return ar.add_to_list(item, item_list)
def add_fellow_investigators(investigator, investigators=[]): """Adds an investigator to the list of fellow investigators and returns a new list. Args: investigator (dict): A fellow investigator object. investigators (list): A list of fellow investigators. Return: list: A list of fellow investigators. """ return ar.add_to_list(investigator, investigators)
def add_significant_person(significant_person, significant_persons=[]): """Adds a significant person to the list of significant persons. Args: significant_person (dict): A significant person or NPC the character knows. significant_persons (list): A list of significant persons. Return: list: A list of significant persons. """ return ar.add_to_list(significant_person, significant_persons)
def add_trait(trait, traits=[]): return ar.add_to_list(trait, traits)
def add_encounter(encounter, encounters=[]): return ar.add_to_list(encounter, encounters)
def add_meaningful_location(location, locations=[]): return ar.add_to_list(location, locations)
def add_phobia_or_mania(phobia_or_mania, phobias_or_manias=[]): return ar.add_to_list(phobia_or_mania, phobias_or_manias)
def add_arcane_item(arcane_item, arcane_items=[]): return ar.add_to_list(arcane_item, arcane_items)
def add_treasured_possession(possession, possessions=[]): return ar.add_to_list(possession, possessions)
def add_injury_or_scar(injury_or_scar, injuries_or_scars=[]): return ar.add_to_list(injury_or_scar, injuries_or_scars)