more rpc stuff!
parent
b28759e0c8
commit
ea38ebb89d
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
|
@ -27,6 +27,9 @@ function GameScene:new(game_mode, ruleset, inputs)
|
||||||
DiscordRPC:update({
|
DiscordRPC:update({
|
||||||
details = self.game.rpc_details,
|
details = self.game.rpc_details,
|
||||||
state = self.game.name,
|
state = self.game.name,
|
||||||
|
--largeImageText = "Level "..self.game.level????
|
||||||
|
largeImageKey = "ingame-0"
|
||||||
|
--largeImageKey = ingame-<section>
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ function ConfigScene:new()
|
||||||
self.highlight = 1
|
self.highlight = 1
|
||||||
|
|
||||||
DiscordRPC:update({
|
DiscordRPC:update({
|
||||||
details = "In menus",
|
details = "In settings",
|
||||||
state = "Changing game settings",
|
state = "Changing game settings",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ local menu_screens = {
|
||||||
function ConfigScene:new()
|
function ConfigScene:new()
|
||||||
self.menu_state = 1
|
self.menu_state = 1
|
||||||
DiscordRPC:update({
|
DiscordRPC:update({
|
||||||
details = "In menus",
|
details = "In settings",
|
||||||
state = "Changing input config",
|
state = "Changing input config",
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
|
@ -35,7 +35,7 @@ function KeyConfigScene:new()
|
||||||
self.new_input = {}
|
self.new_input = {}
|
||||||
|
|
||||||
DiscordRPC:update({
|
DiscordRPC:update({
|
||||||
details = "In menus",
|
details = "In settings",
|
||||||
state = "Changing key config",
|
state = "Changing key config",
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
|
@ -39,6 +39,7 @@ function ModeSelectScene:new()
|
||||||
DiscordRPC:update({
|
DiscordRPC:update({
|
||||||
details = "In menus",
|
details = "In menus",
|
||||||
state = "Choosing a mode",
|
state = "Choosing a mode",
|
||||||
|
largeImageKey = "icon2"
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue