Skip to content

feat: feat/add-random-loot-chest-and-remove-ground-weapons-in-citizen-of-arcanis #109

@KevinMB0220

Description

@KevinMB0220

➡️ Title

feat/add-random-loot-chest-and-remove-ground-weapons-in-citizen-of-arcanis


📘 Description

Implement a random loot chest system in Citizen Of Arcanis that spawns directly for the player, providing randomized weapons or items.
Additionally, remove all existing weapons that currently spawn or remain scattered on the ground to centralize loot acquisition through the chest system.


✅ Acceptance Criteria

  • Add a loot chest system that:
    • Spawns a chest near or for the player at defined intervals or locations.
    • Contains randomized loot (weapons or items) based on a configurable loot table.
    • Grants the player the loot immediately after opening.
  • Remove all weapons currently spawning or remaining on the ground:
    • Disable weapon pickups from the floor.
    • Ensure weapons can only be obtained from the chest.
  • Test to confirm the chest appears correctly and provides valid items every time.
  • Ensure no leftover ground weapons remain in any map or duel scenario.

⚠ Technical Notes

  • Create or extend a loot table system for random item generation, using rarity or weighted probabilities.
  • Integrate chest interaction with the player’s existing inventory system.
  • Clean up any existing spawn logic for floor weapons to avoid conflicts with the new chest system.
  • Ensure this change does not break combat flow or weapon usage once obtained.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions