Skip to content

Commit

Permalink
Add Saturn colors and mechanics, add new challenges (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
pamymaf authored Jan 16, 2025
1 parent c876290 commit ee924fd
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions worlds/keymasters_keep/games/oldtv_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,35 @@ def game_objective_templates(self) -> List[GameObjectiveTemplate]:
is_difficult=True,
weight=1,
),
GameObjectiveTemplate(
label="Lose to MECHANIC D10 time(s) in Saturn",
data={
"MECHANIC": (self.saturn_mechanics, 1),
"D10": (self.d10_range, 1),
},
is_time_consuming=True,
is_difficult=False,
weight=2,
),
GameObjectiveTemplate(
label="Encounter a COLOR-colored OTHER in Saturn",
data={
"COLOR": (self.saturn_colors, 1),
"OTHER": (self.saturn_colors, 1),
},
is_time_consuming=True,
is_difficult=False,
weight=2,
),
GameObjectiveTemplate(
label="Reach channel D10 with a language you do not know",
data={
"D10": (self.d10_range, 1),
},
is_time_consuming=False,
is_difficult=True,
weight=2,
),
]

@staticmethod
Expand All @@ -109,6 +138,19 @@ def colors() -> List[str]:
"Purple",
]

@staticmethod
def saturn_colors() -> List[str]:
return [
"Cyan",
"Blue",
"Green",
"Red",
"Yellow",
"Purple",
"Pink",
"Orange,"
]

@staticmethod
def mechanics() -> List[str]:
return [
Expand All @@ -117,6 +159,19 @@ def mechanics() -> List[str]:
"Reversed Controls",
"Lost Connection",
"Upside Down",
"Scrambled",
]

@staticmethod
def saturn_mechanics() -> List[str]:
return [
"Colored Background",
"Don't Switch",
"Reversed Controls",
"Lost Connection",
"Upside Down",
"Scrambled",
"Equals",
]

@staticmethod
Expand Down

0 comments on commit ee924fd

Please sign in to comment.