|
@@ -8,5 +8,61 @@ from module.atom.list import RuleList
|
|
|
# This file was automatically generated by ./dev_tools/assets_extract.py.
|
|
# This file was automatically generated by ./dev_tools/assets_extract.py.
|
|
|
# Don't modify it manually.
|
|
# Don't modify it manually.
|
|
|
class SoulsTidyAssets:
|
|
class SoulsTidyAssets:
|
|
|
- pass
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ # Click Rule Assets
|
|
|
|
|
+ # 御魂详细
|
|
|
|
|
+ C_ST_DETAIL = RuleClick(roi_front=(1189,321,87,74), roi_back=(1189,321,87,74), name="st_detail")
|
|
|
|
|
+ # 出现神赐
|
|
|
|
|
+ C_ST_GOD_PRSENT = RuleClick(roi_front=(717,165,100,48), roi_back=(926,165,100,54), name="st_god_prsent")
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ # Image Rule Assets
|
|
|
|
|
+ # 点击御魂
|
|
|
|
|
+ I_ST_SOULS = RuleImage(roi_front=(1170,226,70,80), roi_back=(1170,226,70,80), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_souls.png")
|
|
|
|
|
+ # 更换
|
|
|
|
|
+ I_ST_REPLACE = RuleImage(roi_front=(856,170,100,100), roi_back=(856,170,100,100), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_replace.png")
|
|
|
|
|
+ # 奉纳
|
|
|
|
|
+ I_ST_BONGNA = RuleImage(roi_front=(1154,202,77,97), roi_back=(1154,202,77,97), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_bongna.png")
|
|
|
|
|
+ # 贪吃鬼
|
|
|
|
|
+ I_ST_GREED = RuleImage(roi_front=(1157,611,65,60), roi_back=(1157,611,65,60), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_greed.png")
|
|
|
|
|
+ # 整理
|
|
|
|
|
+ I_ST_TIDY = RuleImage(roi_front=(1155,328,74,100), roi_back=(1155,328,74,100), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_tidy.png")
|
|
|
|
|
+ # 进食习惯
|
|
|
|
|
+ I_ST_GREED_HABIT = RuleImage(roi_front=(817,529,165,61), roi_back=(817,529,165,61), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_greed_habit.png")
|
|
|
|
|
+ # 立即进食
|
|
|
|
|
+ I_ST_FEED_NOW = RuleImage(roi_front=(929,593,73,65), roi_back=(929,593,73,65), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_feed_now.png")
|
|
|
|
|
+ # 未选中
|
|
|
|
|
+ I_ST_UNSELECTED = RuleImage(roi_front=(542,342,38,37), roi_back=(542,342,38,37), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_unselected.png")
|
|
|
|
|
+ # 关闭贪吃鬼
|
|
|
|
|
+ I_ST_GREED_CLOSE = RuleImage(roi_front=(933,211,35,37), roi_back=(933,211,35,37), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_greed_close.png")
|
|
|
|
|
+ # 招财猫
|
|
|
|
|
+ I_ST_CAT = RuleImage(roi_front=(799,269,147,133), roi_back=(799,269,147,133), threshold=0.7, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_cat.png")
|
|
|
|
|
+ # 奉纳
|
|
|
|
|
+ I_ST_DONATE = RuleImage(roi_front=(813,628,126,68), roi_back=(813,628,126,68), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_donate.png")
|
|
|
|
|
+ # 神赐
|
|
|
|
|
+ I_ST_GOD_PRESENT = RuleImage(roi_front=(578,234,131,73), roi_back=(542,117,204,219), threshold=0.8, method="Template matching", file="./tasks/SoulsTidy/simple/simple_st_god_present.png")
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ # Long Click Rule Assets
|
|
|
|
|
+ # description
|
|
|
|
|
+ L_ONE = RuleLongClick(roi_front=(88,272,100,78), roi_back=(88,272,100,78), duration=1500, name="one")
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ # Ocr Rule Assets
|
|
|
|
|
+ # 奉纳获得的金币
|
|
|
|
|
+ O_ST_GOLD = RuleOcr(roi=(888,575,105,32), area=(888,575,105,32), mode="Digit", method="Default", keyword="", name="st_gold")
|
|
|
|
|
+ # 奉纳的御魂等级
|
|
|
|
|
+ O_ST_FIRSET_LEVEL = RuleOcr(roi=(91,237,35,28), area=(91,237,35,28), mode="Single", method="Default", keyword="", name="st_firset_level")
|
|
|
|
|
+ # 入手顺序
|
|
|
|
|
+ O_ST_SORT_TIME = RuleOcr(roi=(387,118,110,42), area=(387,118,110,42), mode="Single", method="Default", keyword="入手顺序", name="st_sort_time")
|
|
|
|
|
+ # 等级/星级 最上边的
|
|
|
|
|
+ O_ST_SORT_LEVEL_1 = RuleOcr(roi=(384,115,121,45), area=(384,115,121,45), mode="Single", method="Default", keyword="等级/星级", name="st_sort_level_1")
|
|
|
|
|
+ # 等级/星 下边的
|
|
|
|
|
+ O_ST_SORT_LEVEL_2 = RuleOcr(roi=(400,290,128,42), area=(400,290,128,42), mode="Single", method="Default", keyword="等级/星级", name="st_sort_level_2")
|
|
|
|
|
+ # 类型
|
|
|
|
|
+ O_ST_SORT_TYPE = RuleOcr(roi=(414,118,64,43), area=(414,118,64,43), mode="Single", method="Default", keyword="类型", name="st_sort_type")
|
|
|
|
|
+ # 位置
|
|
|
|
|
+ O_ST_SORT_LOCATION = RuleOcr(roi=(415,119,61,39), area=(415,119,61,39), mode="Single", method="Default", keyword="位置", name="st_sort_location")
|
|
|
|
|
+
|
|
|
|
|
|