ZionGames Docs

Home / Zion Modules / Zion Stats

🧩 Zion Stats

Health, Stamina, Mana & XP Module for ZionTPS

Zion Stats — ZionTPS Integration

Zion Stats is designed as a companion module for ZionTPS. It installs on the ZionTPS player and uses the player service registry so HUDs and gameplay code can access stats without tightly coupling themselves to the installer component.

Locomotion Integration

  • Sprinting drains Stamina.
  • Jumping can require enough Stamina to pay the configured cost.
  • Rolling can require enough Stamina to pay the configured cost.
  • Exhaustion can disable sprinting until stamina recovers.

Player Setup

The player must be present in the scene before running the Setup Wizard. The wizard validates the player, installs the Stats module, applies the selected configuration and can generate a HUD.

Runtime Events

Zion Stats exposes stat-change events so UI and gameplay systems can react to Health, Stamina, Mana or XP changes. Typical uses include HUD updates, sound, VFX, action gating, abilities and reward systems.

Scope

Zion Stats is a focused player-stats module. It is not a complete quest, inventory, combat, dialogue, skills-tree or level-up framework. It provides a clean stat foundation that those systems can build on.