Skip to content

Item Tab ​

The Item tab defines all "items, skills, magic, and basic actions" used in the game. Each entry corresponds to one item. It centrally manages consumption, target effects, state apply/remove, and shop prices.

Overview ​

Purpose of the Screen ​

  • Set basic item information (name, icon, type, target, effect, etc.)
  • Define what is consumed on use (the item's own durability, the user's MP, etc.)
  • Define effects on the target (damage, heal, buff, debuff)
  • Define effects that apply/remove states on the target
  • Set master buy/sell prices (used in shops)

Save Location ​

  • Saved to data/settings/item.json with the item ID as the key

Where It Is Referenced ​

  • Character tab (initial items)
  • Enemy tab (action items in action patterns)
  • Class tab (learned at level up)
  • Event tab (add item / display shop, etc.)
  • Drop Table tab (drop target when Type=Item)

Reserved IDs (3 types, delete / ID change prohibited) ​

IDPurposeConstraints
BA_ATTACKNormal attackDelete / change ID not allowed. Type is recommended to be BASIC_ACTION
BA_ESCAPEEscape (enemy-only usage)Delete / change ID not allowed
BA_ITEMLabel control for the "Item" button in the battle commandDelete / change ID not allowed, only name and dev memo are editable (see below)

These are auto-restored at tool startup. Even if accidentally removed from item.json, they are restored on editor restart.

Screen Layout ​

The Item tab has a left/right split layout, with the right pane in a 4-column layout.

Left Pane (Item List) ​

ElementPurpose
ListDisplays all item IDs in a vertical column
New buttonAdd a new item by specifying its ID
Change ID buttonChange the ID of the selected item (not allowed for reserved IDs)
Copy buttonDuplicate the selected item (ID is auto-numbered)
Delete button (red)Delete the selected item (not allowed for reserved IDs, with confirmation dialog)

Right Pane (Property Editing, 4 Columns) ​

ColumnContent
Column 1Basic info (ID / name / icon / type, etc. 9 items) + equip-time parameters + comment + dev memo
Column 2Consumption parameters (item itself) + consumption parameters (user)
Column 3Target parameter effects + target state apply/remove
Column 4Buy Prices + Sell Prices

Bottom Buttons ​

  • Save button
  • Formula Help button

Full Property Reference ​

Column 1-1: Basic Info (ID / Name / Icon) ​

Item NameInput MethodMeaningValue
IDText input (read-only)Item ID_a-zA-Z0-9 only, required
NameText inputItem display name (translation target)Optional, blank allowed
IconText input + file picker buttonIcon image path*.png,*.jpg,*.jpeg,*.svg,*.webp,*.bmp, etc.
Icon thumbnailImage display (auto)Thumbnail of the current icon—

Icon:

  • The file picker selects images from under data/sprites/icons/
  • Thumbnail auto-updates when text changes
  • Thumbnail is blank if the path is empty or the file does not exist

Column 1-2: Choice Items (7 Dropdowns) ​

Specify the basic item settings via 7 dropdowns.

Item NameInput MethodMeaningValue
EffectDropdownEffect played on useKey defined in the Effect tab, blank allowed
Display PositionDropdownPosition to play the effect (2 choices)See below
TypeDropdownItem type (basic action / item / skill / magic, etc.)Key defined in the Type tab
TimingDropdownWhen usable (4 choices)See below
TargetDropdownTarget when used (all 19 choices)See below
Deletion Criterion ParameterDropdownParameter used to determine if the item should be removed from inventory when 0 or less after useKey defined in the Parameter tab, blank allowed
Execution EventDropdownEvent executed on useKey defined in the Event tab, blank allowed

2 Display Position Choices ​

ChoiceMeaning
Target (Target position)Display effect at the target's position (e.g., explosion effect over the target for single-target attacks)
Screen Center (Target group center)When there are multiple targets, display effect at the average target position (e.g., centered on screen for AoE attacks)

4 Timing Choices ​

ChoiceMeaning
NoneNot usable anywhere (e.g., basic actions only)
Battle+FieldUsable both in battle and in the field (on maps)
BattleUsable only in battle (attack magic, etc.)
FieldUsable only in the field (healing items, etc.)

19 Target Choices ​

