Added disabler SMG! (#23051)

* Added disabler SMG!

* Changed a few errors

* errors.. again

* Update battery_guns.yml

* Update security.yml

* Update lathe.yml

* Update security.yml
This commit is contained in:
Stanislav4ix
2023-12-28 04:08:30 +01:00
committed by GitHub
parent 62a6a03cd1
commit 28b825d898
24 changed files with 164 additions and 0 deletions

View File

@@ -377,6 +377,42 @@
guides:
- Security
- type: entity
name: disabler SMG
parent: BaseWeaponBattery
id: WeaponDisablerSMG
description: Advanced weapon that exhausts organic targets, weakening them until they collapse.
components:
- type: Item
size: Large
- type: Tag
tags:
- Taser
- Sidearm
- type: Sprite
sprite: Objects/Weapons/Guns/Battery/disabler_smg.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-unshaded-0
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Gun
selectedMode: FullAuto
fireRate: 4
availableModes:
- SemiAuto
- FullAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/taser2.ogg
- type: ProjectileBatteryAmmoProvider
proto: BulletDisablerSmg
fireCost: 33
- type: MagazineVisuals
magState: mag
steps: 5
zeroVisible: true
- type: entity
name: practice disabler
parent: WeaponDisabler

View File

@@ -796,3 +796,46 @@
- Impassable
- HighImpassable
- type: GrapplingProjectile
- type: entity
name : disabler bolt smg
id: BulletDisablerSmg
parent: BaseBullet
noSpawn: true
components:
- type: Reflective
reflective:
- Energy
- type: FlyBySound
sound:
collection: EnergyMiss
params:
volume: 5
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles_tg.rsi
layers:
- state: omnilaser
shader: unshaded
- type: Physics
- type: Fixtures
fixtures:
projectile:
shape:
!type:PhysShapeAabb
bounds: "-0.15,-0.3,0.15,0.3"
hard: false
mask:
- Impassable
- BulletImpassable
fly-by: *flybyfixture
- type: Ammo
- type: StaminaDamageOnCollide
damage: 15
- type: Projectile
impactEffect: BulletImpactEffectDisabler
damage:
types:
Heat: 2
soundHit:
path: "/Audio/Weapons/tap.ogg"
soundForce: true

View File

@@ -611,7 +611,9 @@
- TimerTrigger
- Truncheon
- VoiceTrigger
- WeaponDisablerPractice
- WeaponAdvancedLaser
- WeaponDisablerSMG
- WeaponLaserCannon
- WeaponLaserCarbine
- WeaponXrayCannon

View File

@@ -535,3 +535,12 @@
materials:
Plastic: 950
Uranium: 95
- type: latheRecipe
id: WeaponDisablerSMG
result: WeaponDisablerSMG
completetime: 6
materials:
Steel: 1000
Glass: 500
Plastic: 500

View File

@@ -147,6 +147,7 @@
- Truncheon
- TelescopicShield
- HoloprojectorSecurity
- WeaponDisablerSMG
# Tier 3

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 845 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 846 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 846 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 872 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

View File

@@ -0,0 +1,73 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/blob/26818af618762ff52319b3417be8cdc1279e99b7/icons/obj/weapons/guns/energy.dmi",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
},
{
"name": "mag-unshaded-4"
},
{
"name": "mag-unshaded-3"
},
{
"name": "mag-unshaded-2"
},
{
"name": "mag-unshaded-1"
},
{
"name": "mag-unshaded-0",
"delays": [
[
0.4,
0.4
]
]
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-left-0"
},
{
"name": "inhand-left-1"
},
{
"name": "inhand-left-2"
},
{
"name": "inhand-left-3"
},
{
"name": "inhand-left-4"
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "inhand-right-0"
},
{
"name": "inhand-right-1"
},
{
"name": "inhand-right-2"
},
{
"name": "inhand-right-3"
},
{
"name": "inhand-right-4"
}
]
}