diff options
Diffstat (limited to 'worldbuilding_guide/mobs.md')
| -rw-r--r-- | worldbuilding_guide/mobs.md | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/worldbuilding_guide/mobs.md b/worldbuilding_guide/mobs.md index 3826dda..70afa6a 100644 --- a/worldbuilding_guide/mobs.md +++ b/worldbuilding_guide/mobs.md @@ -74,13 +74,19 @@ ranged_defense: 3 ### Protected/Unique Mobs -Mob with a behavior — can be talked to, toggled, etc: +Mob with talk behavior — can be talked to via `talk:` inline config: ```yaml id: "guard" name: "Guard" -behavior: guard_talk # links to data/behaviors/guard_talk.yaml -unique: true # displays as "Guard" not "a guard" -protected: true # cannot be attacked +talk: # inline talk config (no separate behavior file) + nodes: + start: + message: "\"Halt! Who goes there?\"" + options: + - text: "\"Just passing through.\"" + end: true +unique: true # displays as "Guard" not "a guard" +protected: true # cannot be attacked attack: 5 strength: 5 defense: 5 |
