Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- game/engine.py +9 -9
game/engine.py
CHANGED
|
@@ -540,21 +540,21 @@ def discover_mushroom(catalog):
|
|
| 540 |
|
| 541 |
# We fill EVERY possible key that dex_markdown or status bars might read
|
| 542 |
active_mushrooms.append({
|
| 543 |
-
"name":
|
| 544 |
-
"rarity":
|
| 545 |
-
"habitat":
|
| 546 |
-
"lore":
|
| 547 |
-
"edible":
|
| 548 |
-
"magic":
|
| 549 |
-
"danger":
|
| 550 |
-
"poison": "Yes" if
|
| 551 |
"mush_x": mush_x,
|
| 552 |
"mush_y": mush_y,
|
| 553 |
"picked": "No",
|
| 554 |
"clue": "Harvested instantly!",
|
| 555 |
"studied": "No"
|
| 556 |
})
|
| 557 |
-
|
| 558 |
# Build a current state dictionary packed with fallback HUD variables
|
| 559 |
current = {
|
| 560 |
"name": "Mushroom Patch",
|
|
|
|
| 540 |
|
| 541 |
# We fill EVERY possible key that dex_markdown or status bars might read
|
| 542 |
active_mushrooms.append({
|
| 543 |
+
"name": name,
|
| 544 |
+
"rarity": field(mushroom, "rarity", "Common"),
|
| 545 |
+
"habitat": field(mushroom, "habitat", "Glow Undergrowth"),
|
| 546 |
+
"lore": field(mushroom, "lore", "A rapid micro-sprout spawned during a bloom."),
|
| 547 |
+
"edible": field(mushroom, "edible", "Unknown"),
|
| 548 |
+
"magic": field(mushroom, "magic", "Unknown"),
|
| 549 |
+
"danger": field(mushroom, "danger", "Unknown"),
|
| 550 |
+
"poison": "Yes" if name in POISONOUS_MUSHROOM_NAMES else "No",
|
| 551 |
"mush_x": mush_x,
|
| 552 |
"mush_y": mush_y,
|
| 553 |
"picked": "No",
|
| 554 |
"clue": "Harvested instantly!",
|
| 555 |
"studied": "No"
|
| 556 |
})
|
| 557 |
+
|
| 558 |
# Build a current state dictionary packed with fallback HUD variables
|
| 559 |
current = {
|
| 560 |
"name": "Mushroom Patch",
|