Skip to content

Commit

Permalink
Fixing json resource paths, removing unused file
Browse files Browse the repository at this point in the history
  • Loading branch information
euloggeradmin committed Mar 30, 2022
1 parent 6e623fd commit 0a74c1a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 34 deletions.
32 changes: 0 additions & 32 deletions .pyupdater/config.pyu

This file was deleted.

1 change: 1 addition & 0 deletions chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def parse_log_line(line: str) -> LogLine:
re.compile("You healed yourself (\d+\.\d+) points"): (ChatType.HEAL, HealRow, {}),
re.compile("Damage deflected!"): (ChatType.DEFLECT, BaseChatRow, {}),
re.compile("You Evaded the attack"): (ChatType.EVADE, BaseChatRow, {}),
re.compile("You missed"): (ChatType.DODGE, CombatRow, {"miss": True}),
re.compile("The target Dodged your attack"): (ChatType.DODGE, CombatRow, {"miss": True}),
re.compile("The target Evaded your attack"): (ChatType.DODGE, CombatRow, {"miss": True}),
re.compile("The target Jammed your attack"): (ChatType.DODGE, CombatRow, {"miss": True}),
Expand Down
4 changes: 2 additions & 2 deletions data/crafting.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

ALL_RESOURCES = {}
ALL_BLUEPRINTS = {}
bp_filename = "crafting.json" # resource_path("crafting.json")
res_filename = "resources.json" # resource_path("resources.json")
bp_filename = resource_path("crafting.json")
res_filename = resource_path("resources.json")

if os.path.exists(bp_filename):
with open(bp_filename, 'r') as f:
Expand Down

0 comments on commit 0a74c1a

Please sign in to comment.