Telescopic shield (#20048)

* telescopic shield

* research

* removed the shield from the locker

* sound

* eh

* fix
This commit is contained in:
Nim
2023-09-14 04:03:12 +03:00
committed by GitHub
parent 7b27d71246
commit afd30c5c75
14 changed files with 116 additions and 1 deletions

View File

@@ -8,7 +8,6 @@
copyright: "User tosha73 on freesound.org" copyright: "User tosha73 on freesound.org"
source: "https://freesound.org/people/tosha73/sounds/509902/" source: "https://freesound.org/people/tosha73/sounds/509902/"
- files: ["chainsaw.ogg, chainsawidle.ogg, chainsawwield.ogg"] - files: ["chainsaw.ogg, chainsawidle.ogg, chainsawwield.ogg"]
license: "Custom" license: "Custom"
copyright: "https://www.soundjay.com/tos.html" copyright: "https://www.soundjay.com/tos.html"
@@ -28,3 +27,8 @@
license: "CC-BY-SA-3.0" license: "CC-BY-SA-3.0"
copyright: "Based on genhit3.ogg from tgstation, modified by deltanedas on github." copyright: "Based on genhit3.ogg from tgstation, modified by deltanedas on github."
source: "https://github.com/deltanedas" source: "https://github.com/deltanedas"
- files: ["telescopicon.ogg, telescopicoff.ogg"]
license: "CC-BY-SA-3.0"
copyright: "User Nimfar11 on GitHub."
source: "https://github.com/Nimfar11"

Binary file not shown.

Binary file not shown.

View File

@@ -400,3 +400,71 @@
sprite: Objects/Weapons/Melee/e_shield.rsi sprite: Objects/Weapons/Melee/e_shield.rsi
size: 5 size: 5
heldPrefix: eshield heldPrefix: eshield
- type: entity
name: telescopic shield
parent: BaseShield
id: TelescopicShield
description: An advanced riot shield made of lightweight materials that collapses for easy storage.
components:
- type: ItemToggle
activatedDisarmMalus: 0.6
activateSound:
path: /Audio/Weapons/telescopicon.ogg
params:
volume: -5
deActivateSound:
path: /Audio/Weapons/telescopicoff.ogg
params:
volume: -5
offSize: 10
- type: Sprite
sprite: Objects/Weapons/Melee/teleriot_shield.rsi
layers:
- state: teleriot-icon
- state: teleriot-on
visible: false
shader: unshaded
map: [ "shield" ]
- type: Item
size: 10
sprite: Objects/Weapons/Melee/teleriot_shield.rsi
heldPrefix: teleriot
- type: UseDelay
delay: 0.5
- type: ToggleableLightVisuals
spriteLayer: shield
inhandVisuals:
left:
- state: inhand-left-shield
shader: unshaded
right:
- state: inhand-right-shield
shader: unshaded
- type: Appearance
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 70
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound: /Audio/Effects/metalbreak.ogg
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel:
min: 1
max: 1
SheetGlass:
min: 2
max: 2
- type: StaticPrice
price: 250

View File

@@ -558,6 +558,7 @@
- VoiceTrigger - VoiceTrigger
- TimerTrigger - TimerTrigger
- Truncheon - Truncheon
- TelescopicShield
- FlashPayload - FlashPayload
- ExplosivePayload - ExplosivePayload
- WeaponLaserCarbine - WeaponLaserCarbine

View File

@@ -106,6 +106,14 @@
Steel: 400 Steel: 400
Glass: 400 Glass: 400
- type: latheRecipe
id: TelescopicShield
result: TelescopicShield
completetime: 4
materials:
Steel: 300
Glass: 800
- type: latheRecipe - type: latheRecipe
id: Flash id: Flash
result: Flash result: Flash

View File

@@ -121,6 +121,7 @@
cost: 8000 cost: 8000
recipeUnlocks: recipeUnlocks:
- Truncheon - Truncheon
- TelescopicShield
# Tier 3 # Tier 3

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 B

View File

@@ -0,0 +1,33 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/Citadel-Station-13/Citadel-Station-13/commit/84223c65f5caf667a84f3c0f49bc2a41cdc6c4e3",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "teleriot-icon"
},
{
"name": "teleriot-inhand-right",
"directions": 4
},
{
"name": "teleriot-inhand-left",
"directions": 4
},
{
"name": "teleriot-on"
},
{
"name": "inhand-right-shield",
"directions": 4
},
{
"name": "inhand-left-shield",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B