diff options
author | Griffin Smith <root@gws.fyi> | 2020-05-16T22·57-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2020-05-16T22·57-0400 |
commit | 15b4f0e6a73987f9afbc46f46862b5120029e715 (patch) | |
tree | 780f05b979e2d01f473ea6a75cb7fc9242cc0b68 /src/Xanthous/messages.yaml | |
parent | 34cabba896507f2b6523d6aec344ec1c88e453be (diff) |
Stop auto-moving if there's an enemy nearby
If at any point during an auto-move there's an enemy in the character's line of sight, cancel the autocommand and send a message
Diffstat (limited to 'src/Xanthous/messages.yaml')
-rw-r--r-- | src/Xanthous/messages.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Xanthous/messages.yaml b/src/Xanthous/messages.yaml index 40426423783c..c1835ef2327b 100644 --- a/src/Xanthous/messages.yaml +++ b/src/Xanthous/messages.yaml @@ -111,7 +111,9 @@ drop: - You take the {{item.itemType.name}} out of your backpack and put it on the ground. - You take the {{item.itemType.name}} out of your backpack and drop it on the ground. - +autoMove: + enemyInSight: + - There's a {{firstEntity.creatureType.name}} nearby! ### tutorial: |