diff options
author | Griffin Smith <root@gws.fyi> | 2019-12-23T03·46-0500 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-12-23T03·46-0500 |
commit | 5b1c7799a76480335f838356ad78bed50715d4c0 (patch) | |
tree | 65c9e863e31da7400bba1c11770d06ed69e9b2b3 /src/Xanthous/Entities/Raws/stick.yaml | |
parent | 0f754eb2a07062e8490ae3af04e7c7ff4d94cc55 (diff) |
Add wielded, wieldable items
Split the character's inventory up into wielded items (in one or both hands) and the backpack, and display wielded items when drawing the inventory panel. Currently there's no way to actually *wield* items though, so this is all unused/untested. Also, add the ability for items to be "wieldable", which gives specific descriptions for when attacking with them and also modified damage.
Diffstat (limited to 'src/Xanthous/Entities/Raws/stick.yaml')
-rw-r--r-- | src/Xanthous/Entities/Raws/stick.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Xanthous/Entities/Raws/stick.yaml b/src/Xanthous/Entities/Raws/stick.yaml new file mode 100644 index 000000000000..bc7fde4d8b02 --- /dev/null +++ b/src/Xanthous/Entities/Raws/stick.yaml @@ -0,0 +1,14 @@ +Item: + name: stick + description: a wooden stick + longDescription: A sturdy branch broken off from some sort of tree + char: + char: ∤ + style: + foreground: yellow + wieldable: + damage: 2 + attackMessage: + - 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. |