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')
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')
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')
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')
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')
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')
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')
def run(): data = get_names() data = clean_tables(data) dump(data, 'names.json')
def dump(self): dump(self)