Skip to content

Reusable economy patterns for Godot covering wallets, shops, dynamic pricing, loot tables, and balance controls.

CCM score
46 of 100
skills.sh installs
553
GitHub stars
1K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers multi-currency wallets, buy/sell shop stock, supply-driven pricing, weighted loot tiers, and inflation control with currency sinks
  • Includes scripts for wallet and transaction managers, weighted loot tables, shop logic, dynamic price modifiers, persistence, and GPM logging
  • Enforces integer smallest-unit currency math, server-authoritative spends, buy/sell spreads, and clamped caps to prevent overflow and negative wallets
  • Designed for Godot RPGs, trading games, and resource management projects that need a golden-path wallet and transaction pipeline first

Install

$ npx -y skills add thedivergentai/game-dev-agentic-skills --skill godot-economy-system -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Decision Tree: Currency Representation

Economy typeStore asWhy
Soft currency (gold, scrap) with UI decimalsint cents / smallest unitExact math; display value / 100.0
Premium / idle quantities >> 2^31BigInt / multi-limb int (or carefully scaled float only if approx OK)32-bit int caps ~2.1B
Multiplayer / persistent walletAuthoritative int (or BigInt) on serverClient never finalizes spends
Prices with fractional display onlyStill int smallest unitAvoid 0.1 + 0.2 float drift

NEVER mix "use float for money" and "never use float for money" without this tree — pick one column and stick to it.

NEVER Do in Economy Systems

Details

Repository
github.com/thedivergentai/game-dev-agentic-skills
Categories
Game Development, Finance & Trading
First seen
Jun 3, 2026

Questions

What does the godot-economy-system skill do?

godot-economy-system gives Godot 4 projects patterns for currency management with multi-currency wallets, shop systems with buy and sell prices and stock limits, dynamic pricing based on supply and demand, weighted loot tables with rarity tiers, and economic balance through inflation control and currency sinks. It suits RPGs, trading games, and resource management games.

Which games is godot-economy-system built for?

godot-economy-system is aimed at RPGs, trading games, and resource management systems built in Godot. Its trigger keywords include EconomyManager, currency, shop_item, loot_table, dynamic_pricing, and item_rarity, so an agent loads it when a task involves those topics.

How do I install the godot-economy-system skill?

Run npx -y skills add thedivergentai/game-dev-agentic-skills --skill godot-economy-system -y inside your project. Once installed, the agent can build a wallet manager singleton and a validated transaction pipeline for your Godot economy.

Why does godot-economy-system store currency as integers?

godot-economy-system recommends storing soft currency as int in the smallest unit, such as cents, so money math stays exact and avoids float drift. Its decision tree also covers premium currency beyond 32-bit limits and authoritative server wallets for multiplayer.

More from thedivergentai/game-dev-agentic-skills

All 49

Similar to Godot Economy System

More Game Development