Exemplo n.º 1
0
def run():
    data = get_latest_feats()
    data = prerender(data)
    data = srdfilter(data)
    data = fix_dupes(data, SOURCE_HIERARCHY, True)
    dump(data, 'feats.json')
    diff('feats.json')
Exemplo n.º 2
0
def run():
    data = get_latest_backgrounds()
    data = parse(data)
    data = srdfilter(data)
    dump(data, 'backgrounds.json')
    dump(srdonly(data), 'srd-backgrounds.json')
    diff('srd-backgrounds.json')
Exemplo n.º 3
0
def run():
    data = get_races_from_web()
    data = split_subraces(data)
    data = explicit_sources(data, EXPLICIT_SOURCES)
    data = fix_dupes(data, SOURCE_HIERARCHY)
    data = remove_ignored(data, IGNORED_SOURCES)
    data = srdfilter(data)
    dump(data, 'races.json')
Exemplo n.º 4
0
def run():
    data = get_classes_from_web()
    data = filter_ignored(data)
    data = srdfilter(data)
    data = recursive_tag(data)
    data = fix_subclass_dupes(data)
    classfeats = parse_classfeats(data)
    classfeats.extend(parse_invocations())
    dump(data, 'classes.json')
    dump(classfeats, 'classfeats.json')
    diff('classes.json')
    diff('classfeats.json')
Exemplo n.º 5
0
def run():
    data = get_latest_items()
    data = moneyfilter(data)
    data = variant_inheritance(data)
    objects = get_objects()
    objects = object_actions(objects)
    data.extend(objects)
    data = srdfilter(data)
    data = prerender(data)
    sitedata = site_render(data)
    dump(data, 'items.json')
    diff('items.json')
    dump(sitedata, 'template-items.json')
Exemplo n.º 6
0
def run():
    data = get_spells()
    processed = parse(data)
    processed = srdfilter(processed)

    dump(processed, 'spells.json')
    srd = ensure_ml_order(srdonly(processed), True)
    dump(srd, 'srd-spells.json')
    diff('srd-spells.json')
    dump(get_auto_only(processed), 'spellauto.json')

    site_templates = site_parse(processed)
    dump(site_templates, 'template-spells.json')
Exemplo n.º 7
0
def run():
    data = get_spells()
    processed = parse(data)
    dump(processed, 'spells.json')
    diff('spells.json')
    dump(get_auto_only(processed), 'spellauto.json')

    site_templates = site_parse(processed)
    dump(site_templates, 'template-spells.json')
Exemplo n.º 8
0
def run():
    data = get_names()
    data = clean_tables(data)
    dump(data, 'names.json')
Exemplo n.º 9
0
 def dump(self):
     dump(self)