Skip to content

Commit

Permalink
Upd: Assignments (Shadow of the Ranger)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zebartin committed Nov 15, 2024
1 parent 8a571f7 commit 3bd9262
Show file tree
Hide file tree
Showing 9 changed files with 244 additions and 230 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions tasks/assignment/assets/assets_assignment_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,40 @@
button=(605, 564, 886, 589),
),
)
SHADOW_OF_THE_RANGER_CHECK = ButtonWrapper(
name='SHADOW_OF_THE_RANGER_CHECK',
cn=Button(
file='./assets/cn/assignment/ui/SHADOW_OF_THE_RANGER_CHECK.png',
area=(161, 100, 232, 117),
search=(141, 80, 252, 137),
color=(171, 166, 151),
button=(161, 100, 232, 117),
),
en=Button(
file='./assets/en/assignment/ui/SHADOW_OF_THE_RANGER_CHECK.png',
area=(165, 95, 197, 126),
search=(145, 75, 217, 146),
color=(187, 182, 166),
button=(165, 95, 197, 126),
),
)
SHADOW_OF_THE_RANGER_CLICK = ButtonWrapper(
name='SHADOW_OF_THE_RANGER_CLICK',
cn=Button(
file='./assets/cn/assignment/ui/SHADOW_OF_THE_RANGER_CLICK.png',
area=(161, 100, 232, 117),
search=(141, 80, 252, 137),
color=(88, 87, 86),
button=(161, 100, 232, 117),
),
en=Button(
file='./assets/en/assignment/ui/SHADOW_OF_THE_RANGER_CLICK.png',
area=(165, 95, 197, 126),
search=(145, 75, 217, 146),
color=(80, 79, 77),
button=(165, 95, 197, 126),
),
)
SPACE_STATION_TASK_FORCE_CHECK = ButtonWrapper(
name='SPACE_STATION_TASK_FORCE_CHECK',
cn=Button(
Expand Down
30 changes: 3 additions & 27 deletions tasks/assignment/keywords/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import tasks.assignment.keywords.event_group as KEYWORDS_ASSIGNMENT_EVENT_GROUP
from tasks.assignment.keywords.classes import *

CURRENT_EVENT_GROUP = KEYWORDS_ASSIGNMENT_EVENT_GROUP.Shadow_of_the_Ranger
KEYWORDS_ASSIGNMENT_GROUP.Character_Materials.entries = (
KEYWORDS_ASSIGNMENT_ENTRY.Nine_Billion_Names,
KEYWORDS_ASSIGNMENT_ENTRY.Destruction_of_the_Destroyer,
Expand All @@ -30,37 +31,12 @@
KEYWORDS_ASSIGNMENT_ENTRY.Fragments_of_Illusory_Dreams,
KEYWORDS_ASSIGNMENT_ENTRY.Scalpel_and_Screwdriver,
)
KEYWORDS_ASSIGNMENT_EVENT_GROUP.All_About_Boothill.entries = (
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Activate_Genetic_Samples,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Reproduce_Experimental_Data,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Burned_Warehouse,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Car_Thief,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Synesthesia_Beacon_Function_Iteration,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Hunters_Wanted_No_Newbies_Please,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Peaceful_Life_for_Good_People,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Closed_Beta_Test_Recruitment,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Protect_Digital_Exhibits,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Final_Survivor,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Water_Pollution_Control,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Hook_Line_and_Sinker,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Investigation_Order_Boothill,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Volunteers_Wanted,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Burn_Treatment,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.I_Want_to_Speak_to_Your_Manager,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Licensed_Product_Damage_Assessment,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Annoying_Flies,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Urgent_Protection_Services,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.A_Dream_Is_Born,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Wanted_Boothill,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Casual_Cowboy,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Dangerous_Journey,
KEYWORDS_ASSIGNMENT_EVENT_ENTRY.Crossing_the_Fire_Line,
)
CURRENT_EVENT_GROUP.entries = tuple(AssignmentEventEntry.instances.values())
for group in (
KEYWORDS_ASSIGNMENT_GROUP.Character_Materials,
KEYWORDS_ASSIGNMENT_GROUP.EXP_Materials_Credits,
KEYWORDS_ASSIGNMENT_GROUP.Synthesis_Materials,
KEYWORDS_ASSIGNMENT_EVENT_GROUP.All_About_Boothill,
CURRENT_EVENT_GROUP,
):
for entry in group.entries:
assert entry.group is None
Expand Down
Loading

0 comments on commit 3bd9262

Please sign in to comment.