Cap gun uses proper revolver behavior, and starts with ammo (#12063)

This commit is contained in:
Mervill 2022-10-22 15:47:20 -07:00 committed by GitHub
parent f323fb7644
commit 4e8a4156ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -562,18 +562,19 @@
- SemiAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/revolver.ogg
- type: BallisticAmmoProvider
- type: RevolverAmmoProvider
whitelist:
tags:
- CartridgeCap
proto: CartridgeCap
capacity: 6
autoCycle: true
chambers: [ True, True, True, True, True, True ]
ammoSlots: [ null, null, null, null, null, null ]
soundInsert:
path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
ents: []
revolver-ammo: !type:Container
- type: entity
parent: BaseItem