Skip to content

Commit

Permalink
add unreal tournament: game of the year edition
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrochu committed Jan 15, 2025
1 parent 99345de commit d3046ec
Show file tree
Hide file tree
Showing 2 changed files with 429 additions and 4 deletions.
10 changes: 6 additions & 4 deletions worlds/keymasters_keep/client_gui/client_gui_layouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
from kivy.uix.label import Label
from kivy.uix.scrollview import ScrollView

from kivy.utils import escape_markup

from ..client import KeymastersKeepContext
from ..data.location_data import KeymastersKeepLocationData, location_data

Expand Down Expand Up @@ -694,7 +696,7 @@ def __init__(
trial_objective: str = self.ctx.area_trial_game_objectives[self.trial.name]

trial_label: TrialLabel = TrialLabel(
text=f"[b]{self.trial.name}[/b]\n[color=bbbbbb]{trial_objective}[/color]",
text=f"[b]{self.trial.name}[/b]\n[color=bbbbbb]{escape_markup(trial_objective)}[/color]",
markup=True,
size_hint_y=None,
height="40dp",
Expand Down Expand Up @@ -829,7 +831,7 @@ def __init__(self, ctx: KeymastersKeepContext) -> None:
trial_objective: str = self.ctx.goal_trial_game_objective

trial_label: TrialLabel = TrialLabel(
text=f"[b]{trial_name}[/b]\n[color=bbbbbb]{trial_objective}[/color]",
text=f"[b]{trial_name}[/b]\n[color=bbbbbb]{escape_markup(trial_objective)}[/color]",
markup=True,
size_hint_y=None,
height="40dp",
Expand Down Expand Up @@ -1079,7 +1081,7 @@ def __init__(self, ctx: KeymastersKeepContext) -> None:
trial_objective: str = self.ctx.goal_trial_game_objective

trial_label: TrialLabel = TrialLabel(
text=f"[b]{trial_name}[/b]\n[color=bbbbbb]{trial_objective}[/color]",
text=f"[b]{trial_name}[/b]\n[color=bbbbbb]{escape_markup(trial_objective)}[/color]",
markup=True,
size_hint_y=None,
height="40dp",
Expand Down Expand Up @@ -1124,7 +1126,7 @@ def __init__(
trial_objective: str = self.ctx.area_trial_game_objectives[self.trial.name]

trial_label: TrialLabel = TrialLabel(
text=f"[b]{self.trial.name}[/b]\n[color=bbbbbb]{trial_objective}[/color]",
text=f"[b]{self.trial.name}[/b]\n[color=bbbbbb]{escape_markup(trial_objective)}[/color]",
markup=True,
size_hint_y=None,
height="40dp",
Expand Down
Loading

0 comments on commit d3046ec

Please sign in to comment.