diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-11-25T14·53-0500 |
---|---|---|
committer | grfn <grfn@gws.fyi> | 2021-11-25T17·31+0000 |
commit | a3d220b631d264f4950f17057e60d8908f0783a2 (patch) | |
tree | e67ff0194bea39b495b50c0b483349664fb9205f /users/grfn/xanthous/src/Xanthous/messages.yaml | |
parent | 4b11859d046b470a87d73edc8447ed73a3f7a6da (diff) |
feat(gs/xanthous): Creatures use their weapons to attack r/3098
If a creature has a weapon wielded, then they now use that weapon to attack the player *instead of* their natural attacks. This uses a new `creatureAttackMessage` field on the Item raw for the message to use. Change-Id: I73614f33dbf88dd4c68081f15710fa27b7b21ba2
Diffstat (limited to 'users/grfn/xanthous/src/Xanthous/messages.yaml')
-rw-r--r-- | users/grfn/xanthous/src/Xanthous/messages.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/users/grfn/xanthous/src/Xanthous/messages.yaml b/users/grfn/xanthous/src/Xanthous/messages.yaml index d207a73bf663..27ee841dd9db 100644 --- a/users/grfn/xanthous/src/Xanthous/messages.yaml +++ b/users/grfn/xanthous/src/Xanthous/messages.yaml @@ -80,7 +80,9 @@ combat: generic: - You hit the {{creature.creatureType.name}}. - You attack the {{creature.creatureType.name}}. - creatureAttack: The {{creature.creatureType.name}} {{attackDescription}} + creatureAttack: + natural: The {{creature.creatureType.name}} {{attackDescription}}. + genericWeapon: The {{creature.creatureType.name}} attacks you with its {{item.itemType.name}}. killed: - You kill the {{creature.creatureType.name}}! - You've killed the {{creature.creatureType.name}}! |