Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- ui/renderers.py +3 -2
ui/renderers.py
CHANGED
|
@@ -441,8 +441,9 @@ def dex_markdown(collection: "CollectionState | None") -> str:
|
|
| 441 |
for entry in current_collection:
|
| 442 |
poison_flag = " ☠️" if entry.get("poison") == "Yes" else ""
|
| 443 |
rows.append(
|
| 444 |
-
f"* 🍄 **{entry
|
| 445 |
-
f"{entry
|
|
|
|
| 446 |
)
|
| 447 |
return "\n".join(rows)
|
| 448 |
|
|
|
|
| 441 |
for entry in current_collection:
|
| 442 |
poison_flag = " ☠️" if entry.get("poison") == "Yes" else ""
|
| 443 |
rows.append(
|
| 444 |
+
f"* 🍄 **{entry.get('name','Unknown Mushroom')}**{poison_flag} — "
|
| 445 |
+
f"{entry.get('rarity','Unknown')} — "
|
| 446 |
+
f"{entry.get('habitat','Unknown habitat')} — clue: {entry.get('clue','not studied yet')}"
|
| 447 |
)
|
| 448 |
return "\n".join(rows)
|
| 449 |
|