aboutsummaryrefslogtreecommitdiff
path: root/worldbuilding_guide/wandering_objects.md
blob: f1f91c50dc6954c5e3f6761bc11fe7b362277907 (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
## Wandering Objects

Fishing spots that move between rooms:
```yaml
# data/objects/fishing_spot.yaml
id: fishing_spot
name: fishing spot
gather:
    skill: fishing
    level: 1
    xp: 10
    base_wait: 4
    tools:
        - fishing_rod
    bait: fishing_bait
    success:
        base: 0.30
        per_level: 0.01
        cap: 0.90
    gather_message: "You cast your line into the water..."
    drops:
        - item_id: raw_trout
          weight: 100
          message: "You catch a raw trout!"
```

```yaml
# In a room:
objects:
  - id: fishing_spot
    wander_rooms: [7, 8, 9]
    wander_interval: 12
```

Objects teleport between rooms in their `wander_rooms` list. Players gathering from a
wandering object are silently interrupted when it moves.

---