mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-26 00:49:03 -06:00
Minor Rich Presence adjustments
This commit is contained in:
parent
995fd7fee9
commit
29ee000998
@ -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)
|
||||||
|
if game_mode.name == "Demon Mode" and math.random(1, 7) == 7 then
|
||||||
|
presence.details = "Suffering"
|
||||||
|
else
|
||||||
presence.details = "In game"
|
presence.details = "In game"
|
||||||
|
end
|
||||||
presence.state = game_mode.name
|
presence.state = game_mode.name
|
||||||
discordRPC.updatePresence(presence)
|
discordRPC.updatePresence(presence)
|
||||||
end
|
end
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user