add throwing star (#18700)

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas
2023-08-13 16:18:48 +01:00
committed by GitHub
parent 47d1bd1371
commit 8b1af46a2b
7 changed files with 180 additions and 117 deletions

View File

@@ -19,3 +19,12 @@
copyright: "User Mystovski on freesound.org. Modified by LankLTE on github."
source: "https://freesound.org/people/Mystovski/sounds/201111/"
- files: ["genhit3.ogg"]
license: "CC-BY-SA-3.0"
copyright: "Taken from tgstation."
source: "https://github.com/tgstation/tgstation/blob/a7f525bce9a359ab5282fc754078cd4b5678a006/sound/weapons/genhit3.ogg"
- files: ["star_hit.ogg"]
license: "CC-BY-SA-3.0"
copyright: "Based on genhit3.ogg from tgstation, modified by deltanedas on github."
source: "https://github.com/deltanedas"

Binary file not shown.

View File

@@ -0,0 +1,26 @@
- type: entity
parent: BaseItem
id: ThrowingStar
name: throwing star
description: An ancient weapon still used to this day, due to its ease of lodging itself into its victim's body parts.
components:
- type: Sprite
sprite: Objects/Weapons/Throwable/throwing_star.rsi
state: icon
- type: Fixtures
fixtures:
fix1:
shape: !type:PhysShapeCircle
radius: 0.2
density: 5
mask:
- ItemMask
restitution: 0.3
friction: 0.2
- type: EmbeddableProjectile
sound: /Audio/Weapons/star_hit.ogg
- type: DamageOtherOnHit
damage:
types:
Slash: 8
Piercing: 10

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC0-1.0",
"copyright": "Created for SS14 by deltanedas (github)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
}
]
}