Skip to content

Attach Tab ​

The Attach tab defines in-game equipment (weapons, armor, shields, helmets, accessories) and passives (constantly-active ability enhancements). Each entry corresponds to one attach.

What Is an Attach

In this tool, "equipment" and "passives (constant effects)" are handled by the same mechanism. The Type distinguishes equipment slots (Weapon / Shield / Helmet / Armor / Accessory / Passive), and centrally manages parameter addition when equipped, state application, equippable class restrictions, and equip requirements.

Passives are not shown in the equipment slots; they are special attaches that take constant effect simply by being possessed by the character.

Overview ​

Purpose of the Screen ​

  • Set basic attach information (name, icon, type)
  • Define parameter addition when equipped (stat enhancement)
  • Define state application when equipped (cursed equipment, etc.)
  • Restrict equippable classes
  • Define equip requirement parameters (equippable at STR 10+, etc.)
  • Set master buy/sell prices

Save Location ​

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

Where It Is Referenced ​

  • Character tab (initial attaches)
  • Enemy tab (initial attaches)
  • Class tab (learned at level up, PASSIVE only)
  • Event tab (add attach, etc.)
  • Drop Table tab (drop target when Type=Attach)

Difference from Items ​

ItemItemAttach
PurposeUsed to produce an effect (potions, magic, etc.)Equipped for constant effect (weapons, passives, etc.)
On-use effectDamage, heal, state application, etc.None (effect from equipping alone)
ConsumptionMP consumption, durability consumption, etc.None
On-equip effectNoneParameter addition, state application
Equip requirementsNoneParameter requirements, class restrictions
Reserved IDsBA_ATTACK / BA_ESCAPE / BA_ITEMNone

Internal Implementation

Items and attaches share the same template structure, but this tab only edits the equipment-side fields (equip-time parameters, equip-time states, equippable classes, equip requirement parameters). Item-side fields (effects, target effects, etc.) are retained internally but not referenced by the runtime.

Screen Layout ​

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

Left Pane (Attach List) ​

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

No Reserved IDs

Attaches have no reserved IDs. Change ID / Delete are allowed for all attach IDs.

Right Pane (Property Editing, 4 Columns) ​

ColumnContent
Column 1Basic info (ID / name / icon / type) + comment + dev memo + equippable classes
Column 2Equip-time parameters (stat addition)
Column 3Equip-time states + equip requirement parameters
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)Attach ID_a-zA-Z0-9 only, required
NameText inputAttach 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: Type ​

Item NameInput MethodMeaningValue
TypeDropdownAttach type (equipment slot)Attach type key defined in the Type tab, blank selection not allowed

Role of Type:

  • Distinguishes equipment slots (Weapon / Shield / Helmet / Armor / Accessory / Passive, etc.)
  • Number equippable by one character (usually 1 per type, PASSIVE allows multiple)
  • Controls display location (PASSIVE is not shown in equipment slots)

Types Provided in Samples:

TypePurposeEquipment Slot
WEAPONWeaponShown in equipment slots
SHIELDShieldShown in equipment slots
HELMETHelmetShown in equipment slots
ARMORArmorShown in equipment slots
ACCESSORYAccessoryShown in equipment slots
PASSIVEPassive (constant effect)Not shown in equipment slots, multiple possession allowed, constant effect from possession alone

