Merge branch 'master' of https://github.com/LmeSzinc/AzurLaneAutoScript
BIN
assets/cn/template/TEMPLATE_SIREN_ArkRoyalG.gif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/cn/template/TEMPLATE_SIREN_Bremerton.gif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/cn/template/TEMPLATE_SIREN_Cheshire.gif
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/cn/template/TEMPLATE_SIREN_FuShunG.gif
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/cn/template/TEMPLATE_SIREN_Lexington2.gif
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
assets/cn/template/TEMPLATE_SIREN_Nakhimov.gif
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
assets/cn/template/TEMPLATE_SIREN_Raffaello.gif
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
assets/cn/template/TEMPLATE_SIREN_Yorktown2.gif
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
assets/en/template/TEMPLATE_SIREN_ArkRoyalG.gif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/en/template/TEMPLATE_SIREN_Bremerton.gif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/en/template/TEMPLATE_SIREN_Cheshire.gif
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/en/template/TEMPLATE_SIREN_FuShunG.gif
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/en/template/TEMPLATE_SIREN_Lexington2.gif
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
assets/en/template/TEMPLATE_SIREN_Nakhimov.gif
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
assets/en/template/TEMPLATE_SIREN_Raffaello.gif
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
assets/en/template/TEMPLATE_SIREN_Yorktown2.gif
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
assets/jp/template/TEMPLATE_SIREN_ArkRoyalG.gif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/jp/template/TEMPLATE_SIREN_Bremerton.gif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/jp/template/TEMPLATE_SIREN_Cheshire.gif
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/jp/template/TEMPLATE_SIREN_FuShunG.gif
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/jp/template/TEMPLATE_SIREN_Lexington2.gif
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
assets/jp/template/TEMPLATE_SIREN_Nakhimov.gif
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
assets/jp/template/TEMPLATE_SIREN_Raffaello.gif
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
assets/jp/template/TEMPLATE_SIREN_Yorktown2.gif
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
assets/shop/cost/Coins_5.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/shop/cost/Coins_6.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/shop/cost/Core_4.png
Normal file
|
After Width: | Height: | Size: 993 B |
BIN
assets/shop/cost/Gems_5.png
Normal file
|
After Width: | Height: | Size: 1005 B |
BIN
assets/shop/cost/GuildCoins_6.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/shop/cost/GuildCoins_7.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/shop/cost/Medal_4.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
assets/shop/cost/Merit_5.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/shop/cost/Merit_6.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
assets/tw/template/TEMPLATE_SIREN_ArkRoyalG.gif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/tw/template/TEMPLATE_SIREN_Bremerton.gif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/tw/template/TEMPLATE_SIREN_Cheshire.gif
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/tw/template/TEMPLATE_SIREN_FuShunG.gif
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/tw/template/TEMPLATE_SIREN_Lexington2.gif
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
assets/tw/template/TEMPLATE_SIREN_Nakhimov.gif
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
assets/tw/template/TEMPLATE_SIREN_Raffaello.gif
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
assets/tw/template/TEMPLATE_SIREN_Yorktown2.gif
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
@@ -287,3 +287,5 @@ To add a new event, add a new row in here, and run `python -m module.config.conf
|
|||||||
| 20260319 | event 20220728 cn | Aquilifer's Ballade | - | - | - | 復刻雄鷹的敘事歌 |
|
| 20260319 | event 20220728 cn | Aquilifer's Ballade | - | - | - | 復刻雄鷹的敘事歌 |
|
||||||
| 20260326 | event 20260326 cn | The Vagabond’s Recruitment Plan | 漫游者招募计划 | The Vagabond’s Recruitment Plan | ワンダラー募集計画 | - |
|
| 20260326 | event 20260326 cn | The Vagabond’s Recruitment Plan | 漫游者招募计划 | The Vagabond’s Recruitment Plan | ワンダラー募集計画 | - |
|
||||||
| 20260402 | event 20260326 cn | The Vagabond’s Recruitment Plan | - | - | - | 漫遊者招募計劃 |
|
| 20260402 | event 20260326 cn | The Vagabond’s Recruitment Plan | - | - | - | 漫遊者招募計劃 |
|
||||||
|
| 20260416 | event 20220915 cn | Violet Tempest Blooming Lycoris | - | - | - | 復刻紫絳槿嵐 |
|
||||||
|
| 20260417 | event 20260417 cn | Vacation Lane – Beachside Brilliance | 假日航线闪耀海滨 | Vacation Lane – Beachside Brilliance | バケーションレーン・きらめく砂浜 | - |
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ from module.map.assets import SWITCH_OVER
|
|||||||
|
|
||||||
class CampaignBase(CampaignBase_):
|
class CampaignBase(CampaignBase_):
|
||||||
def enemy_searching_appear(self):
|
def enemy_searching_appear(self):
|
||||||
if not self.appear(SWITCH_OVER, offset=(20, 20)):
|
if not self.is_in_map():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return red_overlay_transparency(
|
return red_overlay_transparency(
|
||||||
|
|||||||
38
campaign/event_20260417_cn/campaign_base.py
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
from module.base.button import Button
|
||||||
|
from module.campaign.campaign_base import CampaignBase as CampaignBase_
|
||||||
|
from module.logger import logger
|
||||||
|
|
||||||
|
EVENT_ANIMATION = Button(area=(49, 229, 119, 400), color=(118, 215, 240), button=(49, 229, 119, 400),
|
||||||
|
name='EVENT_ANIMATION')
|
||||||
|
|
||||||
|
|
||||||
|
class CampaignBase(CampaignBase_):
|
||||||
|
@staticmethod
|
||||||
|
def _campaign_ocr_result_process(result):
|
||||||
|
result = CampaignBase_._campaign_ocr_result_process(result)
|
||||||
|
if result in ['ysp', 'usp', 'vsp']:
|
||||||
|
result = 'sp'
|
||||||
|
return result
|
||||||
|
|
||||||
|
def is_event_animation(self):
|
||||||
|
"""
|
||||||
|
Animation in events after cleared an enemy.
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
bool: If animation appearing.
|
||||||
|
"""
|
||||||
|
appear = self.appear(EVENT_ANIMATION)
|
||||||
|
if appear:
|
||||||
|
logger.info('DOA animation, waiting')
|
||||||
|
return appear
|
||||||
|
|
||||||
|
def event_animation_end(self):
|
||||||
|
if not self.appear(EVENT_ANIMATION):
|
||||||
|
return False
|
||||||
|
# wait until EVENT_ANIMATION closed
|
||||||
|
for _ in self.loop():
|
||||||
|
if self.is_event_animation():
|
||||||
|
continue
|
||||||
|
break
|
||||||
|
# now in_map
|
||||||
|
return True
|
||||||
114
campaign/event_20260417_cn/sp.py
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
from .campaign_base import CampaignBase
|
||||||
|
from module.map.map_base import CampaignMap
|
||||||
|
from module.map.map_grids import SelectedGrids, RoadGrids
|
||||||
|
from module.logger import logger
|
||||||
|
|
||||||
|
MAP = CampaignMap('VSP')
|
||||||
|
MAP.shape = 'I9'
|
||||||
|
MAP.camera_data = ['D3', 'D6', 'E3', 'E6']
|
||||||
|
MAP.camera_data_spawn_point = ['D3', 'D6']
|
||||||
|
MAP.map_data = """
|
||||||
|
++ ++ -- ++ ++ ++ -- ++ ++
|
||||||
|
++ ++ -- ME -- ME -- ++ ++
|
||||||
|
++ ME -- -- -- -- -- ME ++
|
||||||
|
SP -- -- MS -- ME -- -- --
|
||||||
|
-- __ MS -- ++ -- -- MB --
|
||||||
|
SP -- -- MS -- ME -- -- --
|
||||||
|
++ ME -- -- -- -- -- ME ++
|
||||||
|
++ ++ -- ME -- ME -- ++ ++
|
||||||
|
++ ++ -- ++ ++ ++ -- ++ ++
|
||||||
|
"""
|
||||||
|
MAP.weight_data = """
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
"""
|
||||||
|
MAP.spawn_data = [
|
||||||
|
{'battle': 0, 'enemy': 12, 'siren': 3},
|
||||||
|
{'battle': 1},
|
||||||
|
{'battle': 2},
|
||||||
|
{'battle': 3},
|
||||||
|
{'battle': 4},
|
||||||
|
{'battle': 5},
|
||||||
|
{'battle': 6},
|
||||||
|
{'battle': 7, 'boss': 1},
|
||||||
|
]
|
||||||
|
A1, B1, C1, D1, E1, F1, G1, H1, I1, \
|
||||||
|
A2, B2, C2, D2, E2, F2, G2, H2, I2, \
|
||||||
|
A3, B3, C3, D3, E3, F3, G3, H3, I3, \
|
||||||
|
A4, B4, C4, D4, E4, F4, G4, H4, I4, \
|
||||||
|
A5, B5, C5, D5, E5, F5, G5, H5, I5, \
|
||||||
|
A6, B6, C6, D6, E6, F6, G6, H6, I6, \
|
||||||
|
A7, B7, C7, D7, E7, F7, G7, H7, I7, \
|
||||||
|
A8, B8, C8, D8, E8, F8, G8, H8, I8, \
|
||||||
|
A9, B9, C9, D9, E9, F9, G9, H9, I9, \
|
||||||
|
= MAP.flatten()
|
||||||
|
|
||||||
|
|
||||||
|
class Config:
|
||||||
|
# ===== Start of generated config =====
|
||||||
|
MAP_SIREN_TEMPLATE = ['Lexington2', 'Yorktown2']
|
||||||
|
MOVABLE_ENEMY_TURN = (2,)
|
||||||
|
MAP_HAS_SIREN = True
|
||||||
|
MAP_HAS_MOVABLE_ENEMY = True
|
||||||
|
MAP_HAS_MAP_STORY = False
|
||||||
|
MAP_HAS_FLEET_STEP = False
|
||||||
|
MAP_HAS_AMBUSH = False
|
||||||
|
MAP_HAS_MYSTERY = False
|
||||||
|
STAR_REQUIRE_1 = 0
|
||||||
|
STAR_REQUIRE_2 = 0
|
||||||
|
STAR_REQUIRE_3 = 0
|
||||||
|
# ===== End of generated config =====
|
||||||
|
|
||||||
|
MAP_CHAPTER_SWITCH_20241219_SPEX = True
|
||||||
|
STAGE_ENTRANCE = ['half', '20240725']
|
||||||
|
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||||
|
'height': (80, 255 - 49),
|
||||||
|
'width': (1.5, 10),
|
||||||
|
'prominence': 10,
|
||||||
|
'distance': 35,
|
||||||
|
}
|
||||||
|
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
||||||
|
'height': (255 - 49, 255),
|
||||||
|
'prominence': 10,
|
||||||
|
'distance': 50,
|
||||||
|
'wlen': 1000
|
||||||
|
}
|
||||||
|
MAP_IS_ONE_TIME_STAGE = True
|
||||||
|
|
||||||
|
|
||||||
|
class Campaign(CampaignBase):
|
||||||
|
MAP = MAP
|
||||||
|
ENEMY_FILTER = '1L > 1M > 1E > 1C > 2L > 2M > 2E > 2C > 3L > 3M > 3E > 3C'
|
||||||
|
|
||||||
|
def battle_0(self):
|
||||||
|
if self.clear_siren():
|
||||||
|
return True
|
||||||
|
if self.clear_filter_enemy(self.ENEMY_FILTER, preserve=2):
|
||||||
|
return True
|
||||||
|
|
||||||
|
return self.battle_default()
|
||||||
|
|
||||||
|
def battle_5(self):
|
||||||
|
if self.clear_siren():
|
||||||
|
return True
|
||||||
|
if self.clear_filter_enemy(self.ENEMY_FILTER, preserve=0):
|
||||||
|
return True
|
||||||
|
|
||||||
|
return self.battle_default()
|
||||||
|
|
||||||
|
def battle_7(self):
|
||||||
|
return self.fleet_boss.clear_boss()
|
||||||
|
|
||||||
|
def _expected_end(self, expected):
|
||||||
|
# after 4th battle, no enemy search but has event animation
|
||||||
|
# we wait until event animation appears, otherwise next map walk will click on animation popup
|
||||||
|
if self.battle_count == 3:
|
||||||
|
return self.event_animation_end
|
||||||
|
return super()._expected_end(expected)
|
||||||
91
campaign/event_20260417_cn/sp1.py
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
from .campaign_base import CampaignBase
|
||||||
|
from module.map.map_base import CampaignMap
|
||||||
|
from module.map.map_grids import SelectedGrids, RoadGrids
|
||||||
|
from module.logger import logger
|
||||||
|
|
||||||
|
MAP = CampaignMap('SP1')
|
||||||
|
MAP.shape = 'I8'
|
||||||
|
MAP.camera_data = ['D2', 'D6', 'F2', 'F6']
|
||||||
|
MAP.camera_data_spawn_point = ['F2']
|
||||||
|
MAP.map_data = """
|
||||||
|
-- -- -- ME -- -- -- ++ ++
|
||||||
|
ME -- ME ++ Me -- SP -- ++
|
||||||
|
-- ME -- ++ -- -- -- SP --
|
||||||
|
-- ++ -- Me -- MS -- -- --
|
||||||
|
-- -- -- -- -- ++ ++ ++ ME
|
||||||
|
-- MB -- __ -- Me -- ME --
|
||||||
|
ME -- ME -- -- -- ME -- --
|
||||||
|
++ ++ ++ -- ME ++ -- ME --
|
||||||
|
"""
|
||||||
|
MAP.weight_data = """
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
"""
|
||||||
|
MAP.spawn_data = [
|
||||||
|
{'battle': 0, 'enemy': 2, 'siren': 1},
|
||||||
|
{'battle': 1, 'enemy': 2},
|
||||||
|
{'battle': 2, 'enemy': 1},
|
||||||
|
{'battle': 3, 'enemy': 1},
|
||||||
|
{'battle': 4, 'boss': 1},
|
||||||
|
]
|
||||||
|
A1, B1, C1, D1, E1, F1, G1, H1, I1, \
|
||||||
|
A2, B2, C2, D2, E2, F2, G2, H2, I2, \
|
||||||
|
A3, B3, C3, D3, E3, F3, G3, H3, I3, \
|
||||||
|
A4, B4, C4, D4, E4, F4, G4, H4, I4, \
|
||||||
|
A5, B5, C5, D5, E5, F5, G5, H5, I5, \
|
||||||
|
A6, B6, C6, D6, E6, F6, G6, H6, I6, \
|
||||||
|
A7, B7, C7, D7, E7, F7, G7, H7, I7, \
|
||||||
|
A8, B8, C8, D8, E8, F8, G8, H8, I8, \
|
||||||
|
= MAP.flatten()
|
||||||
|
|
||||||
|
|
||||||
|
class Config:
|
||||||
|
# ===== Start of generated config =====
|
||||||
|
MAP_SIREN_TEMPLATE = ['Bremerton']
|
||||||
|
MOVABLE_ENEMY_TURN = (2,)
|
||||||
|
MAP_HAS_SIREN = True
|
||||||
|
MAP_HAS_MOVABLE_ENEMY = True
|
||||||
|
MAP_HAS_MAP_STORY = False
|
||||||
|
MAP_HAS_FLEET_STEP = True
|
||||||
|
MAP_HAS_AMBUSH = False
|
||||||
|
MAP_HAS_MYSTERY = False
|
||||||
|
# ===== End of generated config =====
|
||||||
|
|
||||||
|
MAP_CHAPTER_SWITCH_20241219_SPEX = True
|
||||||
|
STAGE_ENTRANCE = ['half', '20240725']
|
||||||
|
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||||
|
'height': (80, 255 - 49),
|
||||||
|
'width': (1.5, 10),
|
||||||
|
'prominence': 10,
|
||||||
|
'distance': 35,
|
||||||
|
}
|
||||||
|
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
||||||
|
'height': (255 - 49, 255),
|
||||||
|
'prominence': 10,
|
||||||
|
'distance': 50,
|
||||||
|
'wlen': 1000
|
||||||
|
}
|
||||||
|
MAP_SWIPE_MULTIPLY = (1.188, 1.210)
|
||||||
|
MAP_SWIPE_MULTIPLY_MINITOUCH = (1.149, 1.170)
|
||||||
|
MAP_SWIPE_MULTIPLY_MAATOUCH = (1.116, 1.136)
|
||||||
|
|
||||||
|
class Campaign(CampaignBase):
|
||||||
|
MAP = MAP
|
||||||
|
ENEMY_FILTER = '1L > 1M > 1E > 1C > 2L > 2M > 2E > 2C > 3L > 3M > 3E > 3C'
|
||||||
|
|
||||||
|
def battle_0(self):
|
||||||
|
if self.clear_siren():
|
||||||
|
return True
|
||||||
|
if self.clear_filter_enemy(self.ENEMY_FILTER, preserve=0):
|
||||||
|
return True
|
||||||
|
|
||||||
|
return self.battle_default()
|
||||||
|
|
||||||
|
def battle_4(self):
|
||||||
|
return self.clear_boss()
|
||||||
79
campaign/event_20260417_cn/sp2.py
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
from .campaign_base import CampaignBase
|
||||||
|
from module.map.map_base import CampaignMap
|
||||||
|
from module.map.map_grids import SelectedGrids, RoadGrids
|
||||||
|
from module.logger import logger
|
||||||
|
from .sp1 import Config as ConfigBase
|
||||||
|
|
||||||
|
MAP = CampaignMap('SP2')
|
||||||
|
MAP.shape = 'I8'
|
||||||
|
MAP.camera_data = ['D2', 'D6', 'E2', 'E6']
|
||||||
|
MAP.camera_data_spawn_point = ['D2', 'E2']
|
||||||
|
MAP.map_data = """
|
||||||
|
++ -- SP -- SP -- ++ -- --
|
||||||
|
ME -- -- -- -- -- -- ME --
|
||||||
|
-- ME -- MS __ -- -- -- ++
|
||||||
|
ME -- Me ++ -- Me -- ME --
|
||||||
|
++ -- ++ ++ -- ++ ++ -- --
|
||||||
|
ME -- -- Me -- ++ ++ ME --
|
||||||
|
-- MB -- -- -- -- -- -- --
|
||||||
|
MB -- -- ++ ++ ++ -- ME --
|
||||||
|
"""
|
||||||
|
MAP.weight_data = """
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
"""
|
||||||
|
MAP.spawn_data = [
|
||||||
|
{'battle': 0, 'enemy': 3, 'siren': 1},
|
||||||
|
{'battle': 1, 'enemy': 2},
|
||||||
|
{'battle': 2, 'enemy': 1},
|
||||||
|
{'battle': 3, 'enemy': 1},
|
||||||
|
{'battle': 4, 'boss': 1},
|
||||||
|
]
|
||||||
|
A1, B1, C1, D1, E1, F1, G1, H1, I1, \
|
||||||
|
A2, B2, C2, D2, E2, F2, G2, H2, I2, \
|
||||||
|
A3, B3, C3, D3, E3, F3, G3, H3, I3, \
|
||||||
|
A4, B4, C4, D4, E4, F4, G4, H4, I4, \
|
||||||
|
A5, B5, C5, D5, E5, F5, G5, H5, I5, \
|
||||||
|
A6, B6, C6, D6, E6, F6, G6, H6, I6, \
|
||||||
|
A7, B7, C7, D7, E7, F7, G7, H7, I7, \
|
||||||
|
A8, B8, C8, D8, E8, F8, G8, H8, I8, \
|
||||||
|
= MAP.flatten()
|
||||||
|
|
||||||
|
|
||||||
|
class Config(ConfigBase):
|
||||||
|
# ===== Start of generated config =====
|
||||||
|
MAP_SIREN_TEMPLATE = ['FuShunG']
|
||||||
|
MOVABLE_ENEMY_TURN = (2,)
|
||||||
|
MAP_HAS_SIREN = True
|
||||||
|
MAP_HAS_MOVABLE_ENEMY = True
|
||||||
|
MAP_HAS_MAP_STORY = False
|
||||||
|
MAP_HAS_FLEET_STEP = True
|
||||||
|
MAP_HAS_AMBUSH = False
|
||||||
|
MAP_HAS_MYSTERY = False
|
||||||
|
# ===== End of generated config =====
|
||||||
|
|
||||||
|
MAP_SWIPE_MULTIPLY = (1.234, 1.257)
|
||||||
|
MAP_SWIPE_MULTIPLY_MINITOUCH = (1.193, 1.215)
|
||||||
|
MAP_SWIPE_MULTIPLY_MAATOUCH = (1.158, 1.179)
|
||||||
|
|
||||||
|
|
||||||
|
class Campaign(CampaignBase):
|
||||||
|
MAP = MAP
|
||||||
|
ENEMY_FILTER = '1L > 1M > 1E > 1C > 2L > 2M > 2E > 2C > 3L > 3M > 3E > 3C'
|
||||||
|
|
||||||
|
def battle_0(self):
|
||||||
|
if self.clear_siren():
|
||||||
|
return True
|
||||||
|
if self.clear_filter_enemy(self.ENEMY_FILTER, preserve=0):
|
||||||
|
return True
|
||||||
|
|
||||||
|
return self.battle_default()
|
||||||
|
|
||||||
|
def battle_4(self):
|
||||||
|
return self.clear_boss()
|
||||||
91
campaign/event_20260417_cn/sp3.py
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
from .campaign_base import CampaignBase
|
||||||
|
from module.map.map_base import CampaignMap
|
||||||
|
from module.map.map_grids import SelectedGrids, RoadGrids
|
||||||
|
from module.logger import logger
|
||||||
|
from .sp1 import Config as ConfigBase
|
||||||
|
|
||||||
|
MAP = CampaignMap('SP3')
|
||||||
|
MAP.shape = 'I8'
|
||||||
|
MAP.camera_data = ['D2', 'D6']
|
||||||
|
MAP.camera_data_spawn_point = ['D2']
|
||||||
|
# Big Raffaello may cover D2-D3
|
||||||
|
MAP.map_covered = ['D2', 'D3']
|
||||||
|
MAP.map_data = """
|
||||||
|
++ ++ Me ++ ++ ++ -- -- --
|
||||||
|
++ ++ -- ME -- ME -- -- --
|
||||||
|
SP -- -- MS -- -- ME ++ --
|
||||||
|
SP -- -- MS -- -- -- -- --
|
||||||
|
++ Me __ ++ ++ -- Me -- --
|
||||||
|
ME -- -- Me ++ ME ++ -- --
|
||||||
|
-- -- -- -- ME -- ME -- ++
|
||||||
|
MB ++ ME -- -- -- -- -- ++
|
||||||
|
"""
|
||||||
|
MAP.weight_data = """
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
"""
|
||||||
|
MAP.spawn_data = [
|
||||||
|
{'battle': 0, 'enemy': 3, 'siren': 2},
|
||||||
|
{'battle': 1, 'enemy': 2},
|
||||||
|
{'battle': 2, 'enemy': 1},
|
||||||
|
{'battle': 3, 'enemy': 1},
|
||||||
|
{'battle': 4},
|
||||||
|
{'battle': 5, 'boss': 1},
|
||||||
|
]
|
||||||
|
A1, B1, C1, D1, E1, F1, G1, H1, I1, \
|
||||||
|
A2, B2, C2, D2, E2, F2, G2, H2, I2, \
|
||||||
|
A3, B3, C3, D3, E3, F3, G3, H3, I3, \
|
||||||
|
A4, B4, C4, D4, E4, F4, G4, H4, I4, \
|
||||||
|
A5, B5, C5, D5, E5, F5, G5, H5, I5, \
|
||||||
|
A6, B6, C6, D6, E6, F6, G6, H6, I6, \
|
||||||
|
A7, B7, C7, D7, E7, F7, G7, H7, I7, \
|
||||||
|
A8, B8, C8, D8, E8, F8, G8, H8, I8, \
|
||||||
|
= MAP.flatten()
|
||||||
|
|
||||||
|
|
||||||
|
class Config(ConfigBase):
|
||||||
|
# ===== Start of generated config =====
|
||||||
|
MAP_SIREN_TEMPLATE = ['Raffaello', 'ArkRoyalG']
|
||||||
|
MOVABLE_ENEMY_TURN = (2,)
|
||||||
|
MAP_HAS_SIREN = True
|
||||||
|
MAP_HAS_MOVABLE_ENEMY = True
|
||||||
|
MAP_HAS_MAP_STORY = False
|
||||||
|
MAP_HAS_FLEET_STEP = True
|
||||||
|
MAP_HAS_AMBUSH = False
|
||||||
|
MAP_HAS_MYSTERY = False
|
||||||
|
# ===== End of generated config =====
|
||||||
|
|
||||||
|
# Big Raffaello may cover nearby grids
|
||||||
|
MAP_WALK_USE_CURRENT_FLEET = True
|
||||||
|
MAP_SWIPE_MULTIPLY = (1.137, 1.159)
|
||||||
|
MAP_SWIPE_MULTIPLY_MINITOUCH = (1.100, 1.120)
|
||||||
|
MAP_SWIPE_MULTIPLY_MAATOUCH = (1.068, 1.087)
|
||||||
|
|
||||||
|
|
||||||
|
class Campaign(CampaignBase):
|
||||||
|
MAP = MAP
|
||||||
|
ENEMY_FILTER = '1L > 1M > 1E > 1C > 2L > 2M > 2E > 2C > 3L > 3M > 3E > 3C'
|
||||||
|
|
||||||
|
def battle_0(self):
|
||||||
|
if self.clear_siren():
|
||||||
|
return True
|
||||||
|
if self.clear_filter_enemy(self.ENEMY_FILTER, preserve=0):
|
||||||
|
return True
|
||||||
|
|
||||||
|
return self.battle_default()
|
||||||
|
|
||||||
|
def battle_5(self):
|
||||||
|
return self.fleet_boss.clear_boss()
|
||||||
|
|
||||||
|
def _expected_end(self, expected):
|
||||||
|
# after 4th battle, no enemy search but has event animation
|
||||||
|
# we wait until event animation appears, otherwise next map walk will click on animation popup
|
||||||
|
if self.battle_count == 3:
|
||||||
|
return self.event_animation_end
|
||||||
|
return super()._expected_end(expected)
|
||||||
80
campaign/event_20260417_cn/sp4.py
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
from .campaign_base import CampaignBase
|
||||||
|
from module.map.map_base import CampaignMap
|
||||||
|
from module.map.map_grids import SelectedGrids, RoadGrids
|
||||||
|
from module.logger import logger
|
||||||
|
from .sp1 import Config as ConfigBase
|
||||||
|
|
||||||
|
MAP = CampaignMap('SP4')
|
||||||
|
MAP.shape = 'I8'
|
||||||
|
MAP.camera_data = ['D3', 'D6', 'F3', 'F6']
|
||||||
|
MAP.camera_data_spawn_point = ['D6']
|
||||||
|
MAP.map_data = """
|
||||||
|
-- -- -- ++ ++ ++ -- -- --
|
||||||
|
-- ++ ME -- MB -- ME ++ --
|
||||||
|
-- ME -- -- -- -- -- ME --
|
||||||
|
-- ++ ++ Me -- Me ++ ++ --
|
||||||
|
-- ++ ++ MS -- MS ++ ++ --
|
||||||
|
-- ME Me -- __ -- Me ME --
|
||||||
|
ME -- -- -- -- -- -- -- ME
|
||||||
|
++ ++ ++ SP -- SP ++ ++ ++
|
||||||
|
"""
|
||||||
|
MAP.weight_data = """
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
50 50 50 50 50 50 50 50 50
|
||||||
|
"""
|
||||||
|
MAP.spawn_data = [
|
||||||
|
{'battle': 0, 'enemy': 3, 'siren': 2},
|
||||||
|
{'battle': 1, 'enemy': 2},
|
||||||
|
{'battle': 2, 'enemy': 1},
|
||||||
|
{'battle': 3, 'enemy': 1},
|
||||||
|
{'battle': 4, 'enemy': 1},
|
||||||
|
{'battle': 5, 'boss': 1},
|
||||||
|
]
|
||||||
|
A1, B1, C1, D1, E1, F1, G1, H1, I1, \
|
||||||
|
A2, B2, C2, D2, E2, F2, G2, H2, I2, \
|
||||||
|
A3, B3, C3, D3, E3, F3, G3, H3, I3, \
|
||||||
|
A4, B4, C4, D4, E4, F4, G4, H4, I4, \
|
||||||
|
A5, B5, C5, D5, E5, F5, G5, H5, I5, \
|
||||||
|
A6, B6, C6, D6, E6, F6, G6, H6, I6, \
|
||||||
|
A7, B7, C7, D7, E7, F7, G7, H7, I7, \
|
||||||
|
A8, B8, C8, D8, E8, F8, G8, H8, I8, \
|
||||||
|
= MAP.flatten()
|
||||||
|
|
||||||
|
|
||||||
|
class Config(ConfigBase):
|
||||||
|
# ===== Start of generated config =====
|
||||||
|
MAP_SIREN_TEMPLATE = ['Cheshire', 'Nakhimov']
|
||||||
|
MOVABLE_ENEMY_TURN = (2,)
|
||||||
|
MAP_HAS_SIREN = True
|
||||||
|
MAP_HAS_MOVABLE_ENEMY = True
|
||||||
|
MAP_HAS_MAP_STORY = False
|
||||||
|
MAP_HAS_FLEET_STEP = True
|
||||||
|
MAP_HAS_AMBUSH = False
|
||||||
|
MAP_HAS_MYSTERY = False
|
||||||
|
# ===== End of generated config =====
|
||||||
|
|
||||||
|
MAP_SWIPE_MULTIPLY = (1.084, 1.104)
|
||||||
|
MAP_SWIPE_MULTIPLY_MINITOUCH = (1.048, 1.067)
|
||||||
|
MAP_SWIPE_MULTIPLY_MAATOUCH = (1.017, 1.036)
|
||||||
|
|
||||||
|
|
||||||
|
class Campaign(CampaignBase):
|
||||||
|
MAP = MAP
|
||||||
|
ENEMY_FILTER = '1L > 1M > 1E > 1C > 2L > 2M > 2E > 2C > 3L > 3M > 3E > 3C'
|
||||||
|
|
||||||
|
def battle_0(self):
|
||||||
|
if self.clear_siren():
|
||||||
|
return True
|
||||||
|
if self.clear_filter_enemy(self.ENEMY_FILTER, preserve=0):
|
||||||
|
return True
|
||||||
|
|
||||||
|
return self.battle_default()
|
||||||
|
|
||||||
|
def battle_5(self):
|
||||||
|
return self.fleet_boss.clear_boss()
|
||||||
@@ -6,7 +6,7 @@ from module.map.assets import SWITCH_OVER
|
|||||||
|
|
||||||
class CampaignBase(CampaignBase_):
|
class CampaignBase(CampaignBase_):
|
||||||
def enemy_searching_appear(self):
|
def enemy_searching_appear(self):
|
||||||
if not self.appear(SWITCH_OVER, offset=(20, 20)):
|
if not self.is_in_map():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return red_overlay_transparency(
|
return red_overlay_transparency(
|
||||||
|
|||||||
@@ -317,6 +317,16 @@ DIC_SIREN_NAME_CHI_TO_ENG = {
|
|||||||
'unknownV_boss_hermit': 'Vboss_Hermit',
|
'unknownV_boss_hermit': 'Vboss_Hermit',
|
||||||
'unknownV_boss_lovers': 'Vboss_Lovers',
|
'unknownV_boss_lovers': 'Vboss_Lovers',
|
||||||
'unknownV_boss_chariot': 'Vboss_Chariot',
|
'unknownV_boss_chariot': 'Vboss_Chariot',
|
||||||
|
|
||||||
|
# Vacation Lane – Beachside Brilliance (event_20260417_cn)
|
||||||
|
'bulaimodun': 'Bremerton',
|
||||||
|
'fushun_g': 'FuShunG',
|
||||||
|
'lafeier': 'Raffaello',
|
||||||
|
'huangjiafangzhou_g': 'ArkRoyal',
|
||||||
|
'chaijun': 'Cheshire',
|
||||||
|
'naximofu': 'Nakhimov',
|
||||||
|
'liekexingdunII': 'Lexington2',
|
||||||
|
'yuekechengII': 'Yorktown2',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -774,8 +784,8 @@ Arguments:
|
|||||||
adapted for war_archives usage
|
adapted for war_archives usage
|
||||||
"""
|
"""
|
||||||
FILE = '../AzurLaneLuaScripts'
|
FILE = '../AzurLaneLuaScripts'
|
||||||
FOLDER = './campaign/test'
|
FOLDER = './campaign/event_20260417_cn'
|
||||||
KEYWORD = ''
|
KEYWORD = '2020001'
|
||||||
SELECT = True
|
SELECT = True
|
||||||
OVERWRITE = True
|
OVERWRITE = True
|
||||||
IS_WAR_ARCHIVES = False
|
IS_WAR_ARCHIVES = False
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
import os
|
import os
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
import imageio
|
|
||||||
from PIL import ImageDraw
|
from PIL import ImageDraw
|
||||||
|
|
||||||
from module.base.decorator import cached_property
|
from module.base.decorator import cached_property
|
||||||
from module.base.resource import Resource
|
from module.base.resource import Resource
|
||||||
from module.base.utils import *
|
from module.base.utils import *
|
||||||
from module.config.server import VALID_SERVER
|
from module.config.server import VALID_SERVER
|
||||||
|
from module.logger import logger
|
||||||
|
|
||||||
|
|
||||||
class Button(Resource):
|
class Button(Resource):
|
||||||
@@ -153,6 +153,7 @@ class Button(Resource):
|
|||||||
if not self._match_init:
|
if not self._match_init:
|
||||||
if self.is_gif:
|
if self.is_gif:
|
||||||
self.image = []
|
self.image = []
|
||||||
|
import imageio
|
||||||
for image in imageio.mimread(self.file):
|
for image in imageio.mimread(self.file):
|
||||||
image = image[:, :, :3].copy() if len(image.shape) == 3 else image
|
image = image[:, :, :3].copy() if len(image.shape) == 3 else image
|
||||||
image = crop(image, self.area)
|
image = crop(image, self.area)
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
from module.base.timer import Timer
|
from module.base.timer import Timer
|
||||||
|
from module.base.utils import area_offset
|
||||||
from module.campaign.assets import *
|
from module.campaign.assets import *
|
||||||
from module.campaign.campaign_event import CampaignEvent
|
from module.campaign.campaign_event import CampaignEvent
|
||||||
from module.campaign.campaign_ocr import CampaignOcr
|
from module.campaign.campaign_ocr import CampaignOcr
|
||||||
@@ -29,7 +30,7 @@ MODE_SWITCH_2.add_state('ex', SWITCH_2_EX)
|
|||||||
MODE_SWITCH_20241219 = ModeSwitch('Mode_switch_20241219', is_selector=True, offset=(30, 30))
|
MODE_SWITCH_20241219 = ModeSwitch('Mode_switch_20241219', is_selector=True, offset=(30, 30))
|
||||||
MODE_SWITCH_20241219.add_state('combat', SWITCH_20241219_COMBAT)
|
MODE_SWITCH_20241219.add_state('combat', SWITCH_20241219_COMBAT)
|
||||||
MODE_SWITCH_20241219.add_state('story', SWITCH_20241219_STORY)
|
MODE_SWITCH_20241219.add_state('story', SWITCH_20241219_STORY)
|
||||||
ASIDE_SWITCH_20241219 = ModeSwitch('Aside_switch_20241219', is_selector=True, offset=(30, 30))
|
ASIDE_SWITCH_20241219 = ModeSwitch('Aside_switch_20241219', is_selector=True, offset=(20, 20))
|
||||||
ASIDE_SWITCH_20241219.add_state('part1', CHAPTER_20241219_PART1)
|
ASIDE_SWITCH_20241219.add_state('part1', CHAPTER_20241219_PART1)
|
||||||
ASIDE_SWITCH_20241219.add_state('part2', CHAPTER_20241219_PART2)
|
ASIDE_SWITCH_20241219.add_state('part2', CHAPTER_20241219_PART2)
|
||||||
ASIDE_SWITCH_20241219.add_state('sp', CHAPTER_20241219_SP)
|
ASIDE_SWITCH_20241219.add_state('sp', CHAPTER_20241219_SP)
|
||||||
@@ -321,6 +322,33 @@ class CampaignUI(MapOperation, CampaignEvent, CampaignOcr):
|
|||||||
self.campaign_ensure_aside_20241219('sp')
|
self.campaign_ensure_aside_20241219('sp')
|
||||||
self.campaign_ensure_chapter(chapter)
|
self.campaign_ensure_chapter(chapter)
|
||||||
return True
|
return True
|
||||||
|
if self.config.MAP_CHAPTER_SWITCH_20241219_SPEX:
|
||||||
|
if self._campaign_name_is_hard(f'{chapter}{stage}'):
|
||||||
|
self.config.override(Campaign_Mode='hard')
|
||||||
|
# normal, sp, ex
|
||||||
|
try:
|
||||||
|
ASIDE_SWITCH_20241219.offset = area_offset((-20, -20, 20, 20), (0, -37))
|
||||||
|
if chapter in ['sp', 't', 'ht']:
|
||||||
|
self.ui_goto_event()
|
||||||
|
self.campaign_ensure_mode_20241219('combat')
|
||||||
|
# normal is on the position of part2
|
||||||
|
self.campaign_ensure_aside_20241219('part2')
|
||||||
|
self.campaign_ensure_chapter(chapter)
|
||||||
|
return True
|
||||||
|
if chapter in ['ex_sp']:
|
||||||
|
self.ui_goto_event()
|
||||||
|
self.campaign_ensure_mode_20241219('combat')
|
||||||
|
self.campaign_ensure_aside_20241219('sp')
|
||||||
|
self.campaign_ensure_chapter(chapter)
|
||||||
|
return True
|
||||||
|
if chapter in ['ex_sp']:
|
||||||
|
self.ui_goto_event()
|
||||||
|
self.campaign_ensure_mode_20241219('combat')
|
||||||
|
self.campaign_ensure_aside_20241219('sp')
|
||||||
|
self.campaign_ensure_chapter(chapter)
|
||||||
|
return True
|
||||||
|
finally:
|
||||||
|
ASIDE_SWITCH_20241219.offset = (20, 20)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def campaign_set_chapter(self, name, mode='normal'):
|
def campaign_set_chapter(self, name, mode='normal'):
|
||||||
|
|||||||
@@ -336,6 +336,9 @@ class CampaignRun(CampaignEvent, ShopStatus):
|
|||||||
logger.info(
|
logger.info(
|
||||||
'In event_20240912_cn, MapAchievement=threat_safe_without_3_stars fallback to 100_percent_clear')
|
'In event_20240912_cn, MapAchievement=threat_safe_without_3_stars fallback to 100_percent_clear')
|
||||||
self.config.override(StopCondition_MapAchievement='100_percent_clear')
|
self.config.override(StopCondition_MapAchievement='100_percent_clear')
|
||||||
|
if folder == 'event_20260417_cn':
|
||||||
|
if name in ['vsp', ]:
|
||||||
|
name = 'sp'
|
||||||
return name, folder
|
return name, folder
|
||||||
|
|
||||||
def can_use_auto_search_continue(self):
|
def can_use_auto_search_continue(self):
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ from module.handler.info_handler import InfoHandler
|
|||||||
from module.logger import logger
|
from module.logger import logger
|
||||||
from module.map.map_grids import SelectedGrids
|
from module.map.map_grids import SelectedGrids
|
||||||
from module.retire.assets import DOCK_CHECK
|
from module.retire.assets import DOCK_CHECK
|
||||||
from module.ui.assets import BACK_ARROW, COMMISSION_CHECK, REWARD_GOTO_COMMISSION
|
from module.ui.assets import BACK_ARROW, REWARD_GOTO_COMMISSION
|
||||||
from module.ui.page import page_reward, page_commission
|
from module.ui.page import page_commission, page_reward
|
||||||
from module.ui.scroll import Scroll
|
from module.ui.scroll import Scroll
|
||||||
from module.ui.switch import Switch
|
from module.ui.switch import Switch
|
||||||
from module.ui.ui import UI
|
from module.ui.ui import UI
|
||||||
@@ -523,8 +523,9 @@ class RewardCommission(UI, InfoHandler):
|
|||||||
|
|
||||||
for button in [EXP_INFO_S_REWARD, GET_ITEMS_1, GET_ITEMS_2, GET_ITEMS_3]:
|
for button in [EXP_INFO_S_REWARD, GET_ITEMS_1, GET_ITEMS_2, GET_ITEMS_3]:
|
||||||
if self.appear(button, interval=1):
|
if self.appear(button, interval=1):
|
||||||
self.ensure_no_info_bar(timeout=1)
|
if drop:
|
||||||
drop.add(self.device.image)
|
self.ensure_no_info_bar(timeout=1)
|
||||||
|
drop.add(self.device.image)
|
||||||
|
|
||||||
REWARD_SAVE_CLICK.name = button.name
|
REWARD_SAVE_CLICK.name = button.name
|
||||||
self.device.click(REWARD_SAVE_CLICK)
|
self.device.click(REWARD_SAVE_CLICK)
|
||||||
|
|||||||
@@ -1967,23 +1967,25 @@
|
|||||||
"type": "select",
|
"type": "select",
|
||||||
"value": "campaign_main",
|
"value": "campaign_main",
|
||||||
"option": [
|
"option": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"display": "hide",
|
"display": "hide",
|
||||||
"option_cn": [
|
"option_cn": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_en": [
|
"option_en": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_jp": [
|
"option_jp": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_tw": [
|
"option_tw": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn"
|
||||||
],
|
],
|
||||||
"option_bold": [
|
"option_bold": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Mode": {
|
"Mode": {
|
||||||
@@ -2386,22 +2388,24 @@
|
|||||||
"type": "state",
|
"type": "state",
|
||||||
"value": "campaign_main",
|
"value": "campaign_main",
|
||||||
"option": [
|
"option": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_cn": [
|
"option_cn": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_en": [
|
"option_en": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_jp": [
|
"option_jp": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_tw": [
|
"option_tw": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn"
|
||||||
],
|
],
|
||||||
"option_bold": [
|
"option_bold": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Mode": {
|
"Mode": {
|
||||||
@@ -2798,22 +2802,24 @@
|
|||||||
"type": "state",
|
"type": "state",
|
||||||
"value": "campaign_main",
|
"value": "campaign_main",
|
||||||
"option": [
|
"option": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_cn": [
|
"option_cn": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_en": [
|
"option_en": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_jp": [
|
"option_jp": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_tw": [
|
"option_tw": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn"
|
||||||
],
|
],
|
||||||
"option_bold": [
|
"option_bold": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Mode": {
|
"Mode": {
|
||||||
@@ -4603,22 +4609,24 @@
|
|||||||
"type": "state",
|
"type": "state",
|
||||||
"value": "campaign_main",
|
"value": "campaign_main",
|
||||||
"option": [
|
"option": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_cn": [
|
"option_cn": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_en": [
|
"option_en": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_jp": [
|
"option_jp": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_tw": [
|
"option_tw": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn"
|
||||||
],
|
],
|
||||||
"option_bold": [
|
"option_bold": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Mode": {
|
"Mode": {
|
||||||
@@ -5033,22 +5041,24 @@
|
|||||||
"type": "state",
|
"type": "state",
|
||||||
"value": "campaign_main",
|
"value": "campaign_main",
|
||||||
"option": [
|
"option": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_cn": [
|
"option_cn": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_en": [
|
"option_en": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_jp": [
|
"option_jp": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_tw": [
|
"option_tw": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn"
|
||||||
],
|
],
|
||||||
"option_bold": [
|
"option_bold": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Mode": {
|
"Mode": {
|
||||||
@@ -5463,22 +5473,24 @@
|
|||||||
"type": "state",
|
"type": "state",
|
||||||
"value": "campaign_main",
|
"value": "campaign_main",
|
||||||
"option": [
|
"option": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_cn": [
|
"option_cn": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_en": [
|
"option_en": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_jp": [
|
"option_jp": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_tw": [
|
"option_tw": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn"
|
||||||
],
|
],
|
||||||
"option_bold": [
|
"option_bold": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Mode": {
|
"Mode": {
|
||||||
@@ -5893,22 +5905,24 @@
|
|||||||
"type": "state",
|
"type": "state",
|
||||||
"value": "campaign_main",
|
"value": "campaign_main",
|
||||||
"option": [
|
"option": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_cn": [
|
"option_cn": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_en": [
|
"option_en": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_jp": [
|
"option_jp": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_tw": [
|
"option_tw": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn"
|
||||||
],
|
],
|
||||||
"option_bold": [
|
"option_bold": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Mode": {
|
"Mode": {
|
||||||
@@ -6313,22 +6327,24 @@
|
|||||||
"type": "state",
|
"type": "state",
|
||||||
"value": "campaign_main",
|
"value": "campaign_main",
|
||||||
"option": [
|
"option": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_cn": [
|
"option_cn": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_en": [
|
"option_en": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_jp": [
|
"option_jp": [
|
||||||
"event_20260326_cn"
|
"event_20260417_cn"
|
||||||
],
|
],
|
||||||
"option_tw": [
|
"option_tw": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn"
|
||||||
],
|
],
|
||||||
"option_bold": [
|
"option_bold": [
|
||||||
"event_20260326_cn"
|
"event_20220915_cn",
|
||||||
|
"event_20260417_cn"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Mode": {
|
"Mode": {
|
||||||
|
|||||||
@@ -121,6 +121,7 @@ class ManualConfig:
|
|||||||
# Events from 20240725 to 20241219 introduced new chapter switches
|
# Events from 20240725 to 20241219 introduced new chapter switches
|
||||||
MAP_CHAPTER_SWITCH_20241219 = False
|
MAP_CHAPTER_SWITCH_20241219 = False
|
||||||
MAP_CHAPTER_SWITCH_20241219_SP = False
|
MAP_CHAPTER_SWITCH_20241219_SP = False
|
||||||
|
MAP_CHAPTER_SWITCH_20241219_SPEX = False
|
||||||
# Since event_20241219_cn chapter B unlocks event startup
|
# Since event_20241219_cn chapter B unlocks event startup
|
||||||
# which means chapter AB are continuous
|
# which means chapter AB are continuous
|
||||||
STAGE_INCREASE_AB = False
|
STAGE_INCREASE_AB = False
|
||||||
|
|||||||
@@ -799,6 +799,7 @@
|
|||||||
"event_20251218_cn": "A Note Through the Firmament",
|
"event_20251218_cn": "A Note Through the Firmament",
|
||||||
"event_20260226_cn": "Springtide Inn Online",
|
"event_20260226_cn": "Springtide Inn Online",
|
||||||
"event_20260326_cn": "The Vagabond’s Recruitment Plan",
|
"event_20260326_cn": "The Vagabond’s Recruitment Plan",
|
||||||
|
"event_20260417_cn": "Vacation Lane – Beachside Brilliance",
|
||||||
"raid_20200624": "Air Raid Drills with Essex Rerun",
|
"raid_20200624": "Air Raid Drills with Essex Rerun",
|
||||||
"raid_20210708": "Cross Wave rerun",
|
"raid_20210708": "Cross Wave rerun",
|
||||||
"raid_20220127": "Mystery Investigation",
|
"raid_20220127": "Mystery Investigation",
|
||||||
|
|||||||
@@ -799,6 +799,7 @@
|
|||||||
"event_20251218_cn": "天穹に響く音謡",
|
"event_20251218_cn": "天穹に響く音謡",
|
||||||
"event_20260226_cn": "春色旅籠Online",
|
"event_20260226_cn": "春色旅籠Online",
|
||||||
"event_20260326_cn": "ワンダラー募集計画",
|
"event_20260326_cn": "ワンダラー募集計画",
|
||||||
|
"event_20260417_cn": "バケーションレーン・きらめく砂浜",
|
||||||
"raid_20200624": "特別演習超空強襲波(復刻)",
|
"raid_20200624": "特別演習超空強襲波(復刻)",
|
||||||
"raid_20210708": "交錯する新たな波 (復刻)",
|
"raid_20210708": "交錯する新たな波 (復刻)",
|
||||||
"raid_20220127": "秘密事件調査",
|
"raid_20220127": "秘密事件調査",
|
||||||
|
|||||||
@@ -799,6 +799,7 @@
|
|||||||
"event_20251218_cn": "响彻于天穹之音",
|
"event_20251218_cn": "响彻于天穹之音",
|
||||||
"event_20260226_cn": "春满客栈Online",
|
"event_20260226_cn": "春满客栈Online",
|
||||||
"event_20260326_cn": "漫游者招募计划",
|
"event_20260326_cn": "漫游者招募计划",
|
||||||
|
"event_20260417_cn": "假日航线闪耀海滨",
|
||||||
"raid_20200624": "复刻特别演习埃塞克斯级",
|
"raid_20200624": "复刻特别演习埃塞克斯级",
|
||||||
"raid_20210708": "复刻穿越彼方的水线",
|
"raid_20210708": "复刻穿越彼方的水线",
|
||||||
"raid_20220127": "演习神秘事件调查",
|
"raid_20220127": "演习神秘事件调查",
|
||||||
|
|||||||
@@ -768,7 +768,7 @@
|
|||||||
"event_20220526_cn": "泠誓光庭",
|
"event_20220526_cn": "泠誓光庭",
|
||||||
"event_20220728_cn": "復刻雄鷹的敘事歌",
|
"event_20220728_cn": "復刻雄鷹的敘事歌",
|
||||||
"event_20220818_cn": "遠匯點作戰",
|
"event_20220818_cn": "遠匯點作戰",
|
||||||
"event_20220915_cn": "紫絳槿嵐",
|
"event_20220915_cn": "復刻紫絳槿嵐",
|
||||||
"event_20221124_cn": "復刻鍊金術士與秘密遺跡群島",
|
"event_20221124_cn": "復刻鍊金術士與秘密遺跡群島",
|
||||||
"event_20221222_cn": "定向折疊",
|
"event_20221222_cn": "定向折疊",
|
||||||
"event_20230223_cn": "湮燼塵墟",
|
"event_20230223_cn": "湮燼塵墟",
|
||||||
@@ -799,6 +799,7 @@
|
|||||||
"event_20251218_cn": "響徹於天穹之音",
|
"event_20251218_cn": "響徹於天穹之音",
|
||||||
"event_20260226_cn": "春滿客棧Online",
|
"event_20260226_cn": "春滿客棧Online",
|
||||||
"event_20260326_cn": "漫遊者招募計劃",
|
"event_20260326_cn": "漫遊者招募計劃",
|
||||||
|
"event_20260417_cn": "Vacation Lane – Beachside Brilliance",
|
||||||
"raid_20200624": "特別演習埃塞克斯級(復刻)",
|
"raid_20200624": "特別演習埃塞克斯級(復刻)",
|
||||||
"raid_20210708": "復刻穿越彼方的水線",
|
"raid_20210708": "復刻穿越彼方的水線",
|
||||||
"raid_20220127": "演習神秘事件調查",
|
"raid_20220127": "演習神秘事件調查",
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ from uiautomator2.xpath import XPath, XPathSelector
|
|||||||
|
|
||||||
import module.config.server as server
|
import module.config.server as server
|
||||||
from module.base.timer import Timer
|
from module.base.timer import Timer
|
||||||
from module.base.utils import color_similarity_2d, crop, random_rectangle_point, rgb2luma
|
from module.base.utils import color_similarity_2d, crop
|
||||||
from module.exception import GameNotRunningError, GameTooManyClickError, EmulatorNetworkError
|
from module.exception import GameNotRunningError, GameTooManyClickError, EmulatorNetworkError
|
||||||
from module.handler.assets import *
|
from module.handler.assets import *
|
||||||
from module.logger import logger
|
from module.logger import logger
|
||||||
@@ -109,26 +109,29 @@ class LoginHandler(UI):
|
|||||||
if not self._user_agreement_timer.reached():
|
if not self._user_agreement_timer.reached():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
confirm = self.image_color_button(
|
right = self.image_color_button(
|
||||||
area=(640, 360, 1280, 720), color=(78, 189, 234),
|
area=(640, 360, 1280, 720), color=(78, 189, 234),
|
||||||
color_threshold=245, encourage=25, name='AGREEMENT_CONFIRM')
|
color_threshold=245, encourage=25, name='AGREEMENT_CONFIRM')
|
||||||
if confirm is None:
|
if right is None:
|
||||||
return False
|
return False
|
||||||
scroll = self.image_color_button(
|
# 2026.04.17 No scroll anymore, just bare swipe before clicking confirm
|
||||||
area=(640, 0, 1280, 720), color=(182, 189, 202),
|
# if having blue button at right half of screen, but missing in left, it's a confirm button
|
||||||
color_threshold=245, encourage=5, name='AGREEMENT_SCROLL'
|
# if having both, it's a blue button at middle confirming login
|
||||||
)
|
left = self.image_color_button(
|
||||||
if scroll is not None:
|
area=(0, 360, 640, 720), color=(78, 189, 234),
|
||||||
|
color_threshold=245, encourage=25, name='AGREEMENT_CONFIRM')
|
||||||
|
if left is None:
|
||||||
# User agreement
|
# User agreement
|
||||||
p1 = random_rectangle_point(scroll.button)
|
# just somewhere at the middle
|
||||||
p2 = random_rectangle_point(scroll.move((0, 350)).button)
|
box = (350, 230, 920, 430)
|
||||||
self.device.swipe(p1, p2, name='AGREEMENT_SCROLL')
|
self.device.swipe_vector((0, -150), box, name='AGREEMENT_SCROLL')
|
||||||
self.device.click(confirm)
|
self.device.swipe_vector((0, -150), box, name='AGREEMENT_SCROLL')
|
||||||
|
self.device.click(right)
|
||||||
self._user_agreement_timer.reset()
|
self._user_agreement_timer.reset()
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
# User login
|
# User login
|
||||||
self.device.click(confirm)
|
self.device.click(right)
|
||||||
self._user_agreement_timer.reset()
|
self._user_agreement_timer.reset()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,13 @@ class MetaDigitCounter(DigitCounter):
|
|||||||
if re.match(r'^[0123]3$', result):
|
if re.match(r'^[0123]3$', result):
|
||||||
result = f'{result[0]}/{result[1]}'
|
result = f'{result[0]}/{result[1]}'
|
||||||
|
|
||||||
|
# 1/40/1400 -> 140/1400
|
||||||
|
for suffix in ['/1400', '/200']:
|
||||||
|
if result.endswith(suffix):
|
||||||
|
point = result[:-len(suffix)]
|
||||||
|
point = point.replace('/', '')
|
||||||
|
result = point + suffix
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -358,12 +358,13 @@ class RewardResearch(ResearchSelector, ResearchQueue, StorageHandler):
|
|||||||
total = 0
|
total = 0
|
||||||
with self.stat.new(
|
with self.stat.new(
|
||||||
genre='research', method=self.config.DropRecord_ResearchRecord
|
genre='research', method=self.config.DropRecord_ResearchRecord
|
||||||
) as record:
|
) as drop:
|
||||||
# Take screenshots of project list
|
# Take screenshots of project list
|
||||||
record.add(self.device.image)
|
drop.add(self.device.image)
|
||||||
|
|
||||||
end_confirm = Timer(1, count=3)
|
end_confirm = Timer(1, count=3)
|
||||||
item_confirm = Timer(1.5, count=5)
|
item_confirm = Timer(1.5, count=5)
|
||||||
|
item_interval = Timer(0.2, count=0)
|
||||||
record_button = None
|
record_button = None
|
||||||
while 1:
|
while 1:
|
||||||
if skip_first_screenshot:
|
if skip_first_screenshot:
|
||||||
@@ -380,31 +381,42 @@ class RewardResearch(ResearchSelector, ResearchQueue, StorageHandler):
|
|||||||
end_confirm.reset()
|
end_confirm.reset()
|
||||||
|
|
||||||
# Get items
|
# Get items
|
||||||
appear_button = self.get_items()
|
if drop:
|
||||||
if appear_button is not None:
|
# record item drop
|
||||||
if appear_button == record_button:
|
appear_button = self.get_items()
|
||||||
if item_confirm.reached():
|
if appear_button is not None:
|
||||||
# Record drops and close get items
|
if appear_button == record_button:
|
||||||
self.drop_record(drop=record)
|
if item_confirm.reached():
|
||||||
self.device.click(GET_ITEMS_RESEARCH_SAVE)
|
# Record drops and close get items
|
||||||
|
self.drop_record(drop=drop)
|
||||||
|
self.device.click(GET_ITEMS_RESEARCH_SAVE)
|
||||||
|
item_confirm.reset()
|
||||||
|
record_button = None
|
||||||
|
total += 1
|
||||||
|
continue
|
||||||
|
else:
|
||||||
|
logger.info(f'{appear_button} appeared')
|
||||||
|
record_button = appear_button
|
||||||
item_confirm.reset()
|
item_confirm.reset()
|
||||||
record_button = None
|
else:
|
||||||
|
item_confirm.reset()
|
||||||
|
record_button = None
|
||||||
|
else:
|
||||||
|
# no drop saving, just click it
|
||||||
|
if item_interval.reached():
|
||||||
|
appear_button = self.get_items()
|
||||||
|
if appear_button is not None:
|
||||||
|
self.device.click(GET_ITEMS_RESEARCH_SAVE)
|
||||||
|
item_interval.reset()
|
||||||
total += 1
|
total += 1
|
||||||
continue
|
continue
|
||||||
else:
|
|
||||||
logger.info(f'{appear_button} appeared')
|
|
||||||
record_button = appear_button
|
|
||||||
item_confirm.reset()
|
|
||||||
else:
|
|
||||||
item_confirm.reset()
|
|
||||||
record_button = None
|
|
||||||
|
|
||||||
# Claim rewards
|
# Claim rewards
|
||||||
if self.appear_then_click(QUEUE_CLAIM_REWARD, offset=None, interval=5):
|
if self.appear_then_click(QUEUE_CLAIM_REWARD, offset=None, interval=5):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if total <= 0:
|
if total <= 0:
|
||||||
record.clear()
|
drop.clear()
|
||||||
|
|
||||||
logger.info(f'Received rewards from {total} projects')
|
logger.info(f'Received rewards from {total} projects')
|
||||||
return total
|
return total
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ TEMPLATE_SIREN_Amity = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN
|
|||||||
TEMPLATE_SIREN_Arethusa = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Arethusa.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Arethusa.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Arethusa.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Arethusa.gif'})
|
TEMPLATE_SIREN_Arethusa = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Arethusa.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Arethusa.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Arethusa.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Arethusa.gif'})
|
||||||
TEMPLATE_SIREN_Arizona = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Arizona.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Arizona.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Arizona.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Arizona.gif'})
|
TEMPLATE_SIREN_Arizona = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Arizona.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Arizona.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Arizona.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Arizona.gif'})
|
||||||
TEMPLATE_SIREN_ArkRoyal = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_ArkRoyal.gif', 'en': './assets/en/template/TEMPLATE_SIREN_ArkRoyal.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_ArkRoyal.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_ArkRoyal.gif'})
|
TEMPLATE_SIREN_ArkRoyal = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_ArkRoyal.gif', 'en': './assets/en/template/TEMPLATE_SIREN_ArkRoyal.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_ArkRoyal.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_ArkRoyal.gif'})
|
||||||
|
TEMPLATE_SIREN_ArkRoyalG = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_ArkRoyalG.gif', 'en': './assets/en/template/TEMPLATE_SIREN_ArkRoyalG.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_ArkRoyalG.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_ArkRoyalG.gif'})
|
||||||
TEMPLATE_SIREN_Asanagi = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Asanagi.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Asanagi.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Asanagi.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Asanagi.gif'})
|
TEMPLATE_SIREN_Asanagi = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Asanagi.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Asanagi.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Asanagi.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Asanagi.gif'})
|
||||||
TEMPLATE_SIREN_Atlanta = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Atlanta.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Atlanta.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Atlanta.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Atlanta.gif'})
|
TEMPLATE_SIREN_Atlanta = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Atlanta.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Atlanta.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Atlanta.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Atlanta.gif'})
|
||||||
TEMPLATE_SIREN_August = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_August.gif', 'en': './assets/en/template/TEMPLATE_SIREN_August.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_August.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_August.gif'})
|
TEMPLATE_SIREN_August = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_August.gif', 'en': './assets/en/template/TEMPLATE_SIREN_August.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_August.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_August.gif'})
|
||||||
@@ -69,6 +70,7 @@ TEMPLATE_SIREN_Bellona = Template(file={'cn': './assets/cn/template/TEMPLATE_SIR
|
|||||||
TEMPLATE_SIREN_BlackDragonBoss01 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_BlackDragonBoss01.gif', 'en': './assets/en/template/TEMPLATE_SIREN_BlackDragonBoss01.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_BlackDragonBoss01.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_BlackDragonBoss01.gif'})
|
TEMPLATE_SIREN_BlackDragonBoss01 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_BlackDragonBoss01.gif', 'en': './assets/en/template/TEMPLATE_SIREN_BlackDragonBoss01.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_BlackDragonBoss01.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_BlackDragonBoss01.gif'})
|
||||||
TEMPLATE_SIREN_BlackDragonBoss02 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_BlackDragonBoss02.gif', 'en': './assets/en/template/TEMPLATE_SIREN_BlackDragonBoss02.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_BlackDragonBoss02.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_BlackDragonBoss02.gif'})
|
TEMPLATE_SIREN_BlackDragonBoss02 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_BlackDragonBoss02.gif', 'en': './assets/en/template/TEMPLATE_SIREN_BlackDragonBoss02.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_BlackDragonBoss02.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_BlackDragonBoss02.gif'})
|
||||||
TEMPLATE_SIREN_BolzanoAlter = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_BolzanoAlter.gif', 'en': './assets/en/template/TEMPLATE_SIREN_BolzanoAlter.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_BolzanoAlter.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_BolzanoAlter.gif'})
|
TEMPLATE_SIREN_BolzanoAlter = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_BolzanoAlter.gif', 'en': './assets/en/template/TEMPLATE_SIREN_BolzanoAlter.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_BolzanoAlter.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_BolzanoAlter.gif'})
|
||||||
|
TEMPLATE_SIREN_Bremerton = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Bremerton.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Bremerton.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Bremerton.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Bremerton.gif'})
|
||||||
TEMPLATE_SIREN_CA = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_CA.gif', 'en': './assets/en/template/TEMPLATE_SIREN_CA.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_CA.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_CA.gif'})
|
TEMPLATE_SIREN_CA = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_CA.gif', 'en': './assets/en/template/TEMPLATE_SIREN_CA.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_CA.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_CA.gif'})
|
||||||
TEMPLATE_SIREN_CAalchemist = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_CAalchemist.gif', 'en': './assets/en/template/TEMPLATE_SIREN_CAalchemist.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_CAalchemist.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_CAalchemist.gif'})
|
TEMPLATE_SIREN_CAalchemist = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_CAalchemist.gif', 'en': './assets/en/template/TEMPLATE_SIREN_CAalchemist.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_CAalchemist.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_CAalchemist.gif'})
|
||||||
TEMPLATE_SIREN_CAalchemist2 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_CAalchemist2.gif', 'en': './assets/en/template/TEMPLATE_SIREN_CAalchemist2.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_CAalchemist2.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_CAalchemist2.gif'})
|
TEMPLATE_SIREN_CAalchemist2 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_CAalchemist2.gif', 'en': './assets/en/template/TEMPLATE_SIREN_CAalchemist2.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_CAalchemist2.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_CAalchemist2.gif'})
|
||||||
@@ -88,6 +90,7 @@ TEMPLATE_SIREN_CVpurple = Template(file={'cn': './assets/cn/template/TEMPLATE_SI
|
|||||||
TEMPLATE_SIREN_Carabiniere = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Carabiniere.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Carabiniere.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Carabiniere.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Carabiniere.gif'})
|
TEMPLATE_SIREN_Carabiniere = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Carabiniere.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Carabiniere.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Carabiniere.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Carabiniere.gif'})
|
||||||
TEMPLATE_SIREN_CesareAlter = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_CesareAlter.gif', 'en': './assets/en/template/TEMPLATE_SIREN_CesareAlter.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_CesareAlter.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_CesareAlter.gif'})
|
TEMPLATE_SIREN_CesareAlter = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_CesareAlter.gif', 'en': './assets/en/template/TEMPLATE_SIREN_CesareAlter.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_CesareAlter.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_CesareAlter.gif'})
|
||||||
TEMPLATE_SIREN_Champagne = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Champagne.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Champagne.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Champagne.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Champagne.gif'})
|
TEMPLATE_SIREN_Champagne = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Champagne.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Champagne.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Champagne.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Champagne.gif'})
|
||||||
|
TEMPLATE_SIREN_Cheshire = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Cheshire.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Cheshire.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Cheshire.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Cheshire.gif'})
|
||||||
TEMPLATE_SIREN_ChihayaKisaragi = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_ChihayaKisaragi.gif', 'en': './assets/en/template/TEMPLATE_SIREN_ChihayaKisaragi.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_ChihayaKisaragi.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_ChihayaKisaragi.gif'})
|
TEMPLATE_SIREN_ChihayaKisaragi = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_ChihayaKisaragi.gif', 'en': './assets/en/template/TEMPLATE_SIREN_ChihayaKisaragi.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_ChihayaKisaragi.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_ChihayaKisaragi.gif'})
|
||||||
TEMPLATE_SIREN_Chitose = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Chitose.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Chitose.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Chitose.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Chitose.gif'})
|
TEMPLATE_SIREN_Chitose = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Chitose.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Chitose.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Chitose.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Chitose.gif'})
|
||||||
TEMPLATE_SIREN_Chiyoda = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Chiyoda.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Chiyoda.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Chiyoda.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Chiyoda.gif'})
|
TEMPLATE_SIREN_Chiyoda = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Chiyoda.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Chiyoda.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Chiyoda.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Chiyoda.gif'})
|
||||||
@@ -113,6 +116,7 @@ TEMPLATE_SIREN_ELpurple = Template(file={'cn': './assets/cn/template/TEMPLATE_SI
|
|||||||
TEMPLATE_SIREN_Elizabeth3 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Elizabeth3.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Elizabeth3.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Elizabeth3.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Elizabeth3.gif'})
|
TEMPLATE_SIREN_Elizabeth3 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Elizabeth3.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Elizabeth3.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Elizabeth3.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Elizabeth3.gif'})
|
||||||
TEMPLATE_SIREN_Formidable = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Formidable.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Formidable.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Formidable.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Formidable.gif'})
|
TEMPLATE_SIREN_Formidable = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Formidable.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Formidable.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Formidable.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Formidable.gif'})
|
||||||
TEMPLATE_SIREN_Fox = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Fox.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Fox.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Fox.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Fox.gif'})
|
TEMPLATE_SIREN_Fox = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Fox.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Fox.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Fox.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Fox.gif'})
|
||||||
|
TEMPLATE_SIREN_FuShunG = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_FuShunG.gif', 'en': './assets/en/template/TEMPLATE_SIREN_FuShunG.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_FuShunG.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_FuShunG.gif'})
|
||||||
TEMPLATE_SIREN_Gascogne = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Gascogne.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Gascogne.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Gascogne.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Gascogne.gif'})
|
TEMPLATE_SIREN_Gascogne = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Gascogne.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Gascogne.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Gascogne.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Gascogne.gif'})
|
||||||
TEMPLATE_SIREN_GascogneIdol = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_GascogneIdol.gif', 'en': './assets/en/template/TEMPLATE_SIREN_GascogneIdol.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_GascogneIdol.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_GascogneIdol.gif'})
|
TEMPLATE_SIREN_GascogneIdol = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_GascogneIdol.gif', 'en': './assets/en/template/TEMPLATE_SIREN_GascogneIdol.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_GascogneIdol.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_GascogneIdol.gif'})
|
||||||
TEMPLATE_SIREN_Gloucester = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Gloucester.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Gloucester.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Gloucester.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Gloucester.gif'})
|
TEMPLATE_SIREN_Gloucester = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Gloucester.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Gloucester.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Gloucester.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Gloucester.gif'})
|
||||||
@@ -164,6 +168,7 @@ TEMPLATE_SIREN_LeMars_ghost = Template(file={'cn': './assets/cn/template/TEMPLAT
|
|||||||
TEMPLATE_SIREN_Leipzig = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Leipzig.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Leipzig.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Leipzig.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Leipzig.gif'})
|
TEMPLATE_SIREN_Leipzig = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Leipzig.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Leipzig.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Leipzig.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Leipzig.gif'})
|
||||||
TEMPLATE_SIREN_Leipzig_g = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Leipzig_g.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Leipzig_g.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Leipzig_g.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Leipzig_g.gif'})
|
TEMPLATE_SIREN_Leipzig_g = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Leipzig_g.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Leipzig_g.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Leipzig_g.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Leipzig_g.gif'})
|
||||||
TEMPLATE_SIREN_Lexington = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Lexington.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Lexington.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Lexington.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Lexington.gif'})
|
TEMPLATE_SIREN_Lexington = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Lexington.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Lexington.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Lexington.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Lexington.gif'})
|
||||||
|
TEMPLATE_SIREN_Lexington2 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Lexington2.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Lexington2.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Lexington2.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Lexington2.gif'})
|
||||||
TEMPLATE_SIREN_Littorio = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Littorio.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Littorio.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Littorio.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Littorio.gif'})
|
TEMPLATE_SIREN_Littorio = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Littorio.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Littorio.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Littorio.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Littorio.gif'})
|
||||||
TEMPLATE_SIREN_Lover = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Lover.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Lover.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Lover.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Lover.gif'})
|
TEMPLATE_SIREN_Lover = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Lover.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Lover.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Lover.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Lover.gif'})
|
||||||
TEMPLATE_SIREN_Magdeburg = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Magdeburg.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Magdeburg.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Magdeburg.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Magdeburg.gif'})
|
TEMPLATE_SIREN_Magdeburg = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Magdeburg.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Magdeburg.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Magdeburg.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Magdeburg.gif'})
|
||||||
@@ -176,6 +181,7 @@ TEMPLATE_SIREN_MisakiDOA = Template(file={'cn': './assets/cn/template/TEMPLATE_S
|
|||||||
TEMPLATE_SIREN_Miyuki = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Miyuki.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Miyuki.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Miyuki.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Miyuki.gif'})
|
TEMPLATE_SIREN_Miyuki = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Miyuki.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Miyuki.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Miyuki.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Miyuki.gif'})
|
||||||
TEMPLATE_SIREN_Nagato = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Nagato.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Nagato.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Nagato.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Nagato.gif'})
|
TEMPLATE_SIREN_Nagato = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Nagato.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Nagato.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Nagato.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Nagato.gif'})
|
||||||
TEMPLATE_SIREN_NagisaDOA = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_NagisaDOA.gif', 'en': './assets/en/template/TEMPLATE_SIREN_NagisaDOA.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_NagisaDOA.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_NagisaDOA.gif'})
|
TEMPLATE_SIREN_NagisaDOA = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_NagisaDOA.gif', 'en': './assets/en/template/TEMPLATE_SIREN_NagisaDOA.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_NagisaDOA.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_NagisaDOA.gif'})
|
||||||
|
TEMPLATE_SIREN_Nakhimov = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Nakhimov.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Nakhimov.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Nakhimov.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Nakhimov.gif'})
|
||||||
TEMPLATE_SIREN_Nelson = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Nelson.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Nelson.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Nelson.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Nelson.gif'})
|
TEMPLATE_SIREN_Nelson = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Nelson.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Nelson.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Nelson.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Nelson.gif'})
|
||||||
TEMPLATE_SIREN_Neptune_ghost = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Neptune_ghost.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Neptune_ghost.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Neptune_ghost.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Neptune_ghost.gif'})
|
TEMPLATE_SIREN_Neptune_ghost = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Neptune_ghost.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Neptune_ghost.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Neptune_ghost.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Neptune_ghost.gif'})
|
||||||
TEMPLATE_SIREN_Northampton = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Northampton.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Northampton.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Northampton.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Northampton.gif'})
|
TEMPLATE_SIREN_Northampton = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Northampton.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Northampton.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Northampton.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Northampton.gif'})
|
||||||
@@ -189,6 +195,7 @@ TEMPLATE_SIREN_PrinceOfWales = Template(file={'cn': './assets/cn/template/TEMPLA
|
|||||||
TEMPLATE_SIREN_PrinzAdalbert = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_PrinzAdalbert.gif', 'en': './assets/en/template/TEMPLATE_SIREN_PrinzAdalbert.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_PrinzAdalbert.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_PrinzAdalbert.gif'})
|
TEMPLATE_SIREN_PrinzAdalbert = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_PrinzAdalbert.gif', 'en': './assets/en/template/TEMPLATE_SIREN_PrinzAdalbert.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_PrinzAdalbert.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_PrinzAdalbert.gif'})
|
||||||
TEMPLATE_SIREN_PrinzEugen = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_PrinzEugen.gif', 'en': './assets/en/template/TEMPLATE_SIREN_PrinzEugen.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_PrinzEugen.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_PrinzEugen.gif'})
|
TEMPLATE_SIREN_PrinzEugen = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_PrinzEugen.gif', 'en': './assets/en/template/TEMPLATE_SIREN_PrinzEugen.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_PrinzEugen.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_PrinzEugen.gif'})
|
||||||
TEMPLATE_SIREN_PrinzHeinrich = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_PrinzHeinrich.gif', 'en': './assets/en/template/TEMPLATE_SIREN_PrinzHeinrich.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_PrinzHeinrich.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_PrinzHeinrich.gif'})
|
TEMPLATE_SIREN_PrinzHeinrich = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_PrinzHeinrich.gif', 'en': './assets/en/template/TEMPLATE_SIREN_PrinzHeinrich.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_PrinzHeinrich.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_PrinzHeinrich.gif'})
|
||||||
|
TEMPLATE_SIREN_Raffaello = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Raffaello.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Raffaello.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Raffaello.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Raffaello.gif'})
|
||||||
TEMPLATE_SIREN_Renown = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Renown.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Renown.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Renown.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Renown.gif'})
|
TEMPLATE_SIREN_Renown = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Renown.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Renown.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Renown.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Renown.gif'})
|
||||||
TEMPLATE_SIREN_Revenge = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Revenge.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Revenge.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Revenge.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Revenge.gif'})
|
TEMPLATE_SIREN_Revenge = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Revenge.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Revenge.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Revenge.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Revenge.gif'})
|
||||||
TEMPLATE_SIREN_Rodney = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Rodney.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Rodney.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Rodney.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Rodney.gif'})
|
TEMPLATE_SIREN_Rodney = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Rodney.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Rodney.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Rodney.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Rodney.gif'})
|
||||||
@@ -252,6 +259,7 @@ TEMPLATE_SIREN_Weser = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN
|
|||||||
TEMPLATE_SIREN_Wichita = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Wichita.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Wichita.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Wichita.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Wichita.gif'})
|
TEMPLATE_SIREN_Wichita = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Wichita.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Wichita.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Wichita.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Wichita.gif'})
|
||||||
TEMPLATE_SIREN_Yamashiro = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Yamashiro.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Yamashiro.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Yamashiro.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Yamashiro.gif'})
|
TEMPLATE_SIREN_Yamashiro = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Yamashiro.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Yamashiro.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Yamashiro.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Yamashiro.gif'})
|
||||||
TEMPLATE_SIREN_York = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_York.gif', 'en': './assets/en/template/TEMPLATE_SIREN_York.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_York.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_York.gif'})
|
TEMPLATE_SIREN_York = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_York.gif', 'en': './assets/en/template/TEMPLATE_SIREN_York.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_York.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_York.gif'})
|
||||||
|
TEMPLATE_SIREN_Yorktown2 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Yorktown2.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Yorktown2.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Yorktown2.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Yorktown2.gif'})
|
||||||
TEMPLATE_SIREN_Yuudachi = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Yuudachi.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Yuudachi.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Yuudachi.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Yuudachi.gif'})
|
TEMPLATE_SIREN_Yuudachi = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Yuudachi.gif', 'en': './assets/en/template/TEMPLATE_SIREN_Yuudachi.gif', 'jp': './assets/jp/template/TEMPLATE_SIREN_Yuudachi.gif', 'tw': './assets/tw/template/TEMPLATE_SIREN_Yuudachi.gif'})
|
||||||
TEMPLATE_SIREN_Z18 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Z18.png', 'en': './assets/en/template/TEMPLATE_SIREN_Z18.png', 'jp': './assets/jp/template/TEMPLATE_SIREN_Z18.png', 'tw': './assets/tw/template/TEMPLATE_SIREN_Z18.png'})
|
TEMPLATE_SIREN_Z18 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Z18.png', 'en': './assets/en/template/TEMPLATE_SIREN_Z18.png', 'jp': './assets/jp/template/TEMPLATE_SIREN_Z18.png', 'tw': './assets/tw/template/TEMPLATE_SIREN_Z18.png'})
|
||||||
TEMPLATE_SIREN_Z19 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Z19.png', 'en': './assets/en/template/TEMPLATE_SIREN_Z19.png', 'jp': './assets/jp/template/TEMPLATE_SIREN_Z19.png', 'tw': './assets/tw/template/TEMPLATE_SIREN_Z19.png'})
|
TEMPLATE_SIREN_Z19 = Template(file={'cn': './assets/cn/template/TEMPLATE_SIREN_Z19.png', 'en': './assets/en/template/TEMPLATE_SIREN_Z19.png', 'jp': './assets/jp/template/TEMPLATE_SIREN_Z19.png', 'tw': './assets/tw/template/TEMPLATE_SIREN_Z19.png'})
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ class Switch:
|
|||||||
"""
|
"""
|
||||||
self.name = name
|
self.name = name
|
||||||
self.is_selector = is_selector
|
self.is_selector = is_selector
|
||||||
self.offset = offset
|
self._offset = offset
|
||||||
self.state_list = []
|
self.state_list = []
|
||||||
self.set_unknown_timer = Timer(5, count=10)
|
self.set_unknown_timer = Timer(5, count=10)
|
||||||
self.set_click_timer = Timer(1, count=2)
|
self.set_click_timer = Timer(1, count=2)
|
||||||
@@ -49,9 +49,19 @@ class Switch:
|
|||||||
'state': state,
|
'state': state,
|
||||||
'check_button': check_button,
|
'check_button': check_button,
|
||||||
'click_button': click_button if click_button is not None else check_button,
|
'click_button': click_button if click_button is not None else check_button,
|
||||||
'offset': offset if offset else self.offset
|
'offset': offset if offset else self._offset
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@property
|
||||||
|
def offset(self):
|
||||||
|
return self._offset
|
||||||
|
|
||||||
|
@offset.setter
|
||||||
|
def offset(self, value):
|
||||||
|
self._offset = value
|
||||||
|
for data in self.state_list:
|
||||||
|
data['offset'] = value
|
||||||
|
|
||||||
def appear(self, main):
|
def appear(self, main):
|
||||||
"""
|
"""
|
||||||
Args:
|
Args:
|
||||||
|
|||||||