This commit is contained in:
metalgearsloth
2022-06-04 16:52:39 +10:00
committed by GitHub
parent c11903be44
commit 654355bddb
4 changed files with 18 additions and 12 deletions

View File

@@ -75,7 +75,7 @@
- type: StorageFill
contents:
- id: WeaponLightMachineGunL6
- id: MagazineBoxLightRifle
- id: MagazineLightRifleBox
- type: entity
parent: ClothingBackpackDuffelSyndicateAmmo

View File

@@ -34,16 +34,18 @@
# Magazines
- type: entity
id: MagazineBoxLightRifle
id: MagazineLightRifleBox
name: "L6 SAW magazine box (.30 rifle)"
parent: BaseMagazineLightRifle
components:
- type: Tag
tags:
- MagazineBoxLightRifle
- MagazineLightRifleBox
- type: BallisticAmmoProvider
proto: CartridgeLightRifle
capacity: 50
capacity: 100
- type: Item
size: 10
- type: Sprite
sprite: Objects/Weapons/Guns/Ammunition/Magazine/LightRifle/light_rifle_box.rsi
- type: Appearance
@@ -144,7 +146,7 @@
components:
- type: Tag
tags:
- MagazineBoxLightRifle
- MagazineLightRifleBox
- type: BallisticAmmoProvider
proto: CartridgeLightRifle
capacity: 80

View File

@@ -8,8 +8,12 @@
- type: Sprite
netsync: false
- type: Item
size: 24
size: 60
- type: Gun
minAngle: 4
maxAngle: 16
angleIncrease: 0.5
angleDecay: 12
fireRate: 8
selectedMode: FullAuto
availableModes:
@@ -19,16 +23,17 @@
soundEmpty:
path: /Audio/Weapons/Guns/Empty/lmg_empty.ogg
- type: ChamberMagazineAmmoProvider
- type: AmmoCounter
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazineBoxLightRifle
startingItem: MagazineLightRifleBox
insertSound: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/batrifle_magout.ogg
whitelist:
tags:
- MagazineBoxLightRifle
- MagazineLightRifleBox
gun_chamber:
name: Chamber
startingItem: CartridgeLightRifle
@@ -54,7 +59,6 @@
- state: mag-3
map: ["enum.GunVisualLayers.Mag"]
- type: Item
size: 24
sprite: Objects/Weapons/Guns/LMGs/l6.rsi
- type: Appearance
visuals:

View File

@@ -239,9 +239,6 @@
# Magazines ordered by slot then caliber
- type: Tag
id: MagazineBoxLightRifle
- type: Tag
id: MagazineCalico
@@ -257,6 +254,9 @@
- type: Tag
id: MagazineLightRifle
- type: Tag
id: MagazineLightRifleBox
- type: Tag
id: MagazineLightRiflePan