]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
More pirate weapon content(two new cannon ammo types, a musket and flintlock resprite...
authorBoaz1111 <149967078+Boaz1111@users.noreply.github.com>
Tue, 9 Jan 2024 12:23:11 +0000 (13:23 +0100)
committerGitHub <noreply@github.com>
Tue, 9 Jan 2024 12:23:11 +0000 (15:23 +0300)
* tally ho

* yarg

* forgot some shit

* Update projectiles.yml

* fucl

* glass ball

* Update snipers.yml

---------

Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
25 files changed:
Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Projectiles/shotgun.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/explosives.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Snipers/snipers.yml
Resources/Prototypes/Reagents/pyrotechnic.yml
Resources/Prototypes/Recipes/Reactions/pyrotechnic.yml
Resources/Textures/Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi/glassshot.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi/grapeshot.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi/meta.json
Resources/Textures/Objects/Weapons/Guns/Projectiles/projectiles2.rsi/grapeshot.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Guns/Projectiles/projectiles2.rsi/meta.json
Resources/Textures/Objects/Weapons/Guns/Projectiles/projectiles2.rsi/shard.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/base.png
Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/bolt-closed.png [deleted file]
Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/bolt-open.png [deleted file]
Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/icon.png [deleted file]
Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/inhand-left.png
Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/inhand-right.png
Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/meta.json
Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/base.png
Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/bolt-closed.png [deleted file]
Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/bolt-open.png [deleted file]
Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/icon.png [deleted file]
Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/inhand-left.png
Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/inhand-right.png
Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/meta.json

index 300935d9013182135f5f1b21ca2d8baa26556d75..312dfa35f3d6956095dd316cea51c2f0a7459fee 100644 (file)
       types:
         Radiation: 5
         Piercing: 5
+
+- type: entity
+  id: PelletGrapeshot #tally fucking ho
+  name: grapeshot pellet
+  noSpawn: true
+  parent: BaseBullet
+  components:
+  - type: Sprite
+    noRot: false
+    sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
+    layers:
+    - state: grapeshot
+      shader: unshaded
+  - type: Projectile
+    damage:
+      types:
+        Piercing: 15 
+        Structural: 5 
+
+- type: entity
+  id: PelletGlass
+  name: glass shard
+  parent: BaseBullet
+  noSpawn: true
+  components:
+  - type: Sprite
+    noRot: false
+    sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
+    layers:
+    - state: shard
+      shader: unshaded
+  - type: EmbeddableProjectile
+    deleteOnRemove: true
+  - type: Projectile
+    deleteOnCollide: false
+    damage:
+      types:
+        Slash: 25
index 86da8e6662ca90905dc1a1329445d3aad52c64ab..d3d35f71808eaeeb4c1999e975e641be797005ec 100644 (file)
   - type: Sprite
     sprite: Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi
     state: ball
+
+- type: entity
+  id: Grapeshot
+  name: grapeshot
+  suffix: Pirate
+  parent: BaseGrenade
+  components:
+  - type: CartridgeAmmo
+    proto: PelletGrapeshot
+    count: 15
+    spread: 40
+    deleteOnSpawn: true
+  - type: Sprite
+    sprite: Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi
+    state: grapeshot
+
+- type: entity
+  id: Glassshot
+  name: glassshot
+  suffix: Pirate
+  parent: BaseGrenade
+  components:
+  - type: CartridgeAmmo
+    proto: PelletGlass
+    count: 5
+    spread: 10
+    deleteOnSpawn: true
+  - type: Sprite
+    sprite: Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi
+    state: glassshot
index be1ca7b2728e58ffca329194f14f12a1fb3c3272..6b7b02e70fefb7e9cb31c23fa377d953124b5783 100644 (file)
   id: Musket
   description: This should've been in a museum long before you were born. Uses .60 anti-materiel ammo.
   components:
+  - type: Sharp
   - type: Item
     size: Large
   - type: Sprite
     sprite: Objects/Weapons/Guns/Snipers/musket.rsi
+    state: base
   - type: Clothing
     sprite: Objects/Weapons/Guns/Snipers/musket.rsi
   - type: Gun
+    useKey: false
     selectedMode: SemiAuto
     availableModes:
     - SemiAuto
+  - type: UseDelayOnShoot
+  - type: UseDelay
+    delay: 8 #it's a musket
   - type: BallisticAmmoProvider
     whitelist:
       tags:
       - CartridgeAntiMateriel
     capacity: 1
     proto: CartridgeAntiMateriel
-
+  - type: MeleeWeapon
+    wideAnimationRotation: -135
+    damage:
+      types:
+        Piercing: 15 #you fucking stab em
+        Bloodloss: 2 #no way to apply bleed, triangular bayonet wounds are hard to fix(source:that one copypasta)
+    angle: 0
+    animation: WeaponArcThrust
+    soundHit:
+      path: /Audio/Weapons/bladeslice.ogg
+    
 - type: entity
   name: flintlock pistol
   parent: BaseWeaponSniper
   id: WeaponPistolFlintlock
   description: A pirate's companion. Yarrr! Uses .60 anti-materiel ammo.
   components:
+  - type: Gun
+    minAngle: 0
+    maxAngle: 30 #miss him entirely because the barrel is smoothbore
   - type: Item
     size: Small
     storedRotation: 90
     sprite: Objects/Weapons/Guns/Snipers/flintlock.rsi
   - type: Clothing
     sprite: Objects/Weapons/Guns/Snipers/flintlock.rsi
+  - type: UseDelayOnShoot
+  - type: UseDelay
+    delay: 8 #it's a flintlock
   - type: BallisticAmmoProvider
     whitelist:
       tags:
     proto: CartridgeAntiMateriel
   - type: StaticPrice
     price: 0
+
index e74ccb5fef7154b699edeb352cf9aee1771d8ef5..39aea03cac430d4831d2c3a2b6e37c293ade77a4 100644 (file)
   flavor: bitter
   color: "#9e6b38"
   boilingPoint: 190.0 # Perfluorooctanoic Acid.
-  meltingPoint: 45.0
+  meltingPoint: 45.0
\ No newline at end of file
index 6b1aff4be6789eb68dfc853a0984683f987d2f45..318490931f8bea2f7ad53fd7e8e5089b292e951a 100644 (file)
@@ -72,4 +72,4 @@
   products:
     Ethanol: 5
     Hydrogen: 3
-    Sulfur: 2
+    Sulfur: 2
\ No newline at end of file
diff --git a/Resources/Textures/Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi/glassshot.png b/Resources/Textures/Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi/glassshot.png
new file mode 100644 (file)
index 0000000..33bfe24
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi/glassshot.png differ
diff --git a/Resources/Textures/Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi/grapeshot.png b/Resources/Textures/Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi/grapeshot.png
new file mode 100644 (file)
index 0000000..c67ba45
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi/grapeshot.png differ
index bfdf73fe57ff68a440612d5f913cc394eda45f89..3faf26ebe573256ff1011ac0460d2ff48cff170b 100644 (file)
@@ -5,7 +5,7 @@
         "y": 32
     },
     "license": "CC-BY-SA-3.0",
