Added ground track to Hunt, added new SChat 2 colors.

This commit is contained in:
Niels Simenon 2022-11-01 05:59:17 +01:00
parent 35a28760cd
commit 53022278c9
3 changed files with 8 additions and 2 deletions

View File

@ -44,13 +44,18 @@ module.exports = {
},
schatColorAliases: {
red: 'red',
brown: 'brown',
orange: 'orange',
beige: 'beige',
yellow: 'yellow',
forest: 'forest',
green: 'green',
mint: 'mint',
cyan: 'cyan',
blue: 'blue',
sky: 'sky',
purple: 'purple',
magenta: 'magenta',
violet: 'violet',
pink: 'pink',
grey: 'shadow',
silver: 'shadow',

View File

@ -138,7 +138,7 @@ function onCommand(args, context) {
flower: pickRandom(flowers),
target: pickRandom(targets),
predator: pickRandom(predators),
track: Array.from({ length: getGuesses(word) }, (value, index) => (index % 2 ? pickRandom(trees) : '')), // Em Space to ensure proper spacing in SChat
track: Array.from({ length: getGuesses(word) }, (value, index) => (index % 2 ? pickRandom(trees) : style.brown('…'))), // Em Space to ensure proper spacing in SChat
});
renderBoard(context);

View File

@ -41,6 +41,7 @@ const styleMethods = (() => {
if (config.platform === 'irc') {
return {
...styles,
forest: styles.green,
code: bypass,
};
}