sl5net / autocivP

Mod for the game 0 A.D.
https://wildfiregames.com/forum/topic/107371-autocivp-add-ons-profiles-team-audio-call-chat-translation-icons-more/
GNU General Public License v3.0
4 stars 2 forks source link

add emoji support in middle of chat message #6

Closed sl5net closed 1 year ago

sl5net commented 1 year ago

btw. found suported emoji (if you now more working please inform):


const ggMap = {
        gl: 'Good luck',
        hf: 'Have fun',
        gg: 'Good game',
        wp: 'Well played',
        u2: 'You too!',
        re: 'Again?',
        '<3': '♡',
        heart: '♡',
        ':-)': '☺',
        ':)': '☻',
        ':(': '☹',
        sun: '☼',
        left: '\u2190', // long Left arrow (Unicode: U+2190)
        right: '\u2192', // long Right arrow (Unicode: U+2192)
        'right-small': '☞',
        star: '★',
        flower: '❀',
        one: '❶',
        two: '❷',
        three: '❸',
        four: '❹',
        five: '❺',
        six: '❻',
        seven: '❼',
        eight: '❽',
        nine: '❾',
        ten: '❿',
        music: '♪',
        male: '♂',
        female: '♀',
        triangle: '▲',
        diamond: '♦',
        spade: '♠',
        club: '♣',
        note: '♩',
        smiley: '☺',
        flower2: '❧',
        love: '♡',
        yinYang: '☯',
        moon: '☽',
        meh: '¯\_(^_^)_/¯',
        // circle: '⚪',
        // square: '⚫',
        // crown: '♔',
        // arrow: '➤',
        // peace: '☮',
        // atom: '⚛',
        // skull: '☠',
        // coffee: '☕',
        // phone: '☎',
        // plane: '✈',
        // star2: '☆',

        // lightning: '⚡',
        // cloud: '☁',
      };