Icon setup

This commit is contained in:
Matt Soucy 2023-01-13 19:17:22 -05:00
parent 2aa09e4fe9
commit 4debce853b
Signed by: msoucy
GPG Key ID: 7996734FB2370F0C

View File

@ -1,12 +1,22 @@
require 'squib'
require 'game_icons'
AUDIENCE = GameIcons.get('delapouite/person').
recolor(fg: 'black', bg: 'white', fg_opacity: 1.0, bg_opacity: 0.0).
string
MUSIC = GameIcons.get('delapouite/musical-score').
recolor(fg: 'black', bg: 'white', fg_opacity: 1.0, bg_opacity: 0.0).
module Icons
def self.getIcon(name, color = 'black')
return GameIcons.get(name).
recolor(fg: color, bg: 'white', fg_opacity: 1.0, bg_opacity: 0.0).
string
end
AUDIENCE = getIcon 'delapouite/person'
MUSIC = getIcon 'delapouite/musical-score'
LOVE = getIcon 'skoll/hearts'
ANGER = getIcon 'skoll/fist'
JOY = getIcon 'lorc/delighted'
SAD = getIcon 'lorc/tear-tracks'
end
VOLUMES = {
"ppp" => 1,