Syndicate Sniper bundle change and rework of the anti-material ammo box (#18414)

This commit is contained in:
Jackal298
2023-07-29 09:09:33 +03:00
committed by GitHub
parent 9ff7fc14d5
commit 3ee808fcbe
8 changed files with 54 additions and 13 deletions

View File

@@ -589,7 +589,7 @@
icon: { sprite: /Textures/Objects/Weapons/Guns/Snipers/heavy_sniper.rsi, state: base }
productEntity: BriefcaseSyndieSniperBundleFilled
cost:
Telecrystal: 6
Telecrystal: 12
categories:
- UplinkBundles

View File

@@ -1,25 +1,60 @@
- type: entity
abstract: true
parent: BaseItem
id: MagazineBoxAntiMateriel
id: BaseMagazineBoxAntiMateriel
name: ammunition box (.60 anti-materiel)
components:
- type: BallisticAmmoProvider
mayTransfer: true
capacity: 30
whitelist:
tags:
- CartridgeAntiMateriel
proto: CartridgeAntiMateriel
capacity: 10
- type: Item
size: 5
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
- type: Sprite
sprite: Objects/Weapons/Guns/Ammunition/Boxes/anti_materiel.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
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
ents: []
# Boxes
- type: entity
parent: BaseMagazineBoxAntiMateriel
id: MagazineBoxAntiMaterielBig
name: ammunition box (.60 anti-materiel)
components:
- type: BallisticAmmoProvider
capacity: 30
proto: CartridgeAntiMateriel
- type: Sprite
layers:
- state: base-b
map: ["enum.GunVisualLayers.Base"]
- state: magb-1
map: ["enum.GunVisualLayers.Mag"]
- type: MagazineVisuals
magState: magb
steps: 2
zeroVisible: false
- type: Appearance
- type: entity
parent: BaseMagazineBoxAntiMateriel
id: MagazineBoxAntiMateriel
name: ammunition box (.60 anti-materiel)
components:
- type: BallisticAmmoProvider
proto: CartridgeAntiMateriel
- type: Sprite
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]