ChoiceMeaning
UserThe user themselves
SelfThe item itself (when used as consumption target)
PartyEntire party (for party-shared parameter targets)
TroopEntire enemy group
Selected MemberOne ally selected at use time
Selected OpponentOne enemy selected at use time
Selected CharacterAny one character selected at use time (ally or enemy)
Selected ItemOne item selected at use time
Selected GroupOne group selected at use time (Party or Troop)
Random MemberOne randomly selected ally
Random OpponentOne randomly selected enemy
Random CharacterOne randomly selected character
Random ItemOne randomly selected item
Random GroupOne randomly selected group
All MembersAll allies
All OpponentsAll enemies
All CharactersAll characters (ally or enemy)
All ItemsAll items
All GroupsAll groups

Typical Target Usage

  • Potion (single-target heal): Selected Member
  • Attack magic in battle: Selected Opponent
  • AoE attack magic: All Opponents
  • Party-wide heal: All Members
  • Self-buff skill: User
  • Random attack: Random Opponent

Purpose of Deletion Criterion Parameter ​

  • Used for consumable items with durability (Dura, etc.)
  • Automatically removed from inventory when the parameter becomes 0 or less after use
  • Example: Specify Dura + consume Dura -1 via consumption parameter (item itself) → disappears at Dura 0

Purpose of Execution Event ​

  • When specified, Effect / target parameter effects / state effects are ignored, and processing is delegated to the event flow
  • Used to implement custom processing (special scripts, screen transitions, etc.)
  • Can also be used on incapacitated / escaped targets (special revival items, etc.)

Column 1-3: Equip-Time Parameters ​

Purpose of Equip-Time Parameters

This section shares a template with Attach, so the UI is provided, but it is normally not referenced for items alone (since items are not treated as equipment). It is used in the Attach tab (E09) for parameter addition of equipped attaches.

Item NameInput MethodMeaning
ParameterDropdownParameter key
ValueText input (Formula allowed)Increase/decrease value when equipped
Add buttonButtonAdd/update current parameter + value to the equip-time parameter list
Delete buttonButtonDelete the selected parameter
ListListEquip-time parameter list

Column 1-4: Comment / Dev Memo ​

Item NameInput MethodMeaning
CommentMulti-line textIn-game display comment (item description)
Dev MemoMulti-line textDeveloper-only memo (not displayed in-game)

Comment: Translation target. Shown as item description on battle screens, menus, etc.

Column 2-1: Consumption Parameters (Item Itself) ​

Consumes the item's own parameters on use (durability, etc.).

Item NameInput MethodMeaning
ParameterDropdownParameter key to consume
CurrentCheckboxON=consume from current value, OFF=consume from max value
ValueText input (Formula allowed)Amount consumed (positive number)
Update buttonButtonAdd/update settings to the consumption parameter list
Delete buttonButtonDelete the selected entry
ListListConsumption parameter list (in <Param> : {"current": true/false, "value": "..."} format)

Typical Example

Durability item: Parameter=Dura, Current=ON, Value=1 → Dura decreases by 1 per use. If Deletion Criterion Parameter is set to Dura, it is auto-removed when Dura=0.

Column 2-2: Consumption Parameters (User) ​

Consumes the user's (character's) parameters on use (MP, etc.).

Item NameInput MethodMeaning
ParameterDropdownParameter key to consume
CurrentCheckboxON=consume from current value, OFF=consume from max value
ValueText input (Formula allowed)Amount consumed (positive number)
Update buttonButtonAdd/update settings to the consumption parameter list
Delete buttonButtonDelete the selected entry
ListListConsumption parameter list

Typical Example

Magic: Parameter=MP, Current=ON, Value=5 → MP consumed by 5 per use.

Column 3-1: Target Parameter Effects ​

Define effects on the target (damage, heal, buff, debuff).

Item NameInput MethodMeaning
ParameterDropdownParameter to add to (HP / MP / STR, etc.)
CurrentCheckboxON=add to current value, OFF=add to max value
ValueText input (Formula allowed)Addition value (negative subtracts = damage)
Trigger ConditionText input (Formula allowed)Trigger condition expression (true always triggers, Formula for conditional)
Update buttonButtonAdd/update settings to the target parameter list
Delete buttonButtonDelete the selected entry
ListListTarget parameter list

Formula notation (see Formula Reference for details):

  • USER.STR.MAX : User's STR max value
  • TGT.DEF.MAX : Target's DEF max value
  • TGTS.COUNT : Number of targets (for distributing AoE)
  • SELF.HP.NOW : User's current HP

