node-scripts/getItemsImages.js
/**
 * Creates an array with all city hearts
 */
Creates an array with all city hearts
Creates an array with all city hearts
function createArrayOfAllHearts() {
  const factions = ['CAERLEON', 'HIGHLAND', 'MOUNTAIN', 'STEPPE', 'FOREST', 'SWAMP'];
  return factions.map(faction => `T1_FACTION_${faction}_TOKEN_1`);
}
function createArrayOfAllHearts ( ) { const factions = [ 'CAERLEON' , 'HIGHLAND' , 'MOUNTAIN' , 'STEPPE' , 'FOREST' , 'SWAMP' ] ; return factions . map ( faction => ` ${ faction } ` ) ; }
Creates an array with all city hearts
Creates an array with all city hearts