blob: a1812186cd9f60f420217b1257e55a1a694450b8 (
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
|
## Wandering Objects
Fishing spots that move between rooms (**the filename is the ID** — `fishing_spot.yaml` → `fishing_spot`, no `id:` field):
```yaml
# data/objects/fishing_spot.yaml
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.
---
|