Drop Table Tab
The Drop Table tab defines weighted lottery tables for items and attaches. Each entry corresponds to one table and is used for enemy drops upon defeat.
Overview
Purpose of the Screen
- Define weighted lottery tables (drop tables)
- Register multiple items and attaches in a single table, each with its own weight
- Specify the distribution target of the lottery result (party / surviving members, etc.)
- Display lottery probability as a real-time ratio
Save Location
- Saved to
data/settings/drop_table.jsonwith the table ID as the key
Where It Is Referenced
- Specified in the Enemy tab's "Drop Table Lottery" by referring to tables defined in this tab
What Is Weighted Lottery
A mechanism where multiple items are assigned a weight, and one is randomly chosen in proportion to the weights.
Example: Given the following table:
| Item | Weight |
|---|---|
| Potion | 70 |
| Antidote | 20 |
| Elixir | 5 |
Total weight = 70 + 20 + 5 = 95
Lottery probabilities:
- Potion: 70/95 = 73.7%
- Antidote: 20/95 = 21.1%
- Elixir: 5/95 = 5.3%
The larger the weight, the higher the probability of being drawn.
Screen Layout
The Drop Table tab has a 3-column layout.
Left Column (Table List)
| Element | Purpose |
|---|---|
| List | Displays all drop table IDs in a vertical column |
| New button | Add a new table by specifying its ID (empty input auto-numbers as DT_N) |
| Change ID button | Change the ID of the selected table |
| Copy button | Duplicate the selected table (ID is auto-numbered) |
| Delete button | Delete the selected table (with confirmation dialog) |
Center Column (Selected Table Editing)
| Element | Purpose |
|---|---|
| ID (read-only) | ID of the selected table |
| Target dropdown | Distribution target of the lottery result (4 choices) |
| Drop list | List of drop entries in the table (with weight + ratio display) |
| Add button | Add a new drop entry to the list |
| Remove button | Delete the drop entry currently selected in the list |
| Save button (fixed at bottom) | Save the entire table |
Right Column (Selected Drop Entry Editing)
Edits the drop entry currently selected in the center column.
| Element | Purpose |
|---|---|
| Type dropdown | Select Item or Attach |
| Item dropdown | Shown when Type = Item; selects the item to drop |
| Attach dropdown | Shown when Type = Attach; selects the attach to drop |
| Weight numeric input | Lottery weight (integer, 1 or greater) |
Full Property Reference
Center Column: Selected Table Editing
ID
| Item Name | Input Method | Meaning | Value |
|---|---|---|---|
| ID | Text input (read-only) | Table ID | _a-zA-Z0-9 only, required |
- Direct editing not allowed. Use the Change ID button in the left column to modify
Target
| Item Name | Input Method | Meaning | Value |
|---|---|---|---|
| Target | Dropdown | Distribution target of the lottery result (4 choices) | See below |
4 Target Choices:
| Choice | Meaning |
|---|---|
| Party | Added to the party-wide storage (shared inventory usable by anyone) |
| Surviving Members | Randomly selected from allies who survived the battle |
| All Members | Randomly selected from all allies, including incapacitated ones |
| Random Member | Randomly selected from any party member |
When to Use Each Target
- Party: General handling for consumable items (shared inventory usable by anyone)
- Surviving Members: Reward for characters who contributed to the battle (not given to fallen allies)
- All Members: Reward for everyone including the incapacitated (for major bonuses)
- Random Member: Rewards with random elements such as random equipment drops
Drop List
Displays all drop entries in the table.
Display format:
[item] IT_POTION Weight:20 (73.7%)
[item] IT_ANTIDOTE Weight:5 (18.5%)
[attach] WE_ICE_SWORD Weight:2 (7.4%)[item]/[attach]: Type prefix<ID>: ID of the item or attachWeight:<N>: Weight value set (integer)(XX.X%): Current lottery probability (auto-calculated as a ratio with other entries)
How Ratio Display Works
(XX.X%) is auto-calculated from the total weight of all entries in the current table. It updates in real time whenever entries are added, deleted, or their weights are changed.
Add / Remove Buttons
| Button | Behavior |
|---|---|
| Add | Add a new drop entry to the end of the list (initialized with default values) |
| Remove | Delete the drop entry currently selected in the list |
Right Column: Selected Drop Entry Editing
Edits the details of the entry currently selected in the center column's drop list.
Type
| Item Name | Input Method | Meaning | Value |
|---|---|---|---|
| Type | Dropdown | Type of thing to drop (2 choices) | Item / Attach |
2 Type Choices:
| Choice | Meaning |
|---|---|
| Item | Drops an item (consumable / skill / magic) |
| Attach | Drops an attach (equipment / passive) |
Behavior When Switching Type
Switching Type from Item → Attach or Attach → Item resets the item/attach selection. This is because items and attaches are defined in separate namespaces, and the reset prevents mistaken references via same-named keys.
Item / Attach
Only one is displayed depending on the Type selection.
| Item Name | Input Method | Meaning | Value |
|---|---|---|---|
| Item | Dropdown (when Type=Item) | ID of the item to drop | Key defined in the Item tab, blank allowed |
| Attach | Dropdown (when Type=Attach) | ID of the attach to drop | Key defined in the Attach tab, blank allowed |
Auto-refresh: Keys added, deleted, or renamed in the Item tab / Attach tab are automatically reflected whenever the dropdown is opened (no tab switch needed).
Weight
| Item Name | Input Method | Meaning | Value |
|---|---|---|---|
| Weight | Numeric input | Lottery weight | Integer 1-999999, default 1 |
- Integer 1 or greater: Values below 1 are automatically corrected to 1
- The larger the weight, the higher the lottery probability
- Displayed in real time as
(XX.X%)in the center column's drop list
Bottom Buttons
Save Button
Saves the edits to drop_table.json.
- Always fixed at the bottom so it is never lost even when scrolling
- Also saved simultaneously via "Save All" in the Home tab
Impact on Other Tabs / Runtime
Interaction with Other Tabs
| Linked To | Purpose |
|---|---|
| Enemy tab | Specifies the table ID defined in this tab via "Drop Table Lottery" |
| Item tab | Source for the "Type=Item" dropdown |
| Attach tab | Source for the "Type=Attach" dropdown |
How It Is Used In-Game
- When an enemy is defeated, the drop table specified in the Enemy tab is drawn
- Ratios are calculated from the total weight of all entries in the table, and one entry is randomly selected
- The item or attach is distributed to the target (party / surviving members, etc.) specified in the selected entry
Automatic Cross-Tab Reference Updates
Each dropdown (Item / Attach) in this tab is auto-refreshed to the latest state just before opening. Changes in other tabs are reflected immediately without a tab switch.
CRUD Details
Create New
- New button → ID input dialog appears
- 2 input patterns:
- Enter ID and OK: Creates with the entered ID (validation: only
_a-zA-Z0-9allowed, duplicates auto-avoided with_2) - OK with blank input: Auto-numbered as
DT_1,DT_2, ... (smallest unused number used)
- Enter ID and OK: Creates with the entered ID (validation: only
- New table is created with an empty drop list and Target = Party
Name Management
Drop tables have no name field and are identified only by ID. We recommend using descriptive IDs (e.g., DT_SLIME_LOOT, DT_RANK_1, DT_BOSS_FIRE).
Change ID
- Change ID button → Rename dialog appears with current ID as initial value
- Validation: Same as Create New
WARNING
After changing an ID, if the old ID is referenced in the Enemy tab or elsewhere, manual updating is required.
Copy
- Copy button fully duplicates the selected table (including Target + all drop entries)
- The new ID is auto-numbered like
_2
Delete
- Delete button → Confirmation dialog appears
- "Yes" executes the deletion
Unsaved Marker
If the tab title shows Drop Table(*), there are unsaved changes. The (*) disappears after pressing Save or "Save All" in the Home tab.
Example Usage
Typical Flow for Creating a New Drop Table
- New button → Enter ID (e.g.,
DT_SLIME_LOOT) → Create - Select Target (e.g.,
Surviving Members) - Add button → New entry is added
- In the right column:
- Type =
Item - Item =
IT_POTION - Weight = 70
- Type =
- Add button again → Second entry
- Type =
Item - Item =
IT_ANTIDOTE - Weight = 20
- Type =
- Add again → Third entry
- Type =
Attach - Attach =
WE_WOODEN_SWORD - Weight = 5
- Type =
- Ratios are displayed in the center column list:
- Potion 73.7%, Antidote 21.1%, Wooden Sword 5.3%
- Save to save
- In the Enemy tab, specify
DT_SLIME_LOOTfor the drop table lottery of the corresponding enemy
Creating Rank-Based Drop Tables
Example of creating generic drop tables and reusing them across multiple enemies:
- DT_RANK_1 (for weak enemies): Potion 100, Antidote 20, Wooden Sword 5
- DT_RANK_2 (for mid-game enemies): Hi-Potion 70, Elixir 20, Iron Sword 10
- DT_RANK_3 (for tough enemies): Elixir 50, Crystal 30, Mithril Sword 10
Simply specifying the appropriate rank table in each enemy's drop settings sets up rank-appropriate rewards.
Setting Low-Probability Rare Equipment
- Potion 100 (71.4%)
- Antidote 30 (21.4%)
- Rare Sword 10 (7.1%)
- Legendary Sword 1 (0.7%)
By making large differences in weight, rare equipment probability can be fine-tuned. An entry with weight 1 drops at approximately 0.7% probability.
Creating an Empty Lottery Slot (Drops Nothing)
Drop tables cannot have an explicit "drops nothing" entry, but the following alternatives work:
- Set the drop rate of "Drop Table Lottery" in the Enemy tab to less than 100% (e.g., 50%)
- At 50% probability, no table lottery is performed and nothing drops
Constraints and Edge Cases
ID Constraints
- Empty text auto-numbers (
DT_1,DT_2, ...) - When explicitly entered, only
_a-zA-Z0-9allowed - Duplicates auto-avoided with
_2,_3
Item and Attach Namespaces
- Items (
item.json) and attaches (attach.json) are separate namespaces, so same-named keys may exist - The item/attach selection is reset when switching Type to prevent mistaken references
Weight Lower Bound Correction
- Entering 0 or less for weight is automatically corrected to 1
- To create a "non-dropping entry", delete the entry itself, or adjust the drop rate of the table on the Enemy tab side
Empty Tables
- A table with 0 drop entries will drop nothing when drawn (does not cause an error)
- We recommend registering at least 1 entry per table
Ratio Display Calculation
- Ratios are calculated from the total weight of all entries in the current table
- Ratios update in real time when entries are added, deleted, or weights changed
- When total weight = 0 (before all entries have been corrected to minimum 1), no ratio is displayed
Impact of Deletion
- After deleting a table, if the Enemy tab references the deleted table ID, a red warning is shown on the Enemy tab
- Confirm reference status before deletion
Frequently Asked Questions (FAQ)
What does the weight mean?
Answer: Weight represents a relative probability. Each entry's weight / total weight of all entries = lottery probability.
Example: Entries with weights 20 / 10 / 10 give probabilities 50% / 25% / 25%.
No name field makes it hard to identify
Answer: We recommend using descriptive IDs (e.g., DT_SLIME_LOOT, DT_RANK_1). Since references from other tabs use IDs, names are unnecessary.
Pressing OK with blank input in the New dialog still creates a table
Answer: Blank input auto-numbers as DT_1, DT_2, ... This is handy for quickly creating new tables. If unintended, explicitly enter an ID.
Switching Type reset the item selection
Cause: Items and attaches are in separate namespaces, so the selection is reset on Type switch (to prevent mistaken references).
Answer: After switching, re-select the key appropriate to the new type.
I want to create a weight 0 entry
Cause: The lower bound of weight is 1 (0 or less is auto-corrected).
Answer: To represent "no drop", delete the relevant entry or adjust the Enemy tab's drop rate.
What's the difference between table Targets (Party / Surviving Members, etc.)?
Answer:
- Party: Shared inventory usable by anyone (general handling for consumable items)
- Surviving Members: Random 1 ally among those alive at the end of battle
- All Members: Random 1 ally among everyone including the incapacitated
- Random Member: Random 1 member from all members
Error on Enemy tab after deleting a table
Cause: The Enemy tab's drop table lottery references a deleted table ID.
Answer: Before deletion, confirm on the Enemy tab that the table ID is not in use.
Some ratios don't total 100%
Cause: Small errors may appear due to rounding of decimal fractions (e.g., 33.3% × 3 = 99.9%).
Answer: In-game lottery is computed precisely internally, so display errors can be safely ignored.
I want multiple items dropped in one battle
Answer: Either register the same drop table multiple times in the Enemy tab, or register multiple different drop tables (an Enemy tab-side feature).
Related References:
- Enemy tab — References this tab via drop table lottery
- Item tab — Source for the Type=Item dropdown
- Attach tab — Source for the Type=Attach dropdown