Typical value expressions:

PurposeValueTrigger Condition
HP heal 5050true
Damage based on attack power-max(USER.STR.MAX * 2 - TGT.DEF.MAX, 1)true
Enhanced heal only at low HP100USER.HP.RATE < 0.3
AoE attack (distributed by target count)-max(USER.INT.MAX * 3 / TGTS.COUNT, 1)true

How to Write Damage

Damage is set as negative values (adding negative to HP = subtraction). The idiom -max(..., 1) guarantees at least 1 damage (prevents MISS even if the calculation goes 0 or less).

Using Trigger Conditions

  • true: Always triggers
  • USER.HP.RATE < 0.3: Triggers only when the user is low on HP
  • TGT.HP.RATE > 0.5: Triggers only when the target has more than half HP
  • randi() % 100 < 50: Triggers at 50% probability

Column 3-2: Target State Apply/Remove ​

Apply or remove states on the target.

Item NameInput MethodMeaning
StateDropdownState to apply/remove
Add / RemoveCheckbox (exclusive)Add=apply, Remove=remove
Trigger ConditionText input (Formula allowed)Trigger condition expression (true always triggers)
Add buttonButtonAdd/update settings to the state list
Delete buttonButtonDelete the selected entry
ListListState list

Exclusive Checkbox Control

"Add" and "Remove" are exclusive. Selecting one automatically unselects the other.

Typical Examples

  • Poison apply: State=POISON, Add, Trigger Condition=randi() % 100 < 80 (80% to apply)
  • Poison remove: State=POISON, Remove, Trigger Condition=true (always removes)
  • Revive: State=DEAD, Remove, Trigger Condition=true (removes DEAD → brings back to life)

Column 4-1: Buy Prices ​

Set master prices for purchasing in shops.

Item NameInput MethodMeaning
ParameterDropdownParameter used for price (usually GOLD)
CurrentCheckboxON=current value, OFF=max value
ValueText input (Formula allowed)Price
Add buttonButtonAdd/update settings to the buy price list
Delete buttonButtonDelete the selected entry
ListListBuy price list

Role of Master Prices

Prices set here are the master prices used by the Shop Display event content (purchase shop display).

  • When the event does not specify a price, the master price here is used
  • When the event explicitly specifies a different price, the event-side value takes precedence

Column 4-2: Sell Prices ​

Set master prices for selling in shops.

Item NameInput MethodMeaning
ParameterDropdownParameter used for price (usually GOLD)
CurrentCheckboxON=current value, OFF=max value
ValueText input (Formula allowed)Price
Add buttonButtonAdd/update settings to the sell price list
Delete buttonButtonDelete the selected entry
ListListSell price list

Symmetric structure with Buy Prices. Used by the Sell Shop Display event content.

Bottom Buttons ​

Save Button ​

Saves edits to item.json.

Formula Help Button ​

Pops up a help window with the same content as the Formula Reference.

  • Non-modal, so help can stay open while editing continues
  • Convenient on the Item tab where Formula is frequently written for values / trigger conditions / consumption amounts / prices

Processing Order on Use ​

When an item is used, processing is executed in the following order.

  1. Item's own consumption (Consumption Parameters (item itself))
  2. User's consumption (Consumption Parameters (user))
  3. State apply/remove (Target State Apply/Remove) — executed even on incapacitated / escaped targets, revival possible
  4. Parameter effects (Target Parameter Effects) — skipped for incapacitated / escaped targets; incapacitation auto-applied when HP≤0
  5. Deletion check (Deletion Criterion Parameter) — removed from inventory if the parameter is 0 or less

Consumed Even on MISS

Even when the trigger condition of target parameter effects is false (equivalent to MISS), consumption is executed. A "used but no effect" message is shown, but MP and item durability are already consumed.

BA_ATTACK (Normal Attack) ​

  • Type: BASIC_ACTION
  • Timing: Battle
  • Target: Selected Opponent (one enemy selected at use time)
  • Effect: ATTACK
  • Target Parameter Effect: HP value = -max(USER.STR.MAX * 2 - TGT.DEF.MAX, 1), Trigger Condition = hit judgment Formula

BA_ESCAPE (Escape) ​

  • Type: BASIC_ACTION
  • Timing: Battle
  • Target: Self (the user themselves)
  • Target State: Add ESCAPE, Trigger Condition = randi() % 100 < 50 (50% to succeed escape)

