Esempio n. 1
0
def deleteCharacter(button):
    callbackArgs = {
        "index": button.store["index"],
        "password": button.store["password"],
        "gump": button.gump,
    }
    args = {
        "callbackYes": deleteCharacter2,
        "callbackNo": cancelDelete,
        "callbackArgs": callbackArgs,
        "question": "Do you really want to delete this character?",
    }
    client.openGump("yesnobox", args)
    return False
Esempio n. 2
0
def createShard(button):
    client.openGump("createshard")
    # don't close the gump, shard creation can be cancelled
    return False
Esempio n. 3
0
def createShard(button):
    client.openGump("createshard")
    # don't close the gump, shard creation can be cancelled
    return False