Skip to content

Implement resource requirements for tower blueprint crafting #104

Description

@mihaid11

Currently, the AnalyzeMenu unlocks a tower simply by placing a TowerBlueprint into the slot. To add depth to the game, unlocking a tower should require actual materials gathered from the world (e.g., Wood, Stone) in addition to the blueprint.

  1. Define a material cost for unlocking
  2. Before unlocking the tower in the AnalyzeMenu, check if the player's Inventory contains the required materials.
  3. If successful, deduct the blueprint and the required materials from the inventory, then start the unlocking phase.

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