Skip to content

Type tab ​

The Type tab is where you define classifications for item types (Basic Action, Item, Magic, Skill, etc.) and attach types (weapon, armor, passive, etc.) used in your game. Two classification datasets are edited side by side on a single screen.

What is a Type?

In this tool, items and attaches are classified by type, which determines in-game menu structure and equipment slot layout.

  • Item type: Determines which menu an item created on the Item tab (attack magic, healing potion, etc.) is categorized under
  • Attach type: Determines which equipment slot an equipment (sword, armor, ring, etc.) or passive created on the Attach tab belongs to

For example, if you create an item type called "Magic" and classify "Fire" and "Heal" items under it, they will appear grouped under a "Magic" submenu in the battle menu.

Similarly, if you create an attach type called "Shield" and classify shield attaches under it, a "Shield" slot will be generated in the equipment UI.

Overview ​

Purpose of this screen ​

  • Create and edit item types (itemtype)
  • Create and edit attach types (attachtype)
  • Set the display name and priority for each

Save location ​

  • data/settings/itemtype.json — item types
  • data/settings/attachtype.json — attach types

Where it is referenced ​

  • Item tab: The Type property references the itemtype from this tab
  • Attach tab: The Type property references the attachtype from this tab
  • State tab: The "unusable item types" section references the itemtype from this tab as a checkbox list
  • Battle UI: Generates a submenu for each item type
  • Equipment UI: Generates an equipment slot for each attach type

Reserved IDs ​

The Type tab has three reserved IDs that cannot be deleted or renamed.

Reserved IDs for item types ​

Reserved IDPurpose
BASIC_ACTIONBasic action (normal attack, escape, etc. — commands always usable in battle)
ITEMItem (consumable items such as potions and bombs)

Reserved IDs for attach types ​

Reserved IDPurpose
PASSIVEPassive (not shown in the equipment panel; takes effect simply by being owned by the character)

These reserved IDs cannot be deleted or renamed. If they are missing from the JSON at initialization, they are automatically added.

Display names of reserved IDs can be changed

The display name (what is shown in-game) and the priority of reserved IDs can be changed. For example, you can change BASIC_ACTION's display name from "Basic" to "Action", or PASSIVE's display name to "Trait".

Screen layout ​

The Type tab has a special structure that edits two types side by side on a single screen. The left pane is not used; the entire screen is extended to the right and two sections are placed within it.

Left panel (item types) ​

ElementPurpose
ListDisplays all item type IDs in a vertical column
New buttonAdd a new item type by specifying an ID
ID / Name / PriorityEdit properties of the selected item type
Rename ID buttonChange the ID of the selected item type (reserved IDs are rejected)
Copy buttonDuplicate the selected item type (ID is auto-numbered)
Delete button (red text)Delete the selected item type (reserved IDs are rejected; confirmation dialog shown)

Right panel (attach types) ​

Exactly the same structure as the left panel. The only difference is that it handles attach types.

Shared bottom area ​

ElementPurpose
Save buttonWrites the edits to both itemtype.json and attachtype.json

The Save button is shared

Whether you modified only the left or right panel, pressing the Save button writes to both JSON files simultaneously.

Properties (common to both sides) ​

ItemInput formatDescription
IDRead-onlyThe ID of the selected type. Changed via the Rename ID button
Display name (Name)TextThe name displayed in-game (e.g. "Magic", "Shield"). Can be localized via the Translation tab
PriorityIntegerDisplay order (smaller comes first; 0 is a special case for last)

How Priority works ​

  • Positive integer (1 or higher): Displayed in ascending order (1 first, then 2, 3, ...)
  • 0: Displayed last (treated as "no priority")

Example: If item type priorities are set as follows, the battle menu will display them in this order:

Item typePriorityDisplay position
Basic Action (BASIC_ACTION)11st
Item (ITEM)22nd
Skill (SKILL)33rd
Magic (MAGIC)44th
Others0Last

Input validation ​

  • Priority is normalized to an integer when the input field loses focus (decimals truncated, minimum 0)
  • Empty strings and non-numeric values are treated as 0

Operating the left pane (common to item type and attach type) ​

New ​

Pressing the New button opens an ID input dialog. The new type is added with the entered ID.

Input rules:

  • Allowed characters: _ a-z A-Z 0-9 only
  • Empty strings not allowed
  • If the ID already exists, a suffix _2, _3, etc. is automatically appended

The initial values just after creation are: display name empty, priority 0 (displayed last).

Rename ID ​

Pressing the Rename ID button opens a rename dialog. Input rules are the same as for New. Pressing this against a reserved ID (BASIC_ACTION / ITEM / PASSIVE) is rejected.

Copy ​

Pressing the Copy button adds a new type that duplicates all data of the selected type. The ID is auto-numbered (original ID + _2, _3, ...). The newly copied type is completely independent from the original.

Delete ​

Pressing the Delete button displays a confirmation dialog; clicking OK deletes the selected type. Pressing this against a reserved ID (BASIC_ACTION / ITEM / PASSIVE) is rejected.

Caution when deleting

Deleting an item type invalidates the type setting of all items on the Item tab that referenced it. The same applies to attach types. Before deleting, check where the type is used on the Item/Attach tab.

Save ​

Pressing the Save button writes all edited data to both itemtype.json and attachtype.json. Even if you edited only one panel, both are written on save. Changes before saving are held in memory only, and a (*) mark appears in the tab title.

Meaning of reserved IDs for item types ​

BASIC_ACTION ​

