Merge pull request #181 from frosty-dev/FunnyGunNumeroUno

Оно пришло из космоса
This commit is contained in:
BIGZi0348
2024-11-22 00:09:01 +03:00
committed by GitHub
30 changed files with 236 additions and 0 deletions

View File

@@ -99,3 +99,9 @@
type: Tweak
id: 15
time: '2024-11-20T18:00:13.0000000+00:00'
- author: BIG_Zi_348
changes:
- message: "Добавлен Ручной Пулемёт Калашникова. Доступен для покупки в карго."
type: Add
id: 16
time: '2024-11-21T18:00:13.0000000+00:00'

View File

@@ -0,0 +1,5 @@
ent-WeaponKalashnikovLightMachineGun = РПК
.desc = Ручной Пулемёт Калашникова на столько же надёжен как и автомат. Использует патроны калибра .30 винтовочный.
ent-MagazineKalashLightRifleBox = короб патронов РПК (.30 винтовочные)
ent-CrateArmoryKLMG = ящик с РПК
.desc = Содержит комплект из одного РПК и двух коробов с патронами к нему. Чтобы открыть необходим уровень доступа Оружейная.

View File

@@ -64,6 +64,7 @@
CrateArmoryLaser: 1.0
CrateArmoryShotgun: 1.0
CrateArmoryPistols: 1.0
CrateArmoryKLMG: 1.0 # HONK EDIT
# rare armor
ClothingOuterArmorRiot: 1.0
# rare chemicals

View File

@@ -0,0 +1,9 @@
- type: cargoProduct
id: ArmoryKLMG
icon:
sprite: _Honk/Objects/Weapons/Guns/LMGs/klmg-icons.rsi
state: icon
product: CrateArmoryKLMG
cost: 10000
category: cargoproduct-category-name-armory
group: market

View File

@@ -0,0 +1,12 @@
- type: entity
id: CrateArmoryKLMG
parent: CrateWeaponSecure
name: KLMG crate
description: Contains a set of one KLMG and two boxes of ammo for it. Requires Armory access to open.
components:
- type: StorageFill
contents:
- id: WeaponKalashnikovLightMachineGun
amount: 1
- id: MagazineKalashLightRifleBox
amount: 2

View File

@@ -0,0 +1,110 @@
- type: entity
name: Kalashnikov LMG
id: WeaponKalashnikovLightMachineGun
parent: BaseWeaponLightMachineGun
description: Kalashnikov Light Machine Gun is as reliable as the assault rifle. Uses .30 rifle ammo.
components:
- type: Sprite
sprite: _Honk/Objects/Weapons/Guns/LMGs/klmg-icons.rsi
layers:
- state: base
map: [ "enum.GunVisualLayers.Base" ]
- state: mag-4
map: [ "enum.GunVisualLayers.Mag" ]
- state: barrel_module
visible: false
map: [ "enum.ModuleVisualState.BarrelModule" ]
- state: handguard_module
visible: false
map: [ "enum.ModuleVisualState.HandGuardModule" ]
- state: aim_module
visible: false
sprite: White/Objects/Weapons/modulesOnWeapon.rsi
map: [ "enum.ModuleVisualState.AimModule" ]
- type: Item
sprite: _Honk/Objects/Weapons/Guns/LMGs/klmg-inhands.rsi
size: Huge
- type: Clothing
sprite: _Honk/Objects/Weapons/Guns/LMGs/klmg-inhands.rsi
- type: MagazineVisuals
magState: mag
steps: 5
zeroVisible: true
- type: Appearance
- type: WeaponModules
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazineKalashLightRifleBox
insertSound: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/batrifle_magout.ogg
priority: 2
whitelist:
tags:
- MagazineKalashLightRifleBox
gun_chamber:
name: Chamber
startingItem: CartridgeLightRifle
priority: 1
whitelist:
tags:
- CartridgeLightRifle
handguard_module:
name: Handguard Module
insertSound: /Audio/White/Gun/Modules/insertmodule.ogg
ejectSound: /Audio/White/Gun/Modules/ejectmodule.ogg
priority: 2
whitelist:
tags:
- BaseHandGuardModule
barrel_module:
name: Barrel Module
insertSound: /Audio/White/Gun/Modules/insertmodule.ogg
ejectSound: /Audio/White/Gun/Modules/ejectmodule.ogg
priority: 3
whitelist:
tags:
- BaseBarrelModule
aim_module:
name: Aim Module
insertSound: /Audio/White/Gun/Modules/insertmodule.ogg
ejectSound: /Audio/White/Gun/Modules/ejectmodule.ogg
priority: 3
whitelist:
tags:
- BaseAimModule
- type: ContainerContainer
containers:
gun_magazine: !type:ContainerSlot
gun_chamber: !type:ContainerSlot
handguard_module: !type:ContainerSlot
barrel_module: !type:ContainerSlot
aim_module: !type:ContainerSlot
- type: PointLight
enabled: false
autoRot: true
- type: Gun
fireRate: 5
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/ak.ogg
- type: entity
id: MagazineKalashLightRifleBox
name: "Kalashnikov LMG magazine box (.30 rifle)"
parent: BaseMagazineLightRifle
components:
- type: Tag
tags:
- MagazineKalashLightRifleBox
- type: BallisticAmmoProvider
proto: CartridgeLightRifle
capacity: 70
- type: Item
- type: Sprite
sprite: White/Objects/Weapons/Ammunition/Magazine/LightRifle/light_rifle_box.rsi
- type: MagazineVisuals
magState: mag
steps: 6
zeroVisible: false
- type: Appearance

View File

@@ -16,3 +16,5 @@
- type: Tag
id: EnergyCellMakeshift
- type: Tag
id: MagazineKalashLightRifleBox

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 644 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

View File

@@ -0,0 +1,56 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from cev-eris at https://github.com/discordia-space/CEV-Eris/raw/237d8f7894617007d75c71d5d9feb4354c78debd/icons/obj/guns/lmg.dmi, edited by rikkatakanashi_tweworld",
"size": {
"x": 48,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "bolt-open"
},
{
"name": "mag-0"
},
{
"name": "mag-1"
},
{
"name": "mag-2"
},
{
"name": "mag-3"
},
{
"name": "mag-4"
},
{
"name": "silencer"
},
{
"name": "light"
},
{
"name": "laser"
},
{
"name": "flamehider"
},
{
"name": "accelerator"
},
{
"name": "barrel_module"
},
{
"name": "handguard_module"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,35 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from cev-eris at https://github.com/discordia-space/CEV-Eris/raw/237d8f7894617007d75c71d5d9feb4354c78debd/icons/obj/guns/lmg.dmi, edited by rikkatakanashi_tweworld",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "wielded-inhand-left",
"directions": 4
},
{
"name": "wielded-inhand-right",
"directions": 4
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB