aboutsummaryrefslogtreecommitdiff
path: root/building_guide/drops.md
diff options
context:
space:
mode:
Diffstat (limited to 'building_guide/drops.md')
-rw-r--r--building_guide/drops.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/building_guide/drops.md b/building_guide/drops.md
index e5a17ff..f71f712 100644
--- a/building_guide/drops.md
+++ b/building_guide/drops.md
@@ -1,9 +1,12 @@
## Drop Tables
+**The filename is the ID.** A drop table is looked up by its filename stem
+(`gem_table.yaml` → `gem_table`); reference it from behaviors/mobs by that name. Do not put
+an `id:` field in the file — it is ignored.
+
Shared drop tables can be referenced by multiple behaviors:
```yaml
# data/drops/gem_table.yaml
-id: gem_table
drops:
- item_id: uncut_sapphire
weight: 47
@@ -18,7 +21,6 @@ drops:
Bird's nest drop table:
```yaml
# data/drops/birds_nest_drop.yaml
-id: birds_nest_drop
drops:
- item_id: credits
weight: 50