← Back to Assets

LF Attribute Forge

Eliminate RPG Boilerplate. Generate Complete Attribute Systems in Minutes.

Free Version Pro Version Ultimate (Coming Soon)

Stop Writing Boilerplate. Start Building Games.

The Problem

Every RPG, strategy game, or stat-based system needs the same foundation: attributes like Health, Mana, Strength, and their interactions. Building this manually means:

  • Writing hundreds of lines of repetitive getter/setter code
  • Implementing regeneration logic from scratch
  • Creating event systems for UI updates
  • Building validation and clamping
  • Hours of tedious boilerplate work before actual gameplay

The Solution

LF Attribute Forge is a Unity editor wizard that generates complete, production-ready attribute systems through visual configuration. No manual coding required.

A 4-step wizard creates type-safe enums, runtime components, ScriptableObjects, and demo managers automatically. The generated code is yours to own, modify, and extend.

Choose Your Version

Free Version

$0

Complete Attribute Generation

  • 4-step attribute wizard
  • Code generation (enum, component, ScriptableObject)
  • Auto-regeneration system
  • Event system
  • 4 behavior types (Basic, Vital, Resource, Percentage)
  • JSON import/export
  • Demo manager
  • Full documentation

Best For: Games needing Health, Mana, Stats, and basic progression

Learn More

Pro Version

$19.99

Everything in Free PLUS:

  • Visual formula editor
  • 7-step mathematical pipeline
  • Attribute relationships (STR → Damage)
  • Breakpoint system
  • Scaling formulas (Health = Vigor × 26.8 + 400)
  • Zero GC allocation
  • Runtime testing panel
  • Prevents circular dependencies

Best For: RPGs with complex stat scaling and attribute interactions

Learn More

Ultimate Version

$39.99

Pending Asset Store Verification

Everything in Pro PLUS:

  • Complete modifier/buff/debuff framework
  • 3 implementation approaches (Component/Helper/Asset)
  • Complex condition logic (AND/OR/NOT)
  • Duration & stacking system
  • Regeneration control
  • Priority management
  • Soulslike demo (16 attributes, 30+ modifiers)

Best For: RPGs with complex buff/debuff mechanics and status effects

Learn More

Why LF Attribute Forge?

Generate, Don't Package

Unlike pre-built frameworks, LF Attribute Forge generates clean, readable C# code that becomes part of YOUR project. You own it, modify it, and understand exactly how it works.

Three-Tier Architecture

Industry-standard pattern prevents circular dependencies: totalValue = baseValue + formulaBonus + modifierBonus. Clean separation means no feedback loops.

Performance First

Zero GC allocation during runtime. Cached lookups, dirty checking, efficient memory usage. Built for production games, not prototypes.

Visual Workflows

Wizard-based configuration means designers and programmers can both contribute. No coding required for basic setup.

Production Ready

Comprehensive validation, error handling, event systems, and JSON import/export. Ship commercial games with confidence.

Fully Documented

10+ HTML documentation files, API references, troubleshooting guides, and complete working examples included.

Perfect For

RPGs

Action RPGs, turn-based RPGs, MMORPGs - any game with character stats and progression.

Strategy Games

Unit stats, resource management, building upgrades, tech trees.

Roguelikes

Procedural stat generation, run-based progression, meta-upgrades.

Action Games

Character progression, skill trees, equipment systems.

Mobile Games

Idle games, clickers, gacha progression, level-up systems.

Educational Projects

Learn industry-standard RPG architecture and design patterns.

Technical Architecture

Three-Tier Value System

The core architectural principle that prevents circular dependencies:

totalValue = baseValue + formulaBonus + modifierBonus

Where:
• baseValue    - Manually set (equipment, upgrades) [Base System]
• formulaBonus - Calculated by formulas (STR × 2) [Pro System]
• modifierBonus - Temporary effects (buffs/debuffs) [Ultimate System]

Why this matters: Each tier reads from and writes to specific fields, breaking dependency chains. Strength can affect Damage without creating infinite loops.

Code Generation Pipeline

The wizard generates four core components:

  • Type-Safe Enum: Strongly-typed attribute identifiers for IntelliSense support
  • Runtime Component: MonoBehaviour with regeneration coroutines and event management
  • ScriptableObject: Data-driven attribute definitions and configurations
  • Demo Manager: Testing component with UI integration examples

Performance Characteristics

  • Zero GC allocation during normal attribute operations
  • O(1) cached lookups - constant-time attribute access
  • Smart dependency tracking - only recalculates when sources change
  • Memory footprint: ~50KB base system, ~30KB per formula set, ~20KB per modifier group

Ready to Eliminate Boilerplate?

Start with the free version or jump straight to Pro/Ultimate for advanced features.

Explore Free Version Explore Pro Version Explore Ultimate Version