From f6813e39c7125ff7b402ef341d07835383bfea73 Mon Sep 17 00:00:00 2001 From: SpaceRox1244 <138547931+SpaceRox1244@users.noreply.github.com> Date: Thu, 28 Nov 2024 08:09:47 -0500 Subject: [PATCH] Makes knives fly straight when thrown (#33615) Gives knives a thrown angle --- .../Prototypes/Entities/Objects/Weapons/Melee/knife.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Melee/knife.yml b/Resources/Prototypes/Entities/Objects/Weapons/Melee/knife.yml index 42a78ef077e043..6f0d4ebfd97877 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Melee/knife.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Melee/knife.yml @@ -96,6 +96,7 @@ Slash: 12 - type: EmbeddableProjectile sound: /Audio/Weapons/star_hit.ogg + offset: -0.15,0.0 - type: LandAtCursor - type: DamageOtherOnHit damage: @@ -108,6 +109,8 @@ sprite: Objects/Weapons/Melee/combat_knife.rsi - type: DisarmMalus malus: 0.225 + - type: ThrowingAngle + angle: 225 - type: entity name: survival knife @@ -286,6 +289,7 @@ Slash: 5 - type: EmbeddableProjectile sound: /Audio/Weapons/star_hit.ogg + offset: -0.15,0.0 - type: LandAtCursor - type: DamageOtherOnHit ignoreResistances: true @@ -295,3 +299,5 @@ Piercing: 15 - type: Item sprite: Objects/Weapons/Melee/throwing_knife.rsi + - type: ThrowingAngle + angle: 225