BA_ITEM ("Item" button in battle command) ​

Special: This item is a reservation for controlling the label of the "Item" button in the battle screen's command menu.

  • All properties other than Name and Dev Memo are not editable (grayed out)
  • The user can customize only the Name (e.g., "Item" → "Tools", "Belongings")
  • On save, all properties other than Name and Dev Memo are forcibly overwritten with the tool's default values

Why Not Editable?

BA_ITEM is a reservation for battle UI control and is not actually "used" in the game. Changing type or target has no meaning, so editing is disabled on the editor side.

Impact on Other Tabs / Runtime ​

Interaction with Other Tabs ​

Linked ToPurpose
Character tabInitial items
Enemy tabAction items in action patterns
Class tabLearned at level up (only Type != Item)
Event tabAdd item / display shop, etc.
Drop Table tabLottery target when Type=Item
Effect tabReferenced in Effect field
Type tabReferenced in Type field
State tabReferenced in Target State Apply/Remove
Parameter tabReferenced in consumption / effects / prices
Event tab (Execution Event)Delegation target for custom processing

How It Is Used In-Game ​

  • On use: Executed in the 5 steps described in "Processing Order on Use" above
  • Translation: Name and comment refer to the translation dictionary
  • Shop: Buy Prices / Sell Prices are referenced as master prices

Automatic Cross-Tab Reference Updates ​

Each dropdown in this tab is auto-refreshed to the latest state just before opening. Changes in other tabs are reflected immediately without a tab switch (Effect / Type / Parameter / State / Execution Event).

CRUD Details ​

Create New ​

  1. New button → ID input dialog appears
  2. Validation: Empty text forbidden, only _a-zA-Z0-9 allowed
  3. Duplicates auto-avoided with _2, _3, ...
  4. New item is created with all properties blank

Change ID ​

  1. Change ID button → Rename dialog appears with current ID as initial value
  2. Reserved IDs (BA_ATTACK / BA_ESCAPE / BA_ITEM) cannot be changed (NOTICE displayed)

WARNING

After changing an ID, if the old ID is referenced in other tabs, manual updating is required.

Copy ​

  • Copy button fully duplicates the selected item (all properties)
  • The new ID is auto-numbered like _2

Delete ​

  1. Delete button → Confirmation dialog appears
  2. "Yes" executes the deletion
  3. Reserved IDs (BA_ATTACK / BA_ESCAPE / BA_ITEM) cannot be deleted (NOTICE displayed)

Unsaved Marker ​

If the tab title shows Item(*), there are unsaved changes. The (*) disappears after pressing Save or "Save All" in the Home tab.

Example Usage ​

Creating a New Healing Item (Potion) ​

  1. New button → Enter ID (e.g., IT_POTION) → Create
  2. Name = Potion
  3. Icon = data/sprites/icons/potion.png
  4. Type = ITEM
  5. Timing = Battle+Field
  6. Target = Selected Member
  7. Deletion Criterion Parameter = Dura
  8. Consumption Parameters (item itself): Parameter=Dura, Current=ON, Value=1 → Add
  9. Target Parameter Effects: Parameter=HP, Current=ON, Value=50, Trigger Condition=true → Add
  10. Buy Prices: Parameter=GOLD, Value=100 → Add
  11. Sell Prices: Parameter=GOLD, Value=50 → Add
  12. Save to save

Creating a New Attack Magic (Fire) ​

  1. New button → Enter ID (e.g., MA_FIRE) → Create
  2. Name = Fire
  3. Type = MAGIC
  4. Effect = FIRE
  5. Timing = Battle
  6. Target = Selected Opponent
  7. Consumption Parameters (user): Parameter=MP, Current=ON, Value=5 → Add
  8. Target Parameter Effects: Parameter=HP, Current=ON, Value=-max(USER.INT.MAX * 3 - TGT.MAG.MAX, 1), Trigger Condition=true → Add
  9. Save

AoE Attack Magic ​

  • Target = All Opponents
  • Target Parameter Effects: Value=-max(USER.INT.MAX * 3 / TGTS.COUNT, 1) (distributed by target count)

State Application Skill ​

  • Target = Selected Opponent
  • Target State Apply/Remove: State=POISON, Add, Trigger Condition=randi() % 100 < 80 (80% to apply poison)

