Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- ui/renderers.py +13 -0
ui/renderers.py
CHANGED
|
@@ -435,3 +435,16 @@ def _mystery_goal_line(active_mystery, count: int) -> str:
|
|
| 435 |
return "**Mystery:** Every known clue is awake. Keep exploring for rare surprises."
|
| 436 |
remaining = active_mystery.required_discoveries - count
|
| 437 |
return f"**Mystery:** {remaining} clue discoveries until **{active_mystery.name}** — {active_mystery.clue}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 435 |
return "**Mystery:** Every known clue is awake. Keep exploring for rare surprises."
|
| 436 |
remaining = active_mystery.required_discoveries - count
|
| 437 |
return f"**Mystery:** {remaining} clue discoveries until **{active_mystery.name}** — {active_mystery.clue}"
|
| 438 |
+
|
| 439 |
+
|
| 440 |
+
def game_intro_markdown() -> str:
|
| 441 |
+
"""Render the introductory text at the top of the Play tab."""
|
| 442 |
+
return """
|
| 443 |
+
<div style="text-align: center; margin-bottom: 1rem;">
|
| 444 |
+
<h3>🌲 The Deep Forest</h3>
|
| 445 |
+
<p style="color: #666; font-size: 0.9em;">
|
| 446 |
+
You step into the glowing undergrowth. Myco hops off your shoulder, its cap faintly pulsing.
|
| 447 |
+
Use the controls below to navigate the clearings and search for clues.
|
| 448 |
+
</p>
|
| 449 |
+
</div>
|
| 450 |
+
"""
|