From ef04c2ea794656318973800bf214c92ad6cf3430 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 21 Apr 2020 21:00:59 -0400 Subject: [PATCH] 15 More Horses --- assets/json/horse-race.json | 60 +++++++++++++++++++++++++++++++++ commands/games-sp/horse-race.js | 2 +- package.json | 2 +- 3 files changed, 62 insertions(+), 2 deletions(-) diff --git a/assets/json/horse-race.json b/assets/json/horse-race.json index 55c0f996..718ed5f5 100644 --- a/assets/json/horse-race.json +++ b/assets/json/horse-race.json @@ -178,5 +178,65 @@ { "name": "Willy", "minTime": 144 + }, + { + "name": "Don't Pick Me", + "minTime": 115 + }, + { + "name": "Spirit", + "minTime": 98 + }, + { + "name": "Jackbox", + "minTime": 123 + }, + { + "name": "Emporer Horseitine", + "minTime": 113 + }, + { + "name": "Darth Horse", + "minTime": 136 + }, + { + "name": "Jar-Jar Hooves", + "minTime": 110 + }, + { + "name": "Hoarse", + "minTime": 123 + }, + { + "name": "Dragon Fire", + "minTime": 960 + }, + { + "name": "Long Face", + "minTime": 143 + }, + { + "name": "Pony Up", + "minTime": 142 + }, + { + "name": "Magic of Friendship", + "minTime": 106 + }, + { + "name": "Help My Jockey Fell", + "minTime": 120 + }, + { + "name": "Lemon", + "minTime": 115 + }, + { + "name": "Calvin Johnson", + "minTime": 138 + }, + { + "name": "Rando Cardrissian", + "minTime": 118 } ] diff --git a/commands/games-sp/horse-race.js b/commands/games-sp/horse-race.js index 7e13f592..cff5d8a1 100644 --- a/commands/games-sp/horse-race.js +++ b/commands/games-sp/horse-race.js @@ -97,7 +97,7 @@ module.exports = class HorseRaceCommand extends Command { if (colors[i]) drawImageWithTint(ctx, horseImg, colors[i], 37, 114 + (49 * i), 49, 49); ctx.font = '34px Paladins'; ctx.fillText(this.formatTime(result.time), 755, 138 + (49 * i)); - ctx.font = '16px Paladins'; + ctx.font = '15px Paladins'; ctx.fillText(horse.name, 251, 138 + (49 * i)); } return { attachment: canvas.toBuffer(), name: 'leaderboard.png' }; diff --git a/package.json b/package.json index 46d78972..feb891a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "113.13.0", + "version": "113.13.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {