treasure

Automate treasure chest placement, management, and loot generation in game worlds.

1|Updated Jun 6, 2026
One-click install
npx skills add https://github.com/diadia0000/ForWanna --skill treasure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: treasure
Source: https://github.com/diadia0000/ForWanna/tree/main/.codex/skills/treasure
Command: npx skills add https://github.com/diadia0000/ForWanna --skill treasure

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pixi.js, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation and management of treasure chests within game environments, reducing manual effort and improving efficiency.

Core Features & Use Cases

  • Automated Treasure Chest Generation: Spawns treasure chests based on a seeded placement algorithm and island-based distribution.
  • Chest Lifecycle Management: Handles the lifecycle of treasure chests, including spawning, opening, and destroying.
  • Collision Detection: Prevents the overlap of chests and resource nodes during placement.
  • Snapshot Sync: Ensures that chest data is synchronized across clients for multiplayer experiences.
  • Use Case: In a multiplayer game, this Skill can automatically place chests around the world, each containing different loot based on rarity and difficulty levels.

Quick Start

Generate all treasure chests for the new island 'island_3_2'.

Frequently Asked Questions about treasure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate treasure chest generation in a multiplayer game?

Treasure chest generation is automated using a seeded placement algorithm to handle spawning, collision detection, and loot table creation based on rarity, while snapshot sync ensures chest data is synchronized across multiplayer clients.

Does this treasure chest management system require PixiJS for sprite handling?

Yes, PixiJS is required for sprite handling. The system relies on PixiJS to manage the visual rendering of treasure chests within the game environment, alongside the core chest configuration for loot generation.

How does collision detection work for treasure chest placement?

Collision detection prevents the overlap of treasure chests and resource nodes during placement. This ensures chests are distributed safely across the game world without intersecting existing objects.

Can I generate loot tables based on rarity and world seed for treasure chests?

Yes, loot tables are generated based on rarity and world seed. This allows treasure chests to contain different loot dynamically adjusted by difficulty levels and the specific generation seed of the game world.

What is the best way to manage the lifecycle of treasure chests in game development?

The best way to manage the treasure chest lifecycle is through automated spawning, opening, and destroying mechanisms. This handles chest states dynamically and synchronizes the data across multiplayer clients via snapshot sync.

How is chest data synchronized across clients for multiplayer experiences?

Chest data is synchronized across clients using snapshot sync. This ensures that all players in the multiplayer environment see consistent chest states, loot contents, and interactions in real-time.