
Godot Economy System
This handles the full stack of game economy patterns: multi-currency wallets, shop systems with buy/sell spreads, dynamic pricing based on demand, weighted loot tables, and currency sinks to prevent inflation. It includes ten ready-to-use scripts covering everything from secure transaction processing through the WalletManager singleton to UI sync components and persistence handlers. The "NEVER" section is genuinely useful, calling out common pitfalls like client-side validation in multiplayer, integer overflow for premium currencies, and floating point precision errors. Best for RPGs or trading games where you need the economic simulation to feel balanced and exploit-proof without reinventing the wheel.
- skills.sh installs
- 271
- GitHub stars
- 464
- last updated
- Aug 21, 2026
Install
$ npx -y skills add thedivergentai/gd-agentic-skills --skill godot-economy-system --agent claude-codeInstalls into .claude/skills of the current project.
Files
Decision Tree: Currency Representation
| Economy type | Store as | Why |
|---|---|---|
| Soft currency (gold, scrap) with UI decimals | int cents / smallest unit | Exact math; display value / 100.0 |
| Premium / idle quantities >> 2^31 | BigInt / multi-limb int (or carefully scaled float only if approx OK) | 32-bit int caps ~2.1B |
| Multiplayer / persistent wallet | Authoritative int (or BigInt) on server | Client never finalizes spends |
| Prices with fractional display only | Still int smallest unit | Avoid 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
Sponsors
Details
- Repository
- github.com/thedivergentai/gd-agentic-skills
- Categories
- AI & Agent Building, Finance & Trading, Game Development, Web3 & Blockchain
- First seen
- Jun 3, 2026
More from thedivergentai/gd-agentic-skills
All 51- Godot Autoload Architecture268
- Godot 3d Lighting266
- Godot 3d Materials260
- Godot Animation Tree Mastery260
- Godot Tweening256
- Godot Physics 3d255
- Godot Ability System253
- Godot Performance Optimization253
- Godot Ui Rich Text251
- Godot Platform Mobile248
- Godot Export Builds246
- Godot Navigation Pathfinding245
- Godot Multiplayer Networking243
- Godot Debugging Profiling242
- Godot Inventory System242
- Godot Genre Card Game241
- Godot Platform Desktop234
- Godot Project Templates232
- Godot Adapt Desktop To Mobile220
- Godot Genre Action Rpg218
- Godot Mcp Scene Builder134
- Godot Mcp Setup126
- Godot Master2.7K
- Godot Shaders Basics488