-    "copyright": "https://github.com/discordia-space/CEV-Eris/raw/e1d495c3faf4642b6ec1c4be8acc7cd5bc51d785/icons/obj/ammo.dmi, ball Made by Alekshhh (Github) for ss14",
+    "copyright": "https://github.com/discordia-space/CEV-Eris/raw/e1d495c3faf4642b6ec1c4be8acc7cd5bc51d785/icons/obj/ammo.dmi, ball, glassshot and grapeshot Made by Alekshhh (Github) for ss14",
     "states": [
         {
             "name": "baton"
         {
             "name": "ball"
         },
+        {
+            "name": "grapeshot"
+        },
+        {
+            "name": "glassshot"
+        },
         {
             "name": "spent"
         }
diff --git a/Resources/Textures/Objects/Weapons/Guns/Projectiles/projectiles2.rsi/grapeshot.png b/Resources/Textures/Objects/Weapons/Guns/Projectiles/projectiles2.rsi/grapeshot.png
new file mode 100644 (file)
index 0000000..1104d5e
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Guns/Projectiles/projectiles2.rsi/grapeshot.png differ
index f2543b0b6b9029834f6650043146d910aa1af6f6..505d97a075629a9d80d2c9d4b940e8e166c88bcf 100644 (file)
           0.05
         ]
       ]
+    },
+    { 
+      "name": "grapeshot"
+    },
+    { 
+      "name": "shard"
     }
   ]
 }
