about summary refs log tree commit diff
path: root/users/grfn/xanthous/src/Xanthous/Entities/Raws/stick.yaml
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-11-25T14·53-0500
committergrfn <grfn@gws.fyi>2021-11-25T17·31+0000
commita3d220b631d264f4950f17057e60d8908f0783a2 (patch)
treee67ff0194bea39b495b50c0b483349664fb9205f /users/grfn/xanthous/src/Xanthous/Entities/Raws/stick.yaml
parent4b11859d046b470a87d73edc8447ed73a3f7a6da (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 '')
-rw-r--r--users/grfn/xanthous/src/Xanthous/Entities/Raws/stick.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/grfn/xanthous/src/Xanthous/Entities/Raws/stick.yaml b/users/grfn/xanthous/src/Xanthous/Entities/Raws/stick.yaml
index 4100808ca071..a7eae9c36666 100644
--- a/users/grfn/xanthous/src/Xanthous/Entities/Raws/stick.yaml
+++ b/users/grfn/xanthous/src/Xanthous/Entities/Raws/stick.yaml
@@ -12,6 +12,10 @@ Item:
       - You bonk the {{creature.creatureType.name}} over the head with your stick.
       - You bash the {{creature.creatureType.name}} on the noggin with your stick.
       - You whack the {{creature.creatureType.name}} with your stick.
+    creatureAttackMessage:
+      - The {{creature.creatureType.name}} bonks you over the head with its stick.
+      - The {{creature.creatureType.name}} bashes you on the noggin with its stick.
+      - The {{creature.creatureType.name}} whacks you with its stick.
   # https://www.sciencedirect.com/topics/agricultural-and-biological-sciences/wood-density
   # it's a hard stick. so it's dense wood.
   density: 890000 # g/m³