Skip to content

Commit

Permalink
Merge pull request #185 from acbeaumo/dev
Browse files Browse the repository at this point in the history
Item template
  • Loading branch information
acbeaumo authored May 29, 2024
2 parents f6dd162 + 9c2a8cb commit 2ed118f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions PyPoE/cli/exporter/wiki/parsers/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,28 +281,24 @@ class WikiCondition(parser.WikiCondition):
r"^(recipe|sell_price|implicit[0-9]+_(?:text|random_list)).*", re.UNICODE
)

NAME = "Base item"
NAME = "Item"
INDENT = 40
ADD_INCLUDE = False


class ItemWikiCondition(WikiCondition):
NAME = "Base item"
NAME = "Item"


class MapItemWikiCondition(WikiCondition):
NAME = "Base item"
NAME = "Item"


class UniqueMapItemWikiCondition(MapItemWikiCondition):
NAME = "Item"
COPY_MATCH = re.compile(r"^(recipe|(ex|im)plicit[0-9]+_(?:text|random_list)).*", re.UNICODE)


class ProphecyWikiCondition(WikiCondition):
NAME = "Item"


class ItemsHandler(ExporterHandler):
def __init__(self, sub_parser, *args, **kwargs):
super().__init__(self, sub_parser, *args, **kwargs)
Expand Down

0 comments on commit 2ed118f

Please sign in to comment.