diff --git a/Resources/Textures/Objects/Weapons/Guns/Projectiles/projectiles2.rsi/shard.png b/Resources/Textures/Objects/Weapons/Guns/Projectiles/projectiles2.rsi/shard.png
new file mode 100644 (file)
index 0000000..badb333
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Guns/Projectiles/projectiles2.rsi/shard.png differ
index 39ce4fe713a4ea25829e684c5588e2908f743624..77b10f839dff3785056cb922f4e207586f4bc52a 100644 (file)
Binary files a/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/base.png and b/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/base.png differ
diff --git a/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/bolt-closed.png b/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/bolt-closed.png
deleted file mode 100644 (file)
index d2b5dfe..0000000
Binary files a/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/bolt-closed.png and /dev/null differ
diff --git a/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/bolt-open.png b/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/bolt-open.png
deleted file mode 100644 (file)
index 46f122e..0000000
Binary files a/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/bolt-open.png and /dev/null differ
diff --git a/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/icon.png b/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/icon.png
deleted file mode 100644 (file)
index 0ea1fe4..0000000
Binary files a/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/icon.png and /dev/null differ
index d78916e60e6b35d55b1887c7b8f3a9ac428b3aca..b14ce478fbd0a04b35a1d8fc0b9a54ac1fa8f2e3 100644 (file)
Binary files a/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/inhand-left.png and b/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/inhand-left.png differ
index c81fea48099b1f161cf5242353a9b57da87572ce..44ab7375248f41b0fd2e664b2411bcbf8d24d80d 100644 (file)
Binary files a/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/inhand-right.png and b/Resources/Textures/Objects/Weapons/Guns/Snipers/flintlock.rsi/inhand-right.png differ
index 494e6cc88ac062ef273edfbc983423efc2c4e7d3..43f600b58072e59999b4f8d217e2c681ded8627b 100644 (file)
@@ -1,24 +1,15 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from cev-eris at https://github.com/discordia-space/CEV-Eris/raw/d1a574ded496e5ebb5373a8221c2c563820fc137/icons/obj/guns/projectile/obrez_bolt.dmi",
+  "copyright": "Made by Pato Grone for ss14",
   "size": {
     "x": 32,
     "y": 32
   },
   "states": [
-    {
-      "name": "icon"
-    },
     {
       "name": "base"
     },
-    {
-      "name": "bolt-open"
-    },
-    {
-      "name": "bolt-closed"
-    },
     {
       "name": "inhand-left",
       "directions": 4
index bf84659ce61335733e55951528a86afafc9666fd..94d8949dc77bc9d2c65df2d76e6ff5e0c5083847 100644 (file)
Binary files a/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/base.png and b/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/base.png differ
diff --git a/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/bolt-closed.png b/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/bolt-closed.png
deleted file mode 100644 (file)
index ab9c5cd..0000000
Binary files a/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/bolt-closed.png and /dev/null differ
diff --git a/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/bolt-open.png b/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/bolt-open.png
deleted file mode 100644 (file)
index bcdc368..0000000
Binary files a/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/bolt-open.png and /dev/null differ
diff --git a/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/icon.png b/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/icon.png
deleted file mode 100644 (file)
index 3b7198a..0000000
Binary files a/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/icon.png and /dev/null differ
index 6c784dde9cd854861f926369280d249ff87c8ed4..1353d23daa35913ee21d70fd259947a450d71df9 100644 (file)
Binary files a/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/inhand-left.png and b/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/inhand-left.png differ
index 5a52cdc0101c5149419a8f0ebbe65a4411713a9f..144d789dd32814d7d96293312c5eb68a5a259ca7 100644 (file)
Binary files a/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/inhand-right.png and b/Resources/Textures/Objects/Weapons/Guns/Snipers/musket.rsi/inhand-right.png differ
index 608323e460cc141e3eaafcab60aadcb1f2322049..7609e516b3a90cf50e42a114520b16d0fc4d434a 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from cev-eris at https://github.com/discordia-space/CEV-Eris/raw/56cbafd6ad8c013ccd5472d6c4a0db790f7f872a/icons/obj/guns/projectile/boltgun.dmi",
+  "copyright": "Made by Pato Grone for SS14",
   "size": {
     "x": 32,
     "y": 32
     },
     {
       "name": "base"
-    },
-    {
-      "name": "bolt-closed"
-    },
-    {
-      "name": "bolt-open"
-    },
-    {
-      "name": "icon"
     }
   ]
 }
\ No newline at end of file