From ec6d0fc1d8cbf30b9b799f27d92b8cc979a42bc3 Mon Sep 17 00:00:00 2001 From: Devium <108692136+devium335@users.noreply.github.com> Date: Mon, 15 Aug 2022 22:38:48 -0400 Subject: [PATCH] Add Valorant and Fall Guys --- utils/.config.template.toml | 2 +- utils/CONSTANTS.py | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/utils/.config.template.toml b/utils/.config.template.toml index adbaed0..130b8b1 100644 --- a/utils/.config.template.toml +++ b/utils/.config.template.toml @@ -25,7 +25,7 @@ storymode = { optional = true, type = "bool", default = false, example = false, [settings.background] -background_choice = { optional = true, default = "minecraft", example = "rocket-league", options = ["minecraft", "gta", "rocket-league", "motor-gta", "csgo-surf", "cluster-truck", ""], explanation = "Sets the background for the video based on game name" } +background_choice = { optional = true, default = "minecraft", example = "rocket-league", options = ["minecraft", "gta", "rocket-league", "motor-gta", "csgo-surf", "cluster-truck", "fall-guys", "valorant", ""], explanation = "Sets the background for the video based on game name" } #background_audio = { optional = true, type = "bool", default = false, example = false, options = [true, false,], explanation = "Sets a audio to play in the background (put a background.mp3 file in the assets/backgrounds directory for it to be used.)" } #background_audio_volume = { optional = true, type = "float", default = 0.3, example = 0.1, explanation="Sets the volume of the background audio. only used if the background_audio is also set to true" } diff --git a/utils/CONSTANTS.py b/utils/CONSTANTS.py index e46ebbc..c82cb75 100644 --- a/utils/CONSTANTS.py +++ b/utils/CONSTANTS.py @@ -42,4 +42,16 @@ background_options = { "No Copyright Gameplay", lambda t: ("center", 480 + t), ), + "fall-guys": ( # Falls Guys Gameplay + "https://www.youtube.com/watch?v=Gm3Ypy_4k88", + "fall_guys.mp4", + "Throneful", + lambda t: ("center", 480 + t), + ), + "valorant": ( # Valorant Gameplay + "https://www.youtube.com/watch?v=Wrdh5HrOCMc", + "valorant.mp4", + "Throneful", + lambda t: ("center", 480 + t), + ), }