blob: 94aead76ababb33fb61c4b285440a86f6199342e (
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
|
## Objects
Object defined — links to a behavior:
```yaml
id: copper_rock
name: copper rock
behavior: mine_copper
```
Tree object:
```yaml
id: oak_tree
name: oak tree
behavior: chop_oak
```
Hidden object — doesn't appear in room's object list, only discoverable via description or experimentation:
```yaml
id: iron_gate
name: iron gate
behavior: iron_gate_toggle
hidden: true
props:
description: "A heavy iron gate set into the north wall."
```
Decorative object (no behavior):
```yaml
id: lumby_fountain
name: town fountain
behavior: ""
props:
description: "Clear water sparkles in the sunlight."
```
---
|