From de334904b4e60e1e339faf2d5ada5183e0a6520a Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Fri, 2 Aug 2019 22:44:43 +0200 Subject: [PATCH] Spears get inhands. --- .../Entities/items/weapons/spear.yml | 10 +++- .../Objects/items/spear.rsi/inhand-left.png | Bin 0 -> 242 bytes .../Objects/items/spear.rsi/inhand-right.png | Bin 0 -> 243 bytes .../Objects/items/spear.rsi/meta.json | 49 ++++++++++++++++++ .../Objects/{ => items/spear.rsi}/spear.png | Bin 5 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 Resources/Textures/Objects/items/spear.rsi/inhand-left.png create mode 100644 Resources/Textures/Objects/items/spear.rsi/inhand-right.png create mode 100644 Resources/Textures/Objects/items/spear.rsi/meta.json rename Resources/Textures/Objects/{ => items/spear.rsi}/spear.png (100%) diff --git a/Resources/Prototypes/Entities/items/weapons/spear.yml b/Resources/Prototypes/Entities/items/weapons/spear.yml index 9c3caf8aea..ac57358c87 100644 --- a/Resources/Prototypes/Entities/items/weapons/spear.yml +++ b/Resources/Prototypes/Entities/items/weapons/spear.yml @@ -4,9 +4,15 @@ id: Spear components: - type: Sprite - texture: Objects/spear.png + sprite: Objects/items/spear.rsi + state: spear + - type: Icon - texture: Objects/spear.png + sprite: Objects/items/spear.rsi + state: spear + - type: MeleeWeapon - type: Item Size: 24 + sprite: Objects/items/spear.rsi + prefix: inhand diff --git a/Resources/Textures/Objects/items/spear.rsi/inhand-left.png b/Resources/Textures/Objects/items/spear.rsi/inhand-left.png new file mode 100644 index 0000000000000000000000000000000000000000..5a2b620b11eeac3701f0fd50fb46d2afaad931ab GIT binary patch literal 242 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o7G?$ph6wkZw+svn5&=FTt_%ze+S=MK&d!mM zkqK4pQ^rv!u={2Qwnn6m}tD$^Jh4rVk&H!98$Ii`7Dg<+Y5Xn|%x%O$2AA{+v; zF+MFK56W11I0Q`&HB8`oc(KHq>jkqA$5eSnmMM~mT