Exemplo n.º 1
0
def random_quest_target(artefact=False, check_unique=None) :
    result = None
    if artefact:
        result = util.random_from_list_unique(artefacts, check_unique)
    else:
        result = util.random_from_list_unique(quest_items, check_unique)
        print 'generated ' + str(artefact) + ' ' + str(result) + str(result.name)
    return result
Exemplo n.º 2
0
def random_quest_target(artefact=False, check_unique=None):
    result = None
    if artefact:
        result = util.random_from_list_unique(artefacts, check_unique)
    else:
        result = util.random_from_list_unique(quest_items, check_unique)
        print 'generated ' + str(artefact) + ' ' + str(result) + str(
            result.name)
    return result
Exemplo n.º 3
0
def random_key_item(check_unique=None):
    """ Finds random key item. Key items are those items,
    that are required to fullfill certain goals ingame"""
    return util.random_from_list_unique(key_items)
Exemplo n.º 4
0
def random_key_item(check_unique=None):
    """ Finds random key item. Key items are those items,
    that are required to fullfill certain goals ingame"""
    return util.random_from_list_unique(key_items)