Skip to content

Implement crystal entry fee in StartTowerDefenseMenu #102

Description

@mihaid11

Currently, entering a Tower Defense level does not consume any upfront crystals from the player's permanent balance. To implement the "Expedition/Entry Fee" mechanic, the game should deduct a fixed amount of Crystals when the player clicks the "Start" button for a level.

In StartTowerDefenseMenu, we need to check if the player has enough global crystals to cover the entry fee before allowing them to start the level. If they do, deduct the fee from their balance and proceed; otherwise, block the entry and show a fading error message. For now, bind it to the level number (level * 20).

Priority: Low

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions