diff options
Diffstat (limited to 'building_guide/mobs.md')
| -rw-r--r-- | building_guide/mobs.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/building_guide/mobs.md b/building_guide/mobs.md index 470a00e..e7790c0 100644 --- a/building_guide/mobs.md +++ b/building_guide/mobs.md @@ -208,6 +208,13 @@ shop: Note: `wander_rooms` and `wander_interval` are NOT set on the mob definition. Wander config is per-instance in the room YAML (see Rooms > Mobs section above). +### On Kill Interactions + +Mobs can define `on_kill` — fires when the mob is defeated. Standard loot `drops` hit the +ground first, then the first matching interaction fires. An entry with `item_id` only fires +if the player is wielding that weapon. See the [On Kill section of +behaviors](behaviors.md#on-kill--mob-interactions) for full examples. + ### Stealable Mobs Stealable mobs have a root-level `steal:` block. On failed steal, the mob turns hostile and attacks. |
