Exemple #1
0
def push(args):
    if args.command.find(" -f") != -1 or args.command.find(" --force") != -1:
        if not args.state.use_mp(11):
            args.state.reset_combo()
            return mp_zero_text("push"), True
        args.se_manager.play_wav("pushf")
        return push_force_aa()
    else:
        if not args.state.use_mp(7):
            args.state.reset_combo()
            return mp_zero_text("push"), True
        args.state.add_exp(50)
        args.se_manager.play_wav("moriagari")
Exemple #2
0
def stash(args):
    if not args.state.use_mp(2):
        args.state.reset_combo()
        return mp_zero_text("stash"), True
    args.se_manager.play_wav("harisen01")
Exemple #3
0
def remote(args):
    if not args.state.use_mp(1):
        args.state.reset_combo()
        return mp_zero_text("remote"), True
    args.state.add_exp(20)
    args.se_manager.play_wav("remote")
Exemple #4
0
def checkout(args):
    if not args.state.use_mp(1):
        args.state.reset_combo()
        return mp_zero_text("checkout"), True
    args.se_manager.play_wav("rev")
Exemple #5
0
def diff(args):
    if not args.state.use_mp(1):
        args.state.reset_combo()
        return mp_zero_text("diff"), True
    args.se_manager.play_wav("attack01")
Exemple #6
0
def help_(args):
    if not args.state.use_mp(1):
        args.state.reset_combo()
        return mp_zero_text("help"), True
    args.se_manager.play_wav("question")
Exemple #7
0
def merge(args):
    if not args.state.use_mp(4):
        args.state.reset_combo()
        return mp_zero_text("merge"), True
    args.se_manager.play_wav("mahou11")
Exemple #8
0
def config(args):
    if not args.state.use_mp(1):
        args.state.reset_combo()
        return mp_zero_text("config"), True
    args.se_manager.play_wav("attack43")
Exemple #9
0
def branch(args):
    if not args.state.use_mp(1):
        args.state.reset_combo()
        return mp_zero_text("branch"), True
    args.se_manager.play_wav("metro")
Exemple #10
0
def status(args):
    if not args.state.use_mp(1):
        args.state.reset_combo()
        return mp_zero_text("status"), True
    args.se_manager.play_wav("pi")
    args.state.add_exp(10)
Exemple #11
0
def log(args):
    if not args.state.use_mp(1):
        args.state.reset_combo()
        return mp_zero_text("log"), True
    args.se_manager.play_wav("goukaku")
Exemple #12
0
def show(args):
    if not args.state.use_mp(1):
        args.state.reset_combo()
        return mp_zero_text("show"), True
    args.se_manager.play_wav("marimba")
Exemple #13
0
def commit(args):
    if not args.state.use_mp(2):
        return mp_zero_text("commit"), True
    args.state.add_exp(10)
    args.se_manager.play_wav("kira06")