summaryrefslogtreecommitdiff
path: root/game/3rdparty/builtin.rpy
blob: 6b4be34a1238e8959f329cc18a3909bcf1bc431d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#################################################################################
#     This file is part of Mana Launcher.
#     Copyright (C) 2022  Jesusalva <jesusalva@tmw2.org>
#
#     Distributed under the MIT license.
#     Warning: Third Party game clients
#################################################################################

init 1 python:
    import tmw
    #############################################################################
    ## Builtin client can't be auto-updated
    def download_builtin(fname):
        return True

    #######################
    ## Builtin client doesn't require installation
    def install_builtin():
        return True

    ###############################
    def cli_builtin(launch=False, download=True, force=False):
        global SCR_PROMPT, SCR_RESULT
        ##########
        if launch:
            return tmw.client
        return True