Custom Processing (via Execution Event) ​

  • Execution Event = event_special_item (event defined in Event tab)
  • Effect / target effects / state effects are ignored, and the specified event is executed instead
  • Can also be used on incapacitated / escaped targets (special revival items, etc.)

Constraints and Edge Cases ​

Delete / Change Prohibited for Reserved IDs ​

  • BA_ATTACK / BA_ESCAPE / BA_ITEM are rejected with NOTICE output on Change ID / Delete
  • Auto-restored on editor startup even if deleted via manual JSON edit

Editing Constraints for BA_ITEM ​

  • All UI except Name and Dev Memo is grayed out and non-editable
  • On save, all properties are forcibly overwritten with the tool's default values

ID Constraints ​

  • Empty text forbidden
  • Allowed characters: _a-zA-Z0-9
  • Duplicates auto-avoided with _2, _3

Equip-Time Parameters Not Referenced ​

  • The "Equip-Time Parameters" section at the bottom of Column 1 shares a template with Attach, so the UI is displayed, but it is normally not referenced for items (since items are not treated as equipment)
  • This section is meaningful on the Attach tab (E09)

Consumed Even on MISS ​

  • Consumption parameters are executed even when the trigger condition of target parameter effects is false
  • Typical behavior of "used but no effect"

Effects on Incapacitated / Escaped Targets ​

  • Target Parameter Effects: Skipped for incapacitated / escaped targets (silent skip)
  • Target State Apply/Remove: Executed even on incapacitated / escaped targets (revival possible)
  • Execution Event: Can also be used on incapacitated / escaped targets (custom processing)

Auto Incapacitation at HP ≤ 0 ​

  • When HP falls to 0 or less via target parameter effects, the DEAD state is automatically applied
  • Linked to in-game incapacitation judgment

Purpose of Deletion Criterion Parameter ​

  • When the parameter is 0 or less after use → auto-removed from inventory
  • Consumable items (potions, etc.): Deletion Criterion Parameter = Dura + consumption parameter decreases Dura by -1
  • Unlimited-use items (skills, magic): Leave Deletion Criterion Parameter empty

Frequently Asked Questions (FAQ) ​

Cannot add a new item ​

Cause: ID may be empty text or contain characters other than _a-zA-Z0-9.

Answer: Use an ID containing only allowed characters.

Cannot edit or delete BA_ATTACK ​

Cause: Change ID / Delete are rejected because it is a reserved ID.

Answer: You can still customize the content (name, effect, Formula for value, etc.). You can also copy to a non-reserved ID and edit that.

Most items in BA_ITEM are grayed out and uneditable ​

Cause: BA_ITEM is a special internal reserved ID used for controlling the "Item" button label in the battle screen's command menu.

Answer: Only Name is editable (e.g., "Item" → "Tools"). Other settings are ignored, so customization is unnecessary.

Selected Opponent is set but no selection screen appears in battle ​

Possible causes:

  1. Timing is not set to Battle or Battle+Field
  2. Used outside battle (enemies cannot be selected in the field)

Answer: Set Timing to Battle.

Want to adjust AoE attack power ​

Answer: Use TGTS.COUNT in the value of target parameter effects to distribute.

  • -USER.INT.MAX * 3 / TGTS.COUNT → More targets = less damage per target
  • -max(USER.INT.MAX * 3 / TGTS.COUNT, 1) → Guarantees at least 1 damage

Cannot use the skill when MP is insufficient ​

Answer: When MP set in consumption parameters (user) is insufficient, the skill becomes unusable (grayed out in the in-game display). Review consumption value.

Equip-time parameters don't work ​

Cause: "Equip-Time Parameters" at the bottom of Column 1 shares a template with Attach and is normally not referenced for items.

Answer: To implement equipment-based ability changes, use the Attach tab (E09).

Icon not shown ​

Cause: The path is empty or the file does not exist.

Answer: Check whether the icon thumbnail is shown. If not, re-select the path.

Must I always set buy and sell prices? ​

Answer: Not required. If not set, the Shop Display event content must specify prices directly. Setting them as master prices lets you omit them on the shop side, which is convenient.

Can I create an item that consumes multiple parameters? ​

Answer: Yes. Multiple parameters can be registered in Consumption Parameters (user) (e.g., a secret technique consuming HP and MP simultaneously).

Want to apply and remove states simultaneously ​

Answer: Multiple entries can be registered in Target State Apply/Remove (e.g., a purification skill that removes poison + applies buffs).


Related References: