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

[ПЕРЕНОС] Добавлен страйкбольный лектер #350

Merged
merged 10 commits into from
Aug 27, 2024
3 changes: 3 additions & 0 deletions Resources/Locale/ru-RU/ADT/Objects/Weapons/Guns/rifles.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ent-ADTWeaponRifleLecterBibis = страйкбольный "Лектер"
.desc = Релика штурмовой винтовки "Лектер", сделанная для игры в страйкбол.
.suffix = { "Страйкбол" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ent-ADTCartridgeStrikeballBibis = страйкбольный шарик
.desc = Маленький пластиковый шарик, используемый для страйкбола.
.suffix = { "Страйкбол" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ent-ADTMagazineRifleBibis = магазин от страйкбольного автомата
.desc = Магазин для страйкбольного автомата, с двумя сотнями маленьких шариков.
.suffix = { "Страйкбол" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ent-ADTBulletBibis = страйкбольный шарик
.desc = Если ты увидел этот шарик в полете - ты пекуш бубиш шимбамбулеш. И выйди уже из матрицы.
.suffix = { "Страйкбол" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
- type: entity
id: ADTBaseCartridgeStrikeball
name: bibis
parent: BaseCartridge
abstract: true
components:
- type: Tag
tags:
- Cartridge
- ADTCartridgeBibis
- type: CartridgeAmmo
deleteOnSpawn: true
- type: Sprite
noRot: false
sprite: ADT/Objects/Weapons/Guns/Ammunition/Casings/airsoft_bibis.rsi
layers:
- state: base
map: ["enum.AmmoVisualLayers.Base"]
- type: Appearance
- type: SpentAmmoVisuals
- type: StaticPrice
price: 1

- type: entity
id: ADTCartridgeStrikeballBibis
name: bibis
parent: ADTBaseCartridgeStrikeball
components:
- type: CartridgeAmmo
proto: ADTBulletBibis

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Empty mags
- type: entity
id: ADTBaseMagazineBibis
name: "magazine bibis"
parent: BaseItem
abstract: true
components:
- type: Tag
tags:
- ADTMagazineRifleBibis
- type: Item
size: Small
- type: BallisticAmmoProvider
mayTransfer: true
whitelist:
tags:
- ADTCartridgeBibis
capacity: 200
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
- type: Sprite
sprite: Objects/Weapons/Guns/Ammunition/Magazine/Rifle/rifle_mag.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- type: MagazineVisuals
magState: mag
steps: 2
zeroVisible: false
- type: Appearance

# Magazines
- type: entity
id: ADTMagazineRifleBibis
name: "magazine bibis"
parent: ADTBaseMagazineBibis
components:
- type: BallisticAmmoProvider
proto: ADTCartridgeStrikeballBibis
- type: Sprite
layers:
- state: red
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- type: entity
id: ADTBulletBibis
name: bibis ball
parent: ADTBaseBulletRubber
noSpawn: true
components:
- type: Projectile
damage:
types:
Blunt: 0.1
- type: StaminaDamageOnCollide
damage: 5
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
layers:
- state: depleted-uranium

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

- type: entity
id: ADTProjectileIonRifle
parent: BulletDisabler
Expand Down Expand Up @@ -50,3 +49,22 @@
soundHit:
collection: WeakHit
forceSound: true

- type: entity
id: ADTBaseBulletRubber
name: base bullet rubber
parent: BaseBullet
noSpawn: true
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
layers:
- state: rubber
- type: Projectile
damage:
types:
Blunt: 3
soundHit:
path: /Audio/Weapons/Guns/Hits/snap.ogg
- type: StaminaDamageOnCollide
damage: 22 # 5 hits to stun sounds reasonable

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,50 @@
slots:
- Back
- suitStorage

- type: entity
name: Lecter Strikeball
parent: BaseWeaponRifle
id: ADTWeaponRifleLecterBibis
description: A high end military grade assault rifle. Uses .20 rifle ammo.
Darkiich marked this conversation as resolved.
Show resolved Hide resolved
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Rifles/lecter.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-0
map: ["enum.GunVisualLayers.Mag"]
- type: Clothing
sprite: Objects/Weapons/Guns/Rifles/lecter.rsi
- type: Gun
fireRate: 10
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/atreides.ogg
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: ADTMagazineRifleBibis
insertSound: /Audio/Weapons/Guns/MagIn/ltrifle_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/ltrifle_magout.ogg
priority: 2
whitelist:
tags:
- ADTMagazineRifleBibis
gun_chamber:
name: Chamber
startingItem: ADTCartridgeStrikeballBibis
priority: 1
whitelist:
tags:
- ADTCartridgeBibis
- type: ContainerContainer
containers:
gun_magazine: !type:ContainerSlot
gun_chamber: !type:ContainerSlot
- type: MagazineVisuals
magState: mag
steps: 1
zeroVisible: true
- type: Appearance
6 changes: 6 additions & 0 deletions Resources/Prototypes/ADT/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@

- type: Tag
id: ADTSteelSheet

- type: Tag
id: ADTCartridgeBibis

- type: Tag
id: ADTMagazineRifleBibis
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Belt/belts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@
- Sidearm
- MagazinePistol
- MagazineMagnum
- ADTMagazineRifleBibis # ADT Tweak
- CombatKnife
- Truncheon
- ADTLasgunRevolverCell #ADT Tweak
Expand All @@ -486,6 +487,7 @@
- Handcuff
- BallisticAmmoProvider
- CartridgeAmmo
- ADTCartridgeBibis # ADT Tweak
- DoorRemote
- Whistle
- HolosignProjector
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/vgstation-coders/vgstation13/blob/0b3ab17dbad632ddf738b63900ef8df1926bba47/icons/obj/ammo.dmi, modified by Topy",
"states": [
{
"name": "base"
},
{
"name": "base-spent"
}
]
}
Loading