]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Added Cutting Slicing and Executing options to the cane blade (#40311)
authorHi-Im-Shot <163430241+Hi-Im-Shot@users.noreply.github.com>
Thu, 18 Sep 2025 19:37:04 +0000 (23:37 +0400)
committerGitHub <noreply@github.com>
Thu, 18 Sep 2025 19:37:04 +0000 (21:37 +0200)
* Added Cutting Slicing and Executing options to the cane blade

* swaped from BaseItem to BaseSword for cleaner code

* fixed a double gap in code

Resources/Prototypes/Entities/Objects/Weapons/Melee/cane.yml

index fcf0b91f8ec20faf34a2031dbe7611002f06f0b5..18f6f8fc2d3c31c1c17b53db5d63c99f36f7b890 100644 (file)
 
 - type: entity
   name: cane blade
-  parent: [BaseItem, BaseSyndicateContraband]
+  parent: [BaseSword, BaseSyndicateContraband]
   id: CaneBlade
   description: A sharp blade with a cane shaped hilt.
   components:
-  - type: Sharp
   - type: Sprite
     sprite: Objects/Weapons/Melee/cane_blade.rsi
-    state: icon
   - type: MeleeWeapon
     wideAnimationRotation: 65
     attackRate: 1.5
@@ -46,7 +44,6 @@
     soundHit:
         path: /Audio/Weapons/bladeslice.ogg
   - type: Item
-    size: Normal
     sprite: Objects/Weapons/Melee/cane_blade.rsi
   - type: Tag
     tags: