Gun whitelist fixies (#8587)

This commit is contained in:
metalgearsloth
2022-06-02 16:42:54 +10:00
committed by GitHub
parent e5d1f097d2
commit 5ed2c27658
5 changed files with 55 additions and 35 deletions

View File

@@ -512,6 +512,9 @@
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/revolver.ogg
- type: BallisticAmmoProvider
whitelist:
tags:
- CartridgeCap
capacity: 6
autoCycle: true
soundInsert:

View File

@@ -101,7 +101,7 @@
components:
- type: Tag
tags:
- MagazinePistolTopMounted
- MagazinePistolSubMachineGunTopMounted
- type: BallisticAmmoProvider
proto: CartridgePistol
whitelist:

View File

@@ -1,33 +1,34 @@
#- type: entity
# id: CapAmmoBase
# name: "cap gun loader"
# parent: BaseItem
# abstract: true
# components:
# - type: SpeedLoader
# caliber: Cap
# capacity: 6
# - type: Sprite
# netsync: false
# layers:
# - state: base
# map: ["enum.GunVisualLayers.Base"]
# - state: mag-6
# map: ["enum.GunVisualLayers.Mag"]
# - type: Appearance
# visuals:
# - type: MagVisualizer
# magState: mag
# steps: 7
# zeroVisible: false
#
#- type: entity
# id: CapLoader
# name: "cap gun loader"
# parent: CapAmmoBase
# components:
# - type: SpeedLoader
# proto: CartridgeCap
# - type: Sprite
# sprite: Objects/Fun/caps.rsi
#
- type: entity
id: BaseSpeedLoaderCap
name: "cap gun loader"
parent: BaseItem
abstract: true
components:
- type: BallisticAmmoProvider
whitelist:
tags:
- CartridgeCap
capacity: 6
- type: Sprite
netsync: false
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-6
map: ["enum.GunVisualLayers.Mag"]
- type: Appearance
visuals:
- type: MagVisualizer
magState: mag
steps: 7
zeroVisible: false
- type: entity
id: SpeedLoaderCap
name: "cap gun loader"
parent: BaseSpeedLoaderCap
components:
- type: BallisticAmmoProvider
proto: CartridgeCap
- type: Sprite
sprite: Objects/Fun/caps.rsi

View File

@@ -166,6 +166,22 @@
selectedMode: FullAuto
availableModes:
- FullAuto
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazinePistolSubMachineGunTopMounted
insertSound: /Audio/Weapons/Guns/MagIn/smg_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/smg_magout.ogg
whitelist:
tags:
- MagazinePistolSubMachineGunTopMounted
gun_chamber:
name: Chamber
startingItem: CartridgePistol
whitelist:
tags:
- CartridgePistol
- type: Appearance
visuals:
- type: MagVisualizer