Minor Rich Presence adjustments

This commit is contained in:
Hailey 2020-10-10 09:05:59 +10:00
parent 995fd7fee9
commit 29ee000998
2 changed files with 6 additions and 2 deletions

View File

@ -5,7 +5,11 @@ function GameScene:new(game_mode, ruleset)
self.game = game_mode() self.game = game_mode()
self.ruleset = ruleset() self.ruleset = ruleset()
self.game:initialize(self.ruleset) self.game:initialize(self.ruleset)
presence.details = "In game" if game_mode.name == "Demon Mode" and math.random(1, 7) == 7 then
presence.details = "Suffering"
else
presence.details = "In game"
end
presence.state = game_mode.name presence.state = game_mode.name
discordRPC.updatePresence(presence) discordRPC.updatePresence(presence)
end end

View File

@ -11,7 +11,7 @@ game_modes = {
--require 'tetris.modes.strategy', --require 'tetris.modes.strategy',
--require 'tetris.modes.interval_training', --require 'tetris.modes.interval_training',
--require 'tetris.modes.pacer_test', --require 'tetris.modes.pacer_test',
--require 'tetris.modes.demon_mode', require 'tetris.modes.demon_mode',
require 'tetris.modes.phantom_mania', require 'tetris.modes.phantom_mania',
require 'tetris.modes.phantom_mania2', require 'tetris.modes.phantom_mania2',
require 'tetris.modes.phantom_mania_n', require 'tetris.modes.phantom_mania_n',