Upd: CLICK_ELATION (#252)

This commit is contained in:
LmeSzinc 2023-12-30 23:22:42 +08:00
parent bf01958a7d
commit 23f9cb7d52
5 changed files with 23 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -135,13 +135,22 @@ CLICK_DESTRUCTION = ButtonWrapper(
)
CLICK_ELATION = ButtonWrapper(
name='CLICK_ELATION',
share=Button(
file='./assets/share/rogue/path/CLICK_ELATION.png',
area=(1185, 354, 1215, 404),
search=(1165, 334, 1235, 424),
color=(39, 40, 46),
button=(1185, 354, 1215, 404),
),
share=[
Button(
file='./assets/share/rogue/path/CLICK_ELATION.png',
area=(1195, 334, 1215, 414),
search=(1175, 314, 1235, 434),
color=(41, 40, 43),
button=(1195, 334, 1215, 414),
),
Button(
file='./assets/share/rogue/path/CLICK_ELATION.2.png',
area=(1127, 347, 1177, 397),
search=(1107, 327, 1197, 417),
color=(69, 69, 72),
button=(1127, 347, 1177, 397),
),
],
)
CLICK_NIHILITY = ButtonWrapper(
name='CLICK_NIHILITY',
@ -167,10 +176,10 @@ CLICK_REMEMBRANCE = ButtonWrapper(
name='CLICK_REMEMBRANCE',
share=Button(
file='./assets/share/rogue/path/CLICK_REMEMBRANCE.png',
area=(231, 305, 263, 344),
search=(211, 285, 283, 364),
color=(131, 110, 77),
button=(231, 305, 263, 344),
area=(199, 364, 249, 414),
search=(179, 344, 269, 434),
color=(55, 57, 63),
button=(199, 364, 249, 414),
),
)
CLICK_THE_HUNT = ButtonWrapper(

View File

@ -40,6 +40,9 @@ class RoguePathHandler(RogueUI):
KEYWORDS_ROGUE_PATH.Elation: CHECK_ELATION,
KEYWORDS_ROGUE_PATH.Propagation: CHECK_PROPAGATION
}
# 2023.12.28 Buttons moved up
for b in buttons.values():
b.load_search(area_pad_around(b.area, pad=(-20, -50, -20, 0)))
return buttons
@cached_property