db: update from upstream 1.08, apply patches

This commit is contained in:
Bryce Allen
2015-07-10 19:02:25 -05:00
parent 94646e838e
commit be2c8b5309
10 changed files with 516 additions and 17 deletions

View File

@@ -27,7 +27,7 @@ def set_creation_cost(db, item_id, creation_cost):
if __name__ == '__main__':
db = MHDB()
delta_file_path = os.path.join(_pathfix.db_path, "weapons-delta.csv")
delta_file_path = os.path.join(_pathfix.db_path, "delta", "weapons.csv")
with open(delta_file_path) as f:
reader = csv.DictReader(f)