Special Behavior of PASSIVE

  • Not shown in equipment slots (no equip operation needed as it's a constant effect)
  • Multiple of the same PASSIVE can be held by one character (duplicated effect)
  • On an unattach operation, it is completely removed from the possession storage too

Passives are intended as "constant effects learned at level up" (e.g., strength enhancement, magical mastery, agility enhancement, etc.).

Column 1-3: Comment / Dev Memo ​

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

Comment: Translation target. Shown as attach description on equipment screens, menus, etc.

Column 1-4: Equippable Classes ​

Restricts which classes can equip this attach.

Item NameInput MethodMeaning
ClassDropdownClass ID to add
Add buttonButtonAdd the selected class to the equippable class list
Delete buttonButtonDelete the selected class
ListListEquippable class list

Restriction Mechanism:

  • When empty: All classes can equip (no restriction)
  • When 1 or more registered: Only registered classes can equip

Typical Examples

  • "Magic Staff": Only MAGICIAN and PRIEST can equip
  • "Steel Sword": Empty (all classes can equip)
  • "Samurai-Only Katana": Only SAMURAI can equip

Column 2: Equip-Time Parameters (Stat Addition) ​

Define parameter addition (stat enhancement) when equipped.

Item NameInput MethodMeaning
ParameterDropdownParameter to add to (STR / DEF, etc.)
ValueText input (Formula allowed)Addition value (number or Formula, negative allowed)
Add buttonButtonAdd/update settings to the equip-time parameter list
Delete buttonButtonDelete the selected parameter
ListListEquip-time parameter list

Value Supports Formula

Equip-time parameter values support Formula as well as fixed values (addition amounts can be defined based on character parameters, like USER.STR.BASE / 2). Negative values are also allowed (e.g., heavy equipment -3 agility).

See Formula Reference for detailed notation.

In-Game Behavior:

  • For characters equipped with this, the value set in this tab is automatically added to the parameter max value
  • When equipped with multiple attaches, the addition values of all attaches are summed
  • Removing the equipment removes the addition value

Typical Examples

  • Steel Sword: STR +8
  • Iron Shield: DEF +5
  • Strength Ring: STR +3
  • Magical Mastery (PASSIVE): INT +5, MAG +3

Column 3-1: Equip-Time States ​

Define states automatically applied when equipped (cursed equipment, buff equipment, etc.).

Item NameInput MethodMeaning
StateDropdownState to add (Escape cannot be selected)
Add buttonButtonAdd the selected state to the equip-time state list
Delete buttonButtonDelete the selected state
ListListEquip-time state list

Special Behavior (Always Active):

  • While equipped, the state is always active (ignores the timing settings on the state side)
  • Even if the same state is applied by multiple attaches, it triggers only once (duplicates excluded)
  • Removing the equipment automatically removes the state

Escape State Cannot Be Selected

ESCAPE is enemy-only + event-trigger-only, so applying it via equipment does not work. It is excluded from the dropdown to prevent confusion. DEAD (incapacitated) is allowed (to leave design room for things like "start incapacitated with cursed equipment").

Typical Example (Cursed Equipment)

Cursed Necklace:

  • Equip-time parameter: STR +5 (enhancement effect)
  • Equip-time state: POISON (always poisoned while equipped)
  • From the user's perspective: Strong but has the trade-off of continuous poison damage

Column 3-2: Equip Requirement Parameters ​

Define parameter requirements for equipping this attach.

Item NameInput MethodMeaning
ParameterDropdownRequired parameter (STR / INT, etc.)
ValueText input (Formula allowed)Required value (number or Formula)
Add buttonButtonAdd/update settings to the equip requirement parameter list
Delete buttonButtonDelete the selected parameter
ListListEquip requirement parameter list

Value Supports Formula

Equip requirement parameter values support Formula as well as fixed values (dynamic requirements based on character state can be defined, like USER.LEVEL.MAX * 2).

Judgment Mechanism:

  • Multiple entries are judged as an AND condition (all must be met)
  • Equippable if the character's parameter is at or above the required value
  • At judgment, parameters already added by equipped attaches are also included (prevents contradictions when swapping equipment)

Typical Examples

  • Steel Sword: Equippable at STR 10 or more
  • Magic Staff: Equippable at INT 15 or more
  • Holy Armor: Equippable at STR 10 or more AND Faith 5 or more (multiple requirements)

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

Example of Combined Payment

Combined payments across multiple parameters can be set, like GOLD: 100 + HP: 100:

  • Parameter=GOLD, Value=100 → Add
  • Parameter=HP, Current=ON, Value=100 → Add

This consumes both GOLD 100 and current HP 100 simultaneously on purchase.

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 attach.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 when writing Formula for buy/sell prices (equip-time parameters / equip requirement parameters are numbers only)

Impact on Other Tabs / Runtime ​

Interaction with Other Tabs ​

Linked ToPurpose
Character tabInitial attaches
Enemy tabInitial attaches
Class tabReferenced in equippable classes / learned PASSIVE at level up
Type tabReferenced by Type (attachtype)
Parameter tabEquip-time parameters / equip requirements / buy and sell prices
State tabEquip-time states (ESCAPE excluded)
Drop Table tabLottery target when Type=Attach
Event tabReferenced in add attach, etc.

How It Is Used In-Game ​

  • On equip: Equip-time parameters are added, equip-time states are always active
  • On unequip: Addition and constant states are automatically removed
  • PASSIVE: Not shown in equipment slots, constant effect from possession alone
  • Equip check: Class restriction + equip requirement parameters as AND condition
  • Shop: Buy Prices / Sell Prices referenced as master prices
  • Translation: Name and comment refer to the translation dictionary

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 (Type / Parameter / Class / State).

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 attach is created with all properties blank

Change ID ​

  1. Change ID button → Rename dialog appears with current ID as initial value
  2. Validation: Same as Create New
  3. Attach has no reserved IDs, so all IDs can be changed

WARNING

After changing an ID, if the old ID is referenced in other tabs (character initial attaches, class equippable, etc.), manual updating is required.

Copy ​

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

Delete ​

  1. Delete button → Confirmation dialog appears
  2. "Yes" executes the deletion
  3. Attach has no reserved IDs, so all attaches can be deleted

Unsaved Marker ​

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

Example Usage ​

Creating a New Weapon (Steel Sword) ​

  1. New button → Enter ID (e.g., WE_STEEL_SWORD) → Create
  2. Name = Steel Sword
  3. Icon = data/sprites/icons/sword_steel.png
  4. Type = WEAPON
  5. Comment = STR +8. Requires STR 10.
  6. Equippable Classes: Empty = All classes can equip
  7. Equip-Time Parameters: Parameter=STR, Value=8 → Add
  8. Equip Requirement Parameters: Parameter=STR, Value=10 → Add (equippable only for characters with STR 10 or more)
  9. Equip-Time States: Empty
  10. Buy Prices: Parameter=GOLD, Value=800 → Add
  11. Sell Prices: Parameter=GOLD, Value=400 → Add
  12. Save to save

Creating a New Passive (Muscle Up) ​

  1. New button → Enter ID (e.g., PA_MUSCLE) → Create
  2. Name = Muscle Up
  3. Type = PASSIVE
  4. Comment = STR +5 (always active).
  5. Equip-Time Parameters: Parameter=STR, Value=5 → Add
  6. Equip Requirement Parameters / Equip-Time States / Equippable Classes: Empty
  7. Save

In-game behavior:

  • Not shown in equipment slots, STR +5 always active just by possession
  • Multiple possession allowed (duplicated effect; holding 3 PA_MUSCLE gives +15)

Creating Cursed Equipment ​

  1. New button → Enter ID (e.g., AC_CURSED_NECKLACE) → Create
  2. Name = Cursed Necklace
  3. Type = ACCESSORY
  4. Equip-Time Parameters: Parameter=STR, Value=5 → Add
  5. Equip-Time States: State=POISON → Add (always poisoned while equipped)
  6. Save

In-game behavior:

  • STR +5 enhancement while equipped
  • Always poisoned while equipped (HP decreases each turn)
  • Removing the equipment removes both effects

Class-Restricted Equipment ​

  1. Create Magic Staff WE_MAGIC_STAFF
  2. Equip-Time Parameters: Parameter=INT, Value=10 → Add
  3. Equippable Classes: Add MAGICIAN and PRIEST
  4. Save

In-game behavior:

  • Only magicians and priests can equip
  • Even if warriors or knights try to equip, it will not appear in the dropdown

Heavy Equipment with Multiple Requirements ​

  1. Create Holy Armor AR_HOLY
  2. Equip-Time Parameters: DEF +15, Faith +3
  3. Equip Requirement Parameters: STR requirement=10, Faith requirement=5
  4. Equippable Classes: KNIGHT and PRIEST
  5. Save

In-game behavior:

  • Equippable only by knights or priests who have STR ≥ 10 AND Faith ≥ 5

Combined Payment Buy Price ​

  1. Create "Sage's Charm" AC_AMULET_RES
  2. Equip-Time Parameters: INT +5, Magic Defense +5
  3. Buy Prices:
    • Parameter=GOLD, Value=500 → Add
    • Parameter=HP, Current=ON, Value=100 → Add (current HP 100 consumed)
  4. Sell Prices: Parameter=GOLD, Value=250 → Add

In-game behavior:

  • On purchase, consumes GOLD 500 and HP 100 simultaneously
  • Expression for equipment obtained by shaving one's life

Constraints and Edge Cases ​

ID Constraints ​

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

Values for Equip-Time Parameters / Equip Requirements ​

  • Numbers only (Formula not allowed)
  • Negative values allowed (e.g., heavy equipment with -3 agility)

Constraints on Equip-Time States ​

  • ESCAPE cannot be selected (enemy-only + event-trigger-only)
  • DEAD (incapacitated) is allowed (design room for cursed equipment)

Empty Handling for Equippable Classes ​

  • Empty = All classes can equip
  • With values = Only registered classes can equip

Judgment Order of Equip Requirement Parameters ​

  • When another attach is already equipped, the judgment includes its addition values
  • Example: A character wanting to equip an attach requiring STR 10 who is already wearing a "Strength Ring (STR +3)" can equip if their raw STR is 7 or more

PASSIVE Duplication ​

  • Holding the same PASSIVE multiple times adds parameters that many times
  • Equip-time states trigger only once (duplicates excluded via union reference)

Invalid References ​

  • If the equippable classes / equip requirement parameters / equip-time parameters / equip-time states contain IDs not present in the referenced tab, the list shows a red warning

Frequently Asked Questions (FAQ) ​

What's the difference between an attach and an item? ​

Answer: Their purposes differ.

  • Item: Used to produce an effect (potions, magic, techniques, etc.)
  • Attach: Equipped to gain a constant effect (weapons, armor, passives, etc.)

This tab is dedicated to attaches (equipment / passive).

Cannot write Formula in equip-time parameters ​

Cause: Equip-time parameter / equip requirement parameter values are numbers only (Formula not allowed).

Answer: Set as fixed values (negative values also OK).

PASSIVE is not shown in the equipment slot ​

Cause: PASSIVE is intentionally designed not to show in equipment slots.

Answer: PASSIVE takes constant effect simply by possession. No equip operation is needed.

Cannot select ESCAPE in equip-time state ​

Cause: ESCAPE is enemy-only + event-trigger-only, so applying it via equipment does not work. Selection itself is prohibited to prevent confusion.

Answer: To express "equipment that makes escape easier", use a mechanism that applies ESCAPE via events.

Can I select DEAD in equip-time state? ​

Answer: Yes, selectable. It is allowed to leave design room for special settings like "starts incapacitated with cursed equipment".

Does leaving equippable classes empty mean no one can equip? ​

Answer: Opposite. Empty = all classes can equip. If you want to restrict by class, add classes to Equippable Classes.

A character with STR 7 can equip an attach that requires STR 10? ​

Cause: If another attach is already giving STR +3, the sum is STR 10, making it equippable.

Answer: This is a specification to prevent contradictions when swapping equipment (avoiding the situation where removing an equipped attach would make the current equipment unequippable).

Can I hold multiple of the same PASSIVE? ​

Answer: Yes. Holding multiple PASSIVE adds parameters that many times (e.g., holding 3 STR+5 PASSIVE gives STR +15).

Are parameters from multiple equipped attaches summed? ​

Answer: Yes. Example: Steel Sword (STR+8) + Strength Ring (STR+3) gives total STR+11 addition effect.

Do equip-time states duplicate when applied by multiple attaches? ​

Answer: No. They use union reference, so the same state ID triggers only once.

Error on character's initial equipment after deleting an attach ​

Cause: The initial attach of the Character tab may reference the deleted ID.

Answer: Before deletion, confirm on the Character tab that the ID is not in use.

Must I always set buy / sell prices? ​

Answer: Not required. The Shop Display event content can specify prices directly. Setting master prices is convenient.

Want to set attach durability ​

Cause: Attaches do not have a Deletion Criterion Parameter (removed 2026-09-11).

Answer: To express consumable equipment, write processing to explicitly delete via event content "Delete Item". Alternatively, add a durability parameter like Dura to equip-time parameters and have game progress decrease it.


Related References:

  • Item tab — Same template structure (use type)
  • Class tab — Reference target of equippable classes / learn PASSIVE at level up
  • Type tab — Reference target of Type (attachtype)
  • Parameter tab — Reference target of equip-time parameters / equip requirements / buy and sell prices
  • State tab — Reference target of equip-time states
  • Character tab — Referenced in initial attaches
  • Enemy tab — Referenced in initial attaches
  • Drop Table tab — Referenced as drop target when Type=Attach
  • Formula Reference — Notation usable in Formula for buy/sell prices