retrieveJournalByName({ type = "burg", name = "" }) {
        let searchable;
        if (type === "burg") {
            searchable = this.burgComp;
        } else if (type === "country") {
            searchable = this.countryComp;
        } else if (type === "culture") {
            searchable = this.cultureComp;
        } else if (type === "province") {
            searchable = this.provinceComp;
        }
        //let searchList = searchable.entities;

        let journal = searchable.find((elem) => elem.name === name);

        return journal;
    }
/**
     * Find an object by searching through compendiums (Foundry db)
     *
     * @param  {String} type    Type of object to find
     * @param  {String} name    Name of object to find
     * @return {object}         Found Object
     */
Find an object by searching through compendiums (Foundry db)
@param  {String} type    Type of object to find
@param  {String} name    Name of object to find
@return {object}         Found Object
Find an object by searching through compendiums ( Foundry db ) @param { String } type Type of object to find @param { String } name Name of object to find @return { object } Found Object
retrieveJournalByName({ type = "burg", name = "" }) {
        let searchable;
        if (type === "burg") {
            searchable = this.burgComp;
        } else if (type === "country") {
            searchable = this.countryComp;
        } else if (type === "culture") {
            searchable = this.cultureComp;
        } else if (type === "province") {
            searchable = this.provinceComp;
        }
        let journal = searchable.find((elem) => elem.name === name);
        return journal;
    }
retrieveJournalByName ( { type = "burg" , name = "" } ) { let searchable ; if ( type === "burg" ) { searchable = this . burgComp ; } else if ( type === "country" ) { searchable = this . countryComp ; } else if ( type === "culture" ) { searchable = this . cultureComp ; } else if ( type === "province" ) { searchable = this . provinceComp ; } let journal = searchable . find ( ( elem ) => elem . name === name ) ; return journal ; }
Find an object by searching through compendiums (Foundry db)
 @param  {String} type    Type of object to find
 @param  {String} name    Name of object to find
 @return {object}         Found Object
Find an object by searching through compendiums ( Foundry db ) @param { String } type Type of object to find @param { String } name Name of object to find @return { object } Found Object
//let searchList = searchable.entities;