mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Add: Research S4 ships, but project haven't extracted
This commit is contained in:
@@ -21,9 +21,12 @@ OCR_RESEARCH = [OCR_RESEARCH_1, OCR_RESEARCH_2, OCR_RESEARCH_3, OCR_RESEARCH_4,
|
||||
OCR_RESEARCH = Ocr(OCR_RESEARCH, name='RESEARCH', threshold=64, alphabet='0123456789BCDEGHQTMIULRF-')
|
||||
RESEARCH_DETAIL_GENRE = [DETAIL_GENRE_B, DETAIL_GENRE_C, DETAIL_GENRE_D, DETAIL_GENRE_E, DETAIL_GENRE_G,
|
||||
DETAIL_GENRE_H_0, DETAIL_GENRE_H_1, DETAIL_GENRE_Q, DETAIL_GENRE_T]
|
||||
FILTER_REGEX = re.compile('(s[123])?'
|
||||
FILTER_REGEX = re.compile('(s[1234])?'
|
||||
'-?'
|
||||
'(neptune|monarch|ibuki|izumo|roon|saintlouis|seattle|georgia|kitakaze|azuma|friedrich|gascogne|champagne|cheshire|drake|mainz|odin)?'
|
||||
'(neptune|monarch|ibuki|izumo|roon|saintlouis'
|
||||
'|seattle|georgia|kitakaze|azuma|friedrich'
|
||||
'|gascogne|champagne|cheshire|drake|mainz|odin'
|
||||
'|anchorage|hakuryu|agir|augustvonparseval|marcopolo)?'
|
||||
'(dr|pry)?'
|
||||
'([bcdeghqt])?'
|
||||
'-?'
|
||||
@@ -282,9 +285,12 @@ def research_jp_detect(image):
|
||||
|
||||
class ResearchProject:
|
||||
REGEX_SHIP = re.compile(
|
||||
'(neptune|monarch|ibuki|izumo|roon|saintlouis|seattle|georgia|kitakaze|azuma|friedrich|gascogne|champagne|cheshire|drake|mainz|odin)')
|
||||
'(neptune|monarch|ibuki|izumo|roon|saintlouis'
|
||||
'|seattle|georgia|kitakaze|azuma|friedrich'
|
||||
'|gascogne|champagne|cheshire|drake|mainz|odin'
|
||||
'|anchorage|hakuryu|agir|augustvonparseval|marcopolo)')
|
||||
REGEX_INPUT = re.compile('(coin|cube|part)')
|
||||
DR_SHIP = ['azuma', 'friedrich', 'drake']
|
||||
DR_SHIP = ['azuma', 'friedrich', 'drake', 'hakuryu', 'agir']
|
||||
|
||||
def __init__(self, name, series):
|
||||
"""
|
||||
@@ -384,8 +390,9 @@ class ResearchProjectJp:
|
||||
SHIP_S1 = ['neptune', 'monarch', 'ibuki', 'izumo', 'roon', 'saintlouis']
|
||||
SHIP_S2 = ['seattle', 'georgia', 'kitakaze', 'azuma', 'friedrich', 'gascogne']
|
||||
SHIP_S3 = ['champagne', 'cheshire', 'drake', 'mainz', 'odin']
|
||||
SHIP_ALL = SHIP_S1 + SHIP_S2 + SHIP_S3
|
||||
DR_SHIP = ['azuma', 'friedrich', 'drake']
|
||||
SHIP_S4 = ['anchorage', 'hakuryu', 'agir', 'augustvonparseval', 'marcopolo']
|
||||
SHIP_ALL = SHIP_S1 + SHIP_S2 + SHIP_S3 + SHIP_S4
|
||||
DR_SHIP = ['azuma', 'friedrich', 'drake', 'hakuryu', 'agir']
|
||||
|
||||
def __init__(self):
|
||||
self.valid = True
|
||||
|
||||
Reference in New Issue
Block a user