]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
add glaive to salv weapons (#22514)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Fri, 15 Dec 2023 01:34:36 +0000 (01:34 +0000)
committerGitHub <noreply@github.com>
Fri, 15 Dec 2023 01:34:36 +0000 (20:34 -0500)
* refactor ops

* add recipe

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Resources/Prototypes/Entities/Objects/Weapons/Melee/mining.yml
Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Resources/Prototypes/Recipes/Lathes/devices.yml
Resources/Prototypes/Research/arsenal.yml

index 17e52846041ebf711fd851d2dc1763ed3421781a..731c1911ddaa9f3a5af4e7ff98464c8771560658 100644 (file)
@@ -1,8 +1,8 @@
 - type: entity
-  name: crusher
+  abstract: true
   parent: BaseItem
   id: BaseWeaponCrusher # Crusher? But I...
-  abstract: true
+  name: crusher
   description: An early design of the proto-kinetic accelerator.
   components:
   - type: Sharp
@@ -13,7 +13,6 @@
     radius: 4
 
 - type: entity
-  name: crusher
   parent: BaseWeaponCrusher
   id: WeaponCrusher
   components:
@@ -65,9 +64,9 @@
   - type: Prying
 
 - type: entity
-  name: crusher dagger
   parent: BaseWeaponCrusher
   id: WeaponCrusherDagger
+  name: crusher dagger
   description: A scaled down version of a proto-kinetic crusher, usually used in a last ditch scenario.
   components:
   - type: Sprite
     damage:
       types:
         Slash: 6.5
-  - type: Item
-    size: Small
   - type: Tag
     tags:
     - Knife
 
 # Like a crusher... but better
 - type: entity
-  name: crusher glaive
   parent: WeaponCrusher
   id: WeaponCrusherGlaive
+  name: crusher glaive
   description: An early design of the proto-kinetic accelerator, in glaive form.
   components:
-  - type: Tag
-    tags:
-      - Pickaxe
-  - type: UseDelayOnShoot
+  - type: Sprite
+    sprite: Objects/Weapons/Melee/crusher_glaive.rsi
   - type: UseDelay
     delay: 1.9
-  - type: Gun
-    fireRate: 1
-  - type: RechargeBasicEntityAmmo
-    rechargeCooldown: 0.5
   - type: LeechOnMarker
     leech:
       groups:
         Brute: -15
-  - type: Sprite
-    sprite: Objects/Weapons/Melee/crusher_glaive.rsi
   - type: MeleeWeapon
-    wideAnimationRotation: -135
     attackRate: 1.25
-  - type: Item
-    size: Ginormous
+  - type: Tag
+    tags:
+      - Pickaxe
index 730ecdf72d0e7fe73616c61bda0d7779a1ce4ed5..535564496dab7f90caa91580531ba12e7717f7c2 100644 (file)
       - SyringeBluespace
       - WeaponCrusher
       - WeaponCrusherDagger
+      - WeaponCrusherGlaive
       - WeaponForceGun
       - WeaponProtoKineticAccelerator
       - WeaponTetherGun
index 01178b386c39faabf38a61594f5fcef811982bd1..344f2c38d9cdec8b7a8f546548f268078b72595a 100644 (file)
     Glass: 250
     Plastic: 50
 
+- type: latheRecipe
+  id: WeaponCrusherGlaive
+  result: WeaponCrusherGlaive
+  completetime: 5
+  materials:
+    Steel: 1500
+    Glass: 250
+    Silver: 250
+
 - type: latheRecipe
   id: WeaponForceGun
   result: WeaponForceGun
index bf8d67bc306c11ba79a85a44de384394ec355c43..0ff93e3a5526f4ec1a4f625e7a24efbafb22136c 100644 (file)
@@ -14,6 +14,8 @@
   # These are roundstart but not replenishable for salvage
   - WeaponCrusher
   - WeaponCrusherDagger
+  # This is not roundstart since its a direct upgrade
+  - WeaponCrusherGlaive
 
 - type: technology
   id: DraconicMunitions