mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 04:37:44 +08:00
Upd: mail filter decorcoin support
This commit is contained in:
@@ -195,7 +195,7 @@
|
|||||||
"help": ""
|
"help": ""
|
||||||
},
|
},
|
||||||
"OpsiShop": {
|
"OpsiShop": {
|
||||||
"name": "Opsi Shop",
|
"name": "OpSi Shop",
|
||||||
"help": ""
|
"help": ""
|
||||||
},
|
},
|
||||||
"OpsiDaily": {
|
"OpsiDaily": {
|
||||||
@@ -1717,7 +1717,7 @@
|
|||||||
},
|
},
|
||||||
"Filter": {
|
"Filter": {
|
||||||
"name": "Mail Filter",
|
"name": "Mail Filter",
|
||||||
"help": "Filter as to which mail types should be collected\nSupports Merit, Coolant, Coin, Cube, Oil, and/or Gem"
|
"help": "Filter as to which mail types should be collected\nSupports Merit, Coolant, Coin, DecorCoin, Cube, Oil, and/or Gem"
|
||||||
},
|
},
|
||||||
"Delete": {
|
"Delete": {
|
||||||
"name": "Delete Collected Mail Rewards",
|
"name": "Delete Collected Mail Rewards",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ MAIL_BUTTON_GRID = ButtonGrid(
|
|||||||
button_shape=(64, 64), grid_shape=(1, 3),
|
button_shape=(64, 64), grid_shape=(1, 3),
|
||||||
name='MAIL_BUTTON_GRID')
|
name='MAIL_BUTTON_GRID')
|
||||||
FILTER_REGEX = re.compile(
|
FILTER_REGEX = re.compile(
|
||||||
'^(cube|coin|coolant|oil|merit|gem)$',
|
'^(cube|coin|coolant|decorcoin|oil|merit|gem)$',
|
||||||
flags=re.IGNORECASE)
|
flags=re.IGNORECASE)
|
||||||
FILTER_ATTR = ['name']
|
FILTER_ATTR = ['name']
|
||||||
FILTER = Filter(FILTER_REGEX, FILTER_ATTR)
|
FILTER = Filter(FILTER_REGEX, FILTER_ATTR)
|
||||||
|
|||||||
Reference in New Issue
Block a user