treasure-spawner

Automate treasure chest placement and management in video games with PixiJS.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the placement and management of treasure chests in video games, saving developers time and effort in game design and setup.

Core Features & Use Cases

  • Automated Placement: Place treasure chests across islands based on a seeded algorithm.
  • Chest Lifecycle: Handle chest opening, collision detection, and entity removal.
  • Use Case: Use this Skill in a game to automatically generate and manage treasure chests that players can open for rewards, reducing the manual labor involved in creating game assets.

Quick Start

Instantiate a new TreasureSpawner object and set the required callbacks to automate the chest placement process in your game.

Frequently Asked Questions about treasure-spawner

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

FAQPage Schema
How do I automate treasure chest placement in a PixiJS game?

Automate treasure chest placement by instantiating a TreasureSpawner object with PixiJS container management. It uses a seeded algorithm to generate chests across islands and requires a land checker function to validate placement logic.

How does collision detection work for game entities like treasure chests?

Collision detection for treasure chests is handled through the chest lifecycle management system. The TreasureSpawner processes chest opening, collision detection, and entity removal automatically within your PixiJS game container.

Do I need a land checker function to place treasure chests on islands?

Yes, a land checker function is required to ensure chest placement logic is correctly implemented. The TreasureSpawner relies on this callback to validate that generated treasure chests are positioned on valid island terrain.

Can I manage the entire treasure chest lifecycle including opening and removal?

Manage the full treasure chest lifecycle by setting the required callbacks on the TreasureSpawner object. It handles automated chest generation, player collision detection, chest opening interactions, and subsequent entity removal.

What is the best way to generate game assets like treasure chests across islands?

The best way to generate treasure chests across islands is using a seeded algorithm for automated placement. The TreasureSpawner handles this generation process, reducing manual labor involved in creating game assets and setting up rewards.

Why use a seeded algorithm for treasure chest placement in game development?

A seeded algorithm ensures consistent treasure chest placement across game sessions. This allows deterministic generation of chests on islands, making the game assets reproducible while automating the placement management workflow.