Skip to content

Reserved IDs List ​

This tool has 14 Reserved IDs that creators cannot delete or rename. They are "basic elements" that this tool must provide in order for RPGs to function, such as HP and DEAD. This chapter explains the role of each Reserved ID and the items that creators can change.

Principles of Reserved IDs

  • The ID itself cannot be renamed or deleted (the relevant item is disabled on the editor screen)
  • Some properties are fixed and are forcibly returned to standard values at runtime
  • Remaining properties (such as name, icon, effect formulas) can be freely changed by creators

What happens if I directly edit the JSON and delete a Reserved ID?

Even if you directly delete the entry for a Reserved ID from a JSON file, the runtime automatically restores standard values at game startup (warning log appears). It becomes a behavior where "it's touched but still works", producing an uncomfortable sensation. Not recommended.

Overview of Reserved IDs ​

CategoryReserved IDRoleReference
ParameterHPHit PointsHP
EXPExperience PointsEXP
LEVELLevelLEVEL
StateDEADDead stateDEAD
ESCAPEEscape state (enemy-only)ESCAPE
Item TypeBASIC_ACTIONClassification for basic battle actionsBASIC_ACTION
ITEMUsable item classificationITEM
Attach TypePASSIVEPassive skill classificationPASSIVE
ItemBA_ATTACK"Attack" normal attackBA_ATTACK
BA_ESCAPEEnemy escape action (enemy-only)BA_ESCAPE
BA_ITEM"Item" button display controlBA_ITEM
EffectATTACKAttack effectATTACK
ESCAPEEscape effectESCAPE-effect
DISAPPEARDisappearance effectDISAPPEAR

HP ​

Purpose: Character's physical strength. When it reaches 0, the DEAD State is automatically applied and the character becomes unable to act.

Fixed properties (cannot be changed):

PropertyFixed ValueReason
Has current value (is_current)ONBecause the DEAD trigger fires when current value ≤ 0
For character (dis_char)ONAll characters must have HP

Items creators can change:

  • name (display name): "Vitality", "Life", "HP", etc.
  • priority (display order on status screen)
  • bar (gauge image key)
  • is_limit / limit (upper limit setting)

Related behaviors:

  • When HP ≤ 0, DEAD State is automatically applied
  • A DEAD character does not revive even when HP is added (removal of a revive State is required)

EXP ​

Purpose: Experience points. When reaching the required experience defined in a class, a LEVEL up automatically occurs.

Fixed properties:

PropertyFixed ValueReason
Has current value (is_current)OFFOnly the max side is referenced in the implementation
For character (dis_char)ONAll characters must have EXP

Items creators can change: Same as HP (name / priority / bar / is_limit)

Related behaviors:

  • When EXP is added, auto-level-up fires based on comparison with class.req_exp
  • EXP can also be added per step via a State like "Shoes of Happiness" (silent level-up)
  • EXP is not needed for enemy characters (not subject to editor protection)

LEVEL ​

Purpose: Character's level. On level up, various Parameters are increased by the class.add_param formula.

Fixed properties:

PropertyFixed ValueReason
Has current value (is_current)OFFOnly the max side is referenced
For character (dis_char)ONAll characters must have LEVEL

Items creators can change: Same as HP (name / priority / bar / is_limit)

Related behaviors:

  • Can be referenced in formulas as USER.LEVEL.MAX (e.g., HP = USER.LEVEL * 10 + 50)
  • Enemy LEVEL is a fixed value set freely by the creator (no auto-calculation)

DEAD ​

Purpose: Dead state. Automatically applied when HP falls to 0 or below. Characters with this State are unable to act, excluded from targeting, and visually represented in grayscale on screen etc.

Protection: Cannot be renamed or deleted

Items creators can change:

  • name (display name): "Incapacitated", "Ascended", "Fainted", etc.
  • icon (icon image path)
  • add_max_param / add_current_param (Parameter changes while dead)
  • disabled_item_types (item types unusable while dead)
  • is_battle_start / is_turn_start / is_turn_end / is_battle_end (State effect firing timing)
  • is_persist / turn_last (persistent turns)
  • constraint_type (constraint type)

Related behaviors:

  • Automatically applied when HP ≤ 0
  • is_alive_character() is false for a DEAD character
  • When an enemy becomes DEAD, the disappearance effect (DISAPPEAR or the battle_dead_effect setting) plays
  • When an ally becomes DEAD, they are grayscaled on screen

ESCAPE ​

Purpose: Escape state. Applied when an enemy succeeds in an escape check, and they withdraw from combat. Enemy-only (not applied to the ally party).

Protection: Cannot be renamed or deleted

Items creators can change: Same as DEAD (name / icon / various firing timings etc.)

Related behaviors:

  • Applied when the enemy's BA_ESCAPE item is used
  • is_alive_character() is false for an ESCAPE character (treated as "alive but excluded from targets")
  • Not applied to allies in implementation (guarded on the add_character_state() side)

BASIC_ACTION ​

Purpose: An itemtype that classifies basic battle actions. Attack (BA_ATTACK) / Escape (BA_ESCAPE) / Item (BA_ITEM) etc. belong to this.

Protection: Cannot be renamed or deleted

Items creators can change: name (display name), priority (display order in the type menu)

ITEM ​

Purpose: An itemtype that classifies items used during combat. Consumable items that are not skills or magic, such as healing potions or bombs, belong to this.

Protection: Cannot be renamed or deleted

Items creators can change: name (display name: "Tools", "Item", etc.), priority

PASSIVE ​

