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

@@ -141,7 +141,7 @@ uplink-ammo-bundle-name = Ammo Bundle
uplink-ammo-bundle-desc = Reloading! Contains 4 magazines for the C-20r, 4 drums for the Bulldog, and 2 ammo boxes for the L6 SAW.
uplink-sniper-bundle-name = Sniper Bundle
uplink-sniper-bundle-desc = An inconspicuous briefcase that contains a hristov, 30 spare bullets and a convenient disguise
uplink-sniper-bundle-desc = An inconspicuous briefcase that contains a hristov, 10 spare bullets and a convenient disguise
uplink-c20r-bundle-name = C-20r Bundle
uplink-c20r-bundle-desc = Old faithful: The classic C-20r Submachine Gun, bundled with three magazines.

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"]

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 B

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 499 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -10,8 +10,14 @@
{
"name": "base"
},
{
"name": "base-b"
},
{
"name": "mag-1"
},
{
"name": "magb-1"
}
]
}