sigma_data
All of **Sigma Boy RPG**'s static content in one place: zones, the foe roster, skills, items, gear, dialogue checks, telegraph text, and the level curve. Pure data plus the few pure functions that read it — no engine state, no entities, no side effects.
sigma_data
All of Sigma Boy RPG's static content in one place: zones, the foe roster, skills, items, gear, dialogue checks, telegraph text, and the level curve. Pure data plus the few pure functions that read it — no engine state, no entities, no side effects.
local Data = require("sigma_data")
Data.zones -- five zones, laid out along +X
Data.foes.sigmund -- the final boss's stat block
Data.skillById.rizz -- one skill
Layout
| Table | Holds |
|---|---|
palette / paletteCB | Saturated tints, plus colourblind-safe alternates for the gain/loss channels. |
skills / skillById | The five AURA skills with cost, kind, and unlock level. |
items / itemById | Shop stock. |
gear / gearById / gearSlots | Three slots, flat stat mods, all boss drops. |
foes | Stat block, ai behaviour key, mesh + tint, drop, lore, and counter hint. |
telegraph | Move id → the line shown over a foe's head. |
zones / zoneById / zoneByPeriod | Room size, floor and wall tints, props, foe placements, NPCs, and the period clock. |
dialogue | Overworld checks: one correct reply, plus the cringe penalty and forced battle for a wrong one. |
Functions
xpForLevel(level)— cumulative XP to reach a level. Tuned so a run that clears every zone reaches Principal Sigmund at level 7, which is where the last skill (Grindset) unlocks.levelForXp(xp)— the inverse.unlockedSkills(level)— skill ids available at a level, in menu order.playerStats(level, equipped)—maxAura/atk/def/spdwith gear modifiers folded in.
Adding a foe
Add an entry to foes with an ai key, then place it in a zone's
foes list. The ai value selects a branch in SigmaBoyRPG's
setQueue (which move it telegraphs) and foeAct (what that move does)
— both must learn the new key, and every move id it can queue needs a
line in telegraph.
Scoped to this part · feeds back into the world's score.