* Shinano

* A < a
This commit is contained in:
Spatison
2024-07-25 16:33:11 +03:00
committed by GitHub
parent f9224ea2f5
commit cf4530e3a6
10 changed files with 73 additions and 11 deletions

View File

@@ -4,5 +4,5 @@
public sealed partial class TriggerOnLandComponent : Component
{
[DataField]
public float Delay = 0.3f;
public float Delay = 1f;
}

View File

@@ -6,5 +6,5 @@ namespace Content.Shared._White.BuffedFlashGrenade;
public sealed partial class FlashSoundSuppressionComponent : Component
{
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float MaxRange = 3f;
public float MaxRange = 2f;
}

View File

@@ -1,8 +1,10 @@
ent-BaseShinanoGrenadeAmmoProvider = { ent-BaseAmmoProvider }
.desc = { ent-BaseAmmoProvider.desc }
ent-BoxShinanoGrenadeFlash = коробка гранат (светошумовые)
ent-BoxShinanoGrenadeFlash = коробка светошумовых гранат (40мм)
.desc = Заставь их плакать.
ent-BoxShinanoGrenadeSmoke = коробка гранат (слезоточивые)
ent-BoxShinanoGrenadeSmoke = коробка слезоточивых гранат (40мм)
.desc = Заставь их плакать.
ent-BoxShinanoGrenadeBeanbag = коробка гранат (травматические)
ent-BoxShinanoGrenadeStinger = коробка травматических гранат (40мм)
.desc = Это точно никого не убьет?
ent-BoxShinanoGrenadeBeanbag = коробка травматических пуль (40мм)
.desc = Это точно никого не убьет?

View File

@@ -1,8 +1,10 @@
ent-BaseShinanoGrenade = Граната
ent-BaseShinanoGrenade = граната (40мм)
.desc = { ent-BaseCartridge.desc }
ent-ShinanoGrenadeFlash = Светошумовая граната
ent-ShinanoGrenadeFlash = светошумовая граната (40мм)
.desc = { ent-BaseShinanoGrenade.desc }
ent-ShinanoGrenadeSmoke = Слезоточивая граната
ent-ShinanoGrenadeSmoke = слезоточивая граната (40мм)
.desc = { ent-BaseShinanoGrenade.desc }
ent-ShinanoGrenadeBeanbag = Травматическая граната
ent-ShinanoGrenadeStinger = травматическая граната (40мм)
.desc = { ent-BaseShinanoGrenade.desc }
ent-ShinanoGrenadeBeanbag = травматическая пуля (40мм)
.desc = { ent-BaseShinanoGrenade.desc }

View File

@@ -22,6 +22,7 @@
- id: WeaponLauncherShinano
- id: BoxShinanoGrenadeFlash
- id: BoxShinanoGrenadeSmoke
- id: BoxShinanoGrenadeStinger
- id: BoxShinanoGrenadeBeanbag
- type: entity
@@ -46,6 +47,7 @@
- id: WeaponLauncherShinano
- id: BoxShinanoGrenadeFlash
- id: BoxShinanoGrenadeSmoke
- id: BoxShinanoGrenadeStinger
- id: BoxShinanoGrenadeBeanbag
- type: entity

View File

@@ -36,6 +36,19 @@
- state: boxwide
- state: shellflare
- type: entity
name: shinano grenade stinger dispenser
parent: BaseShinanoGrenadeAmmoProvider
id: BoxShinanoGrenadeStinger
description: A dispenser box full of stinger grenade, designed for Shinano.
components:
- type: BallisticAmmoProvider
proto: ShinanoGrenadeStinger
- type: Sprite
layers:
- state: boxwide
- state: shellflare
- type: entity
name: shinano grenade beanbag dispenser
parent: BaseShinanoGrenadeAmmoProvider

View File

@@ -45,6 +45,23 @@
state: smoke
suffix: false
- type: entity
id: ShinanoGrenadeStinger
name: shinano stinger grenade
parent: BaseShinanoGrenade
components:
- type: CartridgeAmmo
proto: ShinanoBulletGrenadeStinger
- type: Sprite
sprite: Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi
layers:
- state: blast
map: ["enum.AmmoVisualLayers.Base"]
- type: Appearance
- type: SpentAmmoVisuals
state: stinger
suffix: false
- type: entity
id: ShinanoGrenadeBeanbag
name: beanbag shinano grenade

View File

@@ -22,7 +22,6 @@
- ItemMask
restitution: 0.3 # fite me
friction: 0.2
- type: DeleteOnTrigger
- type: Physics
bodyType: Dynamic
- type: TimedDespawn
@@ -40,9 +39,11 @@
layers:
- state: grenade
- type: FlashOnTrigger
range: 3
range: 5
forceStun: true
- type: SpawnOnTrigger
proto: GrenadeFlashEffect
- type: DeleteOnTrigger
- type: entity
parent: BaseBulletShinanoGranade
@@ -64,6 +65,25 @@
Quantity: 50
- type: SoundOnTrigger
sound: /Audio/Items/smoke_grenade_smoke.ogg
- type: DeleteOnTrigger
- type: entity
id: ShinanoBulletGrenadeStinger
name: stinger shinano grenade
parent: BaseBulletShinanoGranade
noSpawn: true
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
layers:
- state: grenade
- type: ClusterGrenade
fillPrototype: PelletClusterRubber
maxGrenadesCount: 30
grenadeType: enum.GrenadeType.Shoot
- type: ContainerContainer
containers:
cluster-payload: !type:Container
- type: entity
parent: [BaseBullet, BaseBulletTrail]

View File

@@ -11,6 +11,9 @@
map: ["enum.GunVisualLayers.Base"]
- type: Item
sprite: White/Objects/Weapons/Guns/Launchers/shinano-inhands.rsi
size: Large
shape:
- 0,0,2,1
- type: Clothing
sprite: White/Objects/Weapons/Guns/Launchers/shinano-inhands.rsi
slots:

View File

@@ -82,6 +82,9 @@
- type: Tag
id: DoorjackUsable
- type: Tag
id: ShinanoGrenade
- type: Tag
id: Card