mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
downloadable settings shit
This commit is contained in:
Binary file not shown.
@@ -40,7 +40,7 @@ def download_file(url, saveLocation)
|
|||||||
echoln _INTL("\nDownloaded file {1} to {2}", url, saveLocation)
|
echoln _INTL("\nDownloaded file {1} to {2}", url, saveLocation)
|
||||||
return saveLocation
|
return saveLocation
|
||||||
else
|
else
|
||||||
echoln _INTL("Tried to download file {1} . Got response {2}",url,response[:body])
|
echoln _INTL("Tried to download file {1}.",url)
|
||||||
end
|
end
|
||||||
return nil
|
return nil
|
||||||
rescue MKXPError, Errno::ENOENT => error
|
rescue MKXPError, Errno::ENOENT => error
|
||||||
@@ -81,7 +81,7 @@ def download_sprite(base_path, head_id, body_id, saveLocation = "Graphics/temp",
|
|||||||
echoln _INTL("\nDownloaded file from {1} to {2}", base_path, saveLocation)
|
echoln _INTL("\nDownloaded file from {1} to {2}", base_path, saveLocation)
|
||||||
return downloaded_file_name
|
return downloaded_file_name
|
||||||
end
|
end
|
||||||
echoln "tried to download " + url
|
echoln _INTL("Tried to download file {1} . Got response {2}",url,response[:body])
|
||||||
return nil
|
return nil
|
||||||
rescue MKXPError, Errno::ENOENT
|
rescue MKXPError, Errno::ENOENT
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
|
|
||||||
module Settings
|
module Settings
|
||||||
SHINY_POKEMON_CHANCE = 16
|
SHINY_POKEMON_CHANCE = 16
|
||||||
CREDITS_FILE_URL = "https://gitlab.com/pokemoninfinitefusion/customsprites/-/raw/master/Sprite Credits.csv"
|
CREDITS_FILE_URL = "https://gitlab.com/infinitefusion2/customsprites/-/raw/master/Sprite Credits.csv"
|
||||||
SPRITES_FILE_URL = "https://raw.githubusercontent.com/infinitefusion/infinitefusion-e18/main/Data/CUSTOM_SPRITES"
|
SPRITES_FILE_URL = "https://raw.githubusercontent.com/infinitefusion/infinitefusion-e18/main/Data/CUSTOM_SPRITES"
|
||||||
VERSION_FILE_URL = "https://raw.githubusercontent.com/infinitefusion/infinitefusion-e18/main/Data/VERSION"
|
VERSION_FILE_URL = "https://raw.githubusercontent.com/infinitefusion/infinitefusion-e18/main/Data/VERSION"
|
||||||
CUSTOM_DEX_FILE_URL = "https://raw.githubusercontent.com/infinitefusion/infinitefusion-e18/main/Data/dex.json"
|
CUSTOM_DEX_FILE_URL = "https://raw.githubusercontent.com/infinitefusion/infinitefusion-e18/main/Data/dex.json"
|
||||||
|
|
||||||
AUTOGEN_SPRITES_REPO_URL = "https://gitlab.com/pokemoninfinitefusion/autogen-fusion-sprites/-/raw/master/Battlers/"
|
AUTOGEN_SPRITES_REPO_URL = "https://gitlab.com/infinitefusion2/autogen-fusion-sprites/-/raw/main/Battlers/"
|
||||||
CUSTOM_SPRITES_REPO_URL = "https://gitlab.com/pokemoninfinitefusion/customsprites/-/raw/master/CustomBattlers/"
|
CUSTOM_SPRITES_REPO_URL = "https://gitlab.com/infinitefusion2/customSprites/-/raw/master/CustomBattlers/"
|
||||||
BASE_POKEMON_SPRITES_REPO_URL = "https://gitlab.com/pokemoninfinitefusion/autogen-fusion-sprites/-/raw/master/Battlers/"
|
BASE_POKEMON_SPRITES_REPO_URL = "https://gitlab.com/infinitefusion2/autogen-fusion-sprites/-/raw/main/Battlers/"
|
||||||
BASE_POKEMON_ALT_SPRITES_REPO_URL = "https://gitlab.com/pokemoninfinitefusion/customsprites/-/raw/master/Other/BaseSprites/"
|
BASE_POKEMON_ALT_SPRITES_REPO_URL = "https://gitlab.com/infinitefusion2/customSprites/-/raw/main/Other/BaseSprites/"
|
||||||
|
|
||||||
DISCORD_URL = "https://discord.com/invite/infinitefusion"
|
DISCORD_URL = "https://discord.com/invite/infinitefusion"
|
||||||
WIKI_URL = "https://infinitefusion.fandom.com/"
|
WIKI_URL = "https://infinitefusion.fandom.com/"
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user