A type that classifies commands always usable in battle. Normal attacks and escape fall under this. On the Item tab, basic action items like BA_ATTACK (attack) and BA_ESCAPE (escape) are provided as reserved IDs.

Handling in the battle UI:

  • Always shown as a character command at the start of battle
  • Does not get consumed; can be used any number of times

ITEM ​

A type that classifies consumable items used by using them. Potions, healing items, scrolls, etc. fall under this.

Handling in the battle UI:

  • Shown in the item submenu during battle
  • Selectable only when quantity is 1 or more
  • Quantity decreases by 1 each use

Types the user can add ​

Besides the reserved IDs, you can freely add new types. Typical examples:

  • MAGIC: Magic items that consume MP
  • SKILL: Skills that consume skill points or endurance
  • ULTIMATE: Powerful techniques with limited uses

Adding these generates a submenu for each in the battle menu.

Meaning of reserved IDs for attach types ​

PASSIVE ​

A type that classifies attaches that are not shown in the equipment panel but take effect at all times. When you create a PASSIVE attach on the Attach tab, simply owning it on a character provides its effect without appearing in the equipment panel.

Characteristics:

  • Not shown in the equipment panel
  • The same character can own multiple passives simultaneously
  • Only PASSIVE attaches can be selected in the "learnable attaches" section of the Class tab
  • No equip/unequip operation; takes effect automatically when owned

Types the user can add ​

Besides the reserved ID, you can freely add new equipment types. Typical examples:

  • WEAPON: Swords, axes, staves, etc.
  • HELMET: Helmets, head gear
  • ARMOR: Body armor
  • ACCESSORY: Rings, necklaces, etc.
  • SHIELD: Shields
  • BOOTS: Foot gear

Adding these dynamically generates an equipment slot for each in the equipment UI.

Typical usage flow ​

Flow 1: Create a new item type "Ultimate" ​

  1. Press the New button in the left panel (item types)
  2. Enter an ID (e.g. ULTIMATE) and click OK
  3. In the property editor on the right:
    • Display name = Ultimate
    • Priority = 5 (after BASIC_ACTION / ITEM / SKILL / MAGIC)
  4. Press the Save button
  5. When creating a new item on the Item tab, ULTIMATE is now added to the type selection

Flow 2: Create a new attach type "Shield" ​

  1. Press the New button in the right panel (attach types)
  2. Enter the ID SHIELD and click OK
  3. In the property editor on the right:
    • Display name = Shield
    • Priority = 6 (after WEAPON / HELMET / ARMOR / ACCESSORY)
  4. Press the Save button
  5. When creating a new attach on the Attach tab, SHIELD is now added to the type selection
  6. When a character equips a shield-type attach, a "Shield" slot appears in the equipment panel

Flow 3: Change the display name of a reserved ID ​

  1. Select BASIC_ACTION in the left panel
  2. Change the display name from Basic to Action
  3. Press the Save button
  4. The corresponding category in the battle menu is now displayed as "Action"

Difference between ID and display name

The ID is an internal identifier (the name used in the source code) and cannot be changed. The display name is for in-game display and can be freely changed.

Flow 4: Adjust priority ​

  1. Select MAGIC in the left panel
  2. Change the priority from 4 to 2
  3. Press the Save button
  4. In the battle menu, Magic is now displayed next (2nd) after BASIC_ACTION

Flow 5: Copy an existing type to make a derivative ​

  1. Select WEAPON in the right panel
  2. Press the Copy button → WEAPON_2 is auto-generated
  3. Rename it to TWO_HANDED_WEAPON via the Rename ID button
  4. Set display name to Two-Handed Weapon and adjust priority
  5. Press the Save button

When you create a new item on the Item tab, the Type property options are the full list of item types defined on this tab. Adding a new type here is automatically reflected in the Item tab's options.

When you create a new attach on the Attach tab, the Type property options are the full list of attach types defined on this tab. Adding a new type here is automatically reflected in the Attach tab's options.

In the unusable item types section of the State tab, all item types defined on this tab are shown as checkboxes. Adding or removing types here is automatically reflected in the State tab's checkbox list.

In the learnable attaches section of the Class tab, only PASSIVE-type attaches defined on this tab are selectable (weapons/armor cannot be selected). This is a restriction on the Class tab side; adding non-PASSIVE types here will not make them appear in learnable attaches.

TabRelated content
Item tabReferences item types from this tab
Attach tabReferences attach types from this tab
State tabReferences item types from this tab as a checkbox list in unusable item types
Class tabReferences only PASSIVE types in learnable attaches

Notes ​

Reserved IDs cannot be deleted or renamed ​

The item type BASIC_ACTION / ITEM and the attach type PASSIVE cannot be deleted or renamed. These are required for the tool's core functionality (battle commands, consumable items, always-active attaches).

Saving writes both JSON files ​

The Save button is a single button at the bottom; pressing it writes both itemtype.json and attachtype.json. Even if you edited only one panel, the other is written at save time (though content remains unchanged if there were no modifications).

No referential integrity check on delete ​

When deleting an item type or attach type, items/attaches that reference that type are not automatically corrected. Check where the type is used on the Item/Attach tab before deleting.

Behavior of priority 0 ​

Setting priority to 0 always displays the type last. It is treated as "no priority", so if multiple types are set to 0 they appear last in an undefined order (such as creation order). Use positive integers if you need strict ordering.

Initial priority on new creation is 0 ​

Newly created types have priority 0 as the initial value, so they are displayed last immediately after creation. If you want them higher in the order, change the priority to 1 or higher after creation.