Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Обновление кс23 #53

Merged
merged 8 commits into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ent-ShellKS23Flashbang = ружейный патрон (.90 светошумовой)
ent-ShellKS23Smoke = ружейный патрон (.90 газовый)
ent-ShellKS23Beanbag = ружейный патрон (.90 травматический)
ent-ShellKS23Base = ружейный патрон (.90 картечь)
ent-ShellKS23Base = ружейный патрон (.90 летальный)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ent-PelletKS23Flashbang = светошумовой (.90)
ent-PelletKS23Smoke = газовый (.90)
ent-PelletKS23Base = картечь (.90)
ent-PelletKS23Base = летальный (.90)
ent-PelletKS23Beanbag = травматический (.90)
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ ent-BoxShotgunPractice = раздатчик ружейных патронов (
.desc = Полная коробка учебных ружейных патронов.
ent-BoxShellTranquilizer = раздатчик ружейных патронов (транквилизаторы)
.desc = Полная коробка ружейных патронов-транквилизаторов.
ent-BoxLethalshotKS23 = раздатчик патронов для KS23 (летальные)
.desc = Полная коробка летальных патронов для дробовика KS23.
ent-BoxFlashbangKS23 = раздатчик патронов для KS23 (светошумовые)
.desc = Полная коробка светошумовых патронов для дробовика KS23.
ent-BoxSmokeKS23 = раздатчик патронов для KS23 (газовые)
.desc = Полная коробка газовых патронов для дробовика KS23.
ent-BoxBeanbagKS23 = раздатчик патронов для KS23 (травматические)
.desc = Полная коробка травматических патронов для дробовика KS23.
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
- type: entity
parent: BaseAmmoProvider
id: AmmoProviderKS23Shell
abstract: true
components:
- type: BallisticAmmoProvider
mayTransfer: true
whitelist:
tags:
- ShellKS23
capacity: 6
- type: Item
size: Normal
shape:
- 0,0,1,0

- type: entity
name: KS23 lethal cartridges dispenser
parent: AmmoProviderKS23Shell
id: BoxLethalshotKS23
description: A dispenser box full of lethal pellet shots.
components:
- type: BallisticAmmoProvider
proto: ShellKS23Base
- type: Icon
sprite: Corvax/Objects/Storage/boxes.rsi
state: KS23BaseDispenser
- type: Sprite
sprite: Corvax/Objects/Storage/boxes.rsi
state: KS23BaseDispenser

- type: entity
name: KS23 flashbang cartridges dispenser
parent: AmmoProviderKS23Shell
id: BoxFlashbangKS23
description: A dispenser box full of flashbang pellet shots.
components:
- type: BallisticAmmoProvider
proto: ShellKS23Flashbang
- type: Icon
sprite: Corvax/Objects/Storage/boxes.rsi
state: KS23FlashbangDispenser
- type: Sprite
sprite: Corvax/Objects/Storage/boxes.rsi
state: KS23FlashbangDispenser

- type: entity
name: KS23 smoke cartridges dispenser
parent: AmmoProviderKS23Shell
id: BoxSmokeKS23
description: A dispenser box full of smoke pellet shots.
components:
- type: BallisticAmmoProvider
proto: ShellKS23Smoke
- type: Icon
sprite: Corvax/Objects/Storage/boxes.rsi
state: KS23SmokeDispenser
- type: Sprite
sprite: Corvax/Objects/Storage/boxes.rsi
state: KS23SmokeDispenser

- type: entity
name: KS23 beanbag cartridges dispenser
parent: AmmoProviderKS23Shell
id: BoxBeanbagKS23
description: A dispenser box full of beanbag pellet shots.
components:
- type: BallisticAmmoProvider
proto: ShellKS23Beanbag
- type: Icon
sprite: Corvax/Objects/Storage/boxes.rsi
state: KS23BeanbagDispenser
- type: Sprite
sprite: Corvax/Objects/Storage/boxes.rsi
state: KS23BeanbagDispenser
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
reagents:
- ReagentId: TearGas
Quantity: 50
- ReagentId: Ipecac
FireFoxPhoenix marked this conversation as resolved.
Show resolved Hide resolved
Quantity: 10
spreadAmount: 1
- type: ActiveTimerTrigger
timeRemaining: 1
Expand All @@ -53,7 +55,7 @@
- type: Projectile
damage:
types:
Piercing: 10
Piercing: 15

- type: entity
id: PelletKS23BaseSpread
Expand All @@ -62,7 +64,7 @@
- type: ProjectileSpread
proto: PelletKS23Base
count: 6
spread: 15
spread: 5

- type: entity
id: PelletKS23Beanbag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
whitelist:
tags:
- ShellKS23
capacity: 3
capacity: 4
proto: ShellKS23Base
43 changes: 21 additions & 22 deletions Resources/Prototypes/Corvax/Recipes/Lathes/security.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,36 @@
- type: latheRecipe
id: ShellKS23Flashbang
result: ShellKS23Flashbang
id: BoxFlashbangKS23
result: BoxFlashbangKS23
category: Ammo
completetime: 1
completetime: 3
materials:
Steel: 40
Plastic: 40
Glass: 20
Steel: 320
Plastic: 320
Glass: 160

- type: latheRecipe
id: ShellKS23Smoke
result: ShellKS23Smoke
id: BoxSmokeKS23
result: BoxSmokeKS23
category: Ammo
completetime: 1
completetime: 3
materials:
Steel: 20
Plastic: 30
Glass: 20
Steel: 160
Plastic: 240
Glass: 160

- type: latheRecipe
id: ShellKS23Beanbag
result: ShellKS23Beanbag
id: BoxBeanbagKS23
result: BoxBeanbagKS23
category: Ammo
completetime: 1
completetime: 3
materials:
Steel: 30
Plastic: 20
Steel: 240
Plastic: 160

- type: latheRecipe
id: ShellKS23Base
result: ShellKS23Base
id: BoxLethalshotKS23
result: BoxLethalshotKS23
category: Ammo
completetime: 1
completetime: 3
materials:
Steel: 20
Plastic: 10
Steel: 160
20 changes: 10 additions & 10 deletions Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,10 @@
- WeaponXrayCannon # Frontier
- SpeedLoaderRifleHeavyIncendiary # Frontier
- SpeedLoaderRifleHeavyUranium # Frontier
- ShellKS23Smoke # Corvax-Frontier
- ShellKS23Flashbang # Corvax-Frontier
- ShellKS23Beanbag # Corvax-Frontier
- ShellKS23Base # Corvax-Frontier
- BoxSmokeKS23 # Corvax-Frontier
- BoxFlashbangKS23 # Corvax-Frontier
- BoxBeanbagKS23 # Corvax-Frontier
- BoxLethalshotKS23 # Corvax-Frontier
- MagazineBoxVector22Incendiary #Corvax-Frontier
- MagazineBoxVector22Uranium #Corvax-Frontier
- MagazineVector22Incendiary #Corvax-Frontier
Expand Down Expand Up @@ -873,8 +873,8 @@
- MagazineVector45Empty
- MagazineVector22
- MagazineVector22Empty
- ShellKS23Beanbag # Corvax-Frontier
- ShellKS23Base # Corvax-Frontier
- BoxBeanbagKS23 # Corvax-Frontier
- BoxLethalshotKS23 # Corvax-Frontier
- ClothingOuterHardsuitSecurity
- ClothingOuterHardsuitWarden
- ClothingOuterHardsuitBrigmedic
Expand Down Expand Up @@ -964,8 +964,8 @@
- ShuttleSmgRifleAmmoBox
- ShuttleRifleAmmoBox
- ShuttleMagnumRifleAmmoBox
- ShellKS23Smoke # Corvax-Frontier
- ShellKS23Flashbang # Corvax-Frontier
- BoxSmokeKS23 # Corvax-Frontier
- BoxFlashbangKS23 # Corvax-Frontier
#Corvax-Frontier End
- type: MaterialStorage
whitelist:
Expand Down Expand Up @@ -1020,8 +1020,8 @@
- SpeedLoaderMagnumEmpty
- SpeedLoaderRifleHeavy # Frontier
- SpeedLoaderRifleHeavyEmpty # Frontier
- ShellKS23Beanbag # Corvax-Frontier
- ShellKS23Base # Corvax-Frontier
- BoxBeanbagKS23 # Corvax-Frontier
- BoxLethalshotKS23 # Corvax-Frontier
- 10roundmagazine #frontier by VividPups
- 10roundmagazineempty #frontier by VividPups
- MagazineBoxVector45 #CorvaxFrontier
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Research/arsenal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
- MagazineBoxMagnumRubber # Frontier
- MagazineBoxPistolRubber # Frontier
- MagazineBoxRifleRubber # Frontier
- ShellKS23Smoke # Corvax-Frontier
- ShellKS23Flashbang # Corvax-Frontier
- BoxSmokeKS23 # Corvax-Frontier
- BoxFlashbangKS23 # Corvax-Frontier
- MagazineBoxVector22Practice #CorvaxFrontier
- MagazineVector22Practice #CorvaxFrontier
- MagazineBoxVector45Practice #CorvaxFrontier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,8 @@
- MagazineBoxLightRifle
- MagazineBoxPistol
- MagazineBoxRifle
- ShellKS23Beanbag # Corvax-Frontier
- ShellKS23Base # Corvax-Frontier
- BoxBeanbagKS23 # Corvax-Frontier
- BoxLethalshotKS23 # Corvax-Frontier
- CrossbowBolt
- CrossbowBoltBroadhead
## Mags / Speedloaders / Clips
Expand Down Expand Up @@ -508,8 +508,8 @@
- MagazineBoxPistolRubber
- MagazineBoxRifleRubber
- MagazineShotgunBeanbag
- ShellKS23Smoke # Corvax-Frontier
- ShellKS23Flashbang # Corvax-Frontier
- BoxSmokeKS23 # Corvax-Frontier
- BoxFlashbangKS23 # Corvax-Frontier

- type: entity
id: MercenaryTechFabHacked
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Resources/Textures/Corvax/Objects/Storage/boxes.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Created by Terka120",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "KS23BaseDispenser"
},
{
"name": "KS23BeanbagDispenser"
},
{
"name": "KS23FlashbangDispenser"
},
{
"name": "KS23SmokeDispenser"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Created by FireFoxPhoenix",
"copyright": "Created by Terka120",
"size": {
"x": 32,
"y": 32
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading