aboutsummaryrefslogtreecommitdiff
path: root/worldbuilding_guide/wandering_objects.md
blob: 9a47ed2280dc478253bccbea08b4b95a0edeb9fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Wandering Objects

Fishing spots that move between rooms:
```yaml
# data/objects/fishing_spot.yaml
id: fishing_spot
name: fishing spot
behavior: fish_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.

---