Purpose: An attachtype that classifies passive skills (constant effects that do not use equipment slots). Used for constant effects such as "Speed Up" or "Poison Immunity".

Protection: Cannot be renamed or deleted

Items creators can change: name ("Passive", "Trait", etc.)

Related behaviors:

  • Attaches of the PASSIVE type do not consume equipment slots
  • While owned, constant effects (add_max_param etc.) are applied

BA_ATTACK ​

Purpose: Battle's "Attack" normal attack item. The basic action that all characters own.

Protection: Cannot be renamed or deleted

Fixed properties (cannot be changed):

  • type = BASIC_ACTION
  • Equippable: OFF
  • target = Selected Opponent (select one enemy)
  • timing = Battle (only during battle)

Items creators can change:

  • name ("Attack", "Strike", "Slash", etc.)
  • icon
  • tgt_param (damage formula, e.g., "HP": {"value": "-max(USER.STR.MAX * 2 - TGT.DEF.MAX, 1)"})
  • effect (activation effect, such as ATTACK)
  • sound (sound on use)
  • Almost all other items

BA_ESCAPE ​

Purpose: An action item used when an enemy escapes. Specified in the enemy's pattern and used.

Protection: Cannot be renamed or deleted, excluded from add_item of characters and classes (does not appear in choices)

Fixed properties:

  • type = BASIC_ACTION
  • Equippable: OFF
  • target = User (self)
  • timing = Battle
  • effect = DISAPPEAR

Items creators can change: name ("Escape", "Retreat", etc.), damage formula, sound

Related behaviors:

  • Fires when specified in an enemy's AI pattern
  • On successful use, the ESCAPE State is automatically applied
  • Not displayed in the party's command menu ("Escape" is implemented separately via the player-facing Escape prompt)

BA_ITEM ​

Purpose: A special reserved item that controls whether the "Item" button is displayed in the battle type menu. Only characters that own this item have the "Item" button displayed during combat, enabling selection of items from party storage.

Protection: Cannot be renamed or deleted, almost entirely fixed properties (only name / note editable)

Fixed properties:

  • type = BASIC_ACTION
  • timing = Battle
  • target = User
  • Equippable: OFF
  • All other properties (effect / icon / consume_* / tgt_param etc.) are also default-fixed

Items creators can change:

  • name: Display label in the battle menu, such as "Item", "Tools", "Belongings"
  • note (development memo)

Related behaviors:

  • The "Item" button is added at the end of the battle type menu only when BA_ITEM is in the character's data.item
  • This item itself is not used as a normal action (does not appear in the type menu; also recommended to exclude from class add_item)
  • When BASIC_ACTION is included in the State's disabled_item_types, the "Item" button is also disabled

ATTACK ​

Purpose: Default effect for normal attacks. A typical use is as the default value for BA_ATTACK's effect.

Protection: Cannot be renamed or deleted

Items creators can change: All effect properties (particle / sound / flash / shake / is_replace etc.)

ESCAPE ​

Purpose: Default effect for escape. Can be used as the default value for BA_ESCAPE's effect etc.

Protection: Cannot be renamed or deleted

Items creators can change: All effect properties

DISAPPEAR ​

Purpose: Disappearance effect when an enemy falls in battle. Also referenced as the fixed effect of BA_ESCAPE.

Protection: Cannot be renamed or deleted

Items creators can change: All effect properties

Related behaviors:

  • At the moment an enemy becomes DEAD, the effect specified by the battle_dead_effect setting in Editor System plays (default is DISAPPEAR)
  • Designed to be used for "the enemy particlizes and disappears" direction

Protection Mechanism for Reserved IDs ​

This tool protects the integrity of Reserved IDs with a two-layer structure.

Layer A: Editor-Side Protection ​

  • Rename/Delete buttons for the item are disabled
  • Input fields for fixed properties are disabled
  • Default values are automatically set on new creation

Layer B: Runtime-Side Protection ​

  • At game startup, the existence of all Reserved IDs is verified, and if missing, automatically restored with standard values (the JSON file is not rewritten, but a warning log is produced)
  • If the value of a fixed property differs, it is forcibly overwritten with the standard value

Significance of double defense

Even if JSON is manually edited and a Reserved ID is broken, it is automatically restored at editor restart (Layer A) or game startup (Layer B). A safety mechanism to prevent accidents of "the game becoming unlaunchable as a result of touching it".

Frequently Asked Questions (FAQ) ​

Q1: Does changing the name of a Reserved ID affect the game? ​

No, since name is a display name, changing it does not affect behavior (free to rename "HP" to "Life Force" etc.).

Q2: If I delete HP, does HP disappear from characters? ​

No, it is automatically restored by the runtime at startup. Deletion is a meaningless operation because it is immediately resurrected.

Q3: I want to change BA_ATTACK's damage formula ​

Please change it. The formula is not a fixed property, so you can write a Formula into tgt_param.HP.value.

Q4: I want to change BA_ITEM's icon or effect ​

This item is almost entirely fixed, and anything other than name and note is forcibly overwritten at startup even if changed. There is no feature in this tool to customize the icon of the "Item" button itself.

Q5: Can I add a new Reserved ID? ​

You cannot. Because Reserved IDs are tied to the tool's implementation, adding requires modifying the tool's source. If it is a "new Parameter" or "new State", you can freely add it as a normal ID, not as a Reserved ID.

Q6: Are there untouchable items other than Reserved IDs? ​

Yes, some structural items (such as the trailing Finish Process of event_contents) are also tool-managed. These are explained in individual references (Finish Process etc.).