Esempio n. 1
0
def make_exit(item):
    """
    We'll do special stuff with these later.
    """
    aliases = item["name"].split(';')
    name = aliases[0]
    aliases = aliases[1:]
    thing = ObjectDB(name=name)
    thing.aliases.add(aliases)
    thing.save()
Esempio n. 2
0
def dummy(item):
    """This function exists for types we don't want to do anything with yet."""
    thing = ObjectDB(name=item["name"])
    thing.save()