blob: e5a17ffe502361e26d501ecfa3d1a0631f6fa34e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
## Drop Tables
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
- item_id: uncut_emerald
weight: 16
- item_id: uncut_ruby
weight: 4
- item_id: uncut_diamond
weight: 1
```
Bird's nest drop table:
```yaml
# data/drops/birds_nest_drop.yaml
id: birds_nest_drop
drops:
- item_id: credits
weight: 50
quantity: 200
- item_id: credits
weight: 30
quantity: 500
- item_id: credits
weight: 15
quantity: 1000
- item_id: credits
weight: 4
quantity: 3000
- item_id: credits
weight: 1
quantity: 10000
```
Referenced from a gather behavior:
```yaml
drops:
- item_id: copper_ore
weight: 90
depletes: true
- table: gem_table # pulls from data/drops/gem_table.yaml
weight: 10
depletes: false
```
---
|