Icon setup
This commit is contained in:
parent
2aa09e4fe9
commit
4debce853b
@ -1,12 +1,22 @@
|
|||||||
require 'squib'
|
require 'squib'
|
||||||
require 'game_icons'
|
require 'game_icons'
|
||||||
|
|
||||||
AUDIENCE = GameIcons.get('delapouite/person').
|
module Icons
|
||||||
recolor(fg: 'black', bg: 'white', fg_opacity: 1.0, bg_opacity: 0.0).
|
|
||||||
string
|
def self.getIcon(name, color = 'black')
|
||||||
MUSIC = GameIcons.get('delapouite/musical-score').
|
return GameIcons.get(name).
|
||||||
recolor(fg: 'black', bg: 'white', fg_opacity: 1.0, bg_opacity: 0.0).
|
recolor(fg: color, bg: 'white', fg_opacity: 1.0, bg_opacity: 0.0).
|
||||||
string
|
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 = {
|
VOLUMES = {
|
||||||
"ppp" => 1,
|
"ppp" => 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user