game__building-loot-systems

Design end-to-end loot systems for JavaScript 2D games.

1|1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/erikhazzard/vasir --skill game-building-loot-systems
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: game__building-loot-systems
Source: https://github.com/erikhazzard/vasir/tree/main/.agents/skills/game__building-loot-systems
Command: npx skills add https://github.com/erikhazzard/vasir --skill game-building-loot-systems

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designers and engineers face the challenge of building scalable, balanced loot systems that seamlessly connect core gameplay loops to rewards and economics.

Core Features & Use Cases

  • Two-phase design: tier selection followed by item generation to keep rewards varied and fair.
  • Procedural item generation: templates, stat rolling, affixes, and part-based assembly for diverse loot.
  • Pity and mercy mechanics: guaranteed rewards to avoid frustrating dry spells; economy-aware drop quantity and container rewards.
  • Reward presentation: fanfares, pickup physics, and UI integration to maximize dopamine without slowing gameplay.

Quick Start

Provide a starter loot design blueprint for a 2D game and generate the full drop table, item generation, and presentation flow.

Frequently Asked Questions about game__building-loot-systems

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

FAQPage Schema
How do I build a loot drop table system for a 2D JavaScript game?

Build a loot drop table system using a two-phase design: hierarchical tier selection with per-tier weighting, followed by procedural item generation. This approach ensures rewards remain varied and fair across kill-to-loot gameplay loops.

What is the best way to add pity and mercy mechanics to a game reward system?

Pity and mercy mechanics prevent frustrating dry spells by guaranteeing specific rewards after a set number of attempts. They integrate directly into drop table logic to balance drop quantity and container rewards for a fair player economy.

Can I use procedural item generation with stat rolling in Phaser?

Yes, procedural item generation works across Canvas, WebGL, Phaser, and custom engines. It uses deterministic templates, stat rolling, affixes, and part-based assembly to create diverse items within your existing 2D game framework.

How does reward presentation and fanfare work without slowing down gameplay?

Reward presentation pipelines use choreographed fanfares, pickup physics, and UI integration to maximize dopamine delivery. These presentation flows run alongside the core loop to provide immersive feedback without stalling real-time gameplay.

How do you tune rarity weighting in a procedural loot system?

Tune rarity weighting during the tier selection phase by adjusting per-tier weights in hierarchical drop tables. This two-phase design separates rarity determination from item generation, allowing precise control over reward distribution.

Do I need a custom engine to implement hierarchical drop tables?

No, hierarchical drop tables function across Canvas, WebGL, Phaser, and custom engines without requiring proprietary dependencies. The system provides standalone JavaScript logic for tier weighting and item generation that integrates